Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 601 for validate0 (0.17 sec)

  1. pkg/controlplane/apiserver/options/validation_test.go

    			}
    		})
    	}
    }
    
    func TestValidateOptions(t *testing.T) {
    	testCases := []struct {
    		name         string
    		options      *Options
    		expectErrors bool
    	}{
    		{
    			name:         "validate master count equal 0",
    			expectErrors: true,
    			options: &Options{
    				GenericServerRunOptions: &genericoptions.ServerRunOptions{},
    				Etcd:                    &genericoptions.EtcdOptions{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. .github/workflows/gradle-wrapper-validation.yml

    name: "Validate Gradle Wrapper"
    on: [push, pull_request]
    
    permissions:
      contents: read
    
    jobs:
      validation:
        name: "Validation"
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 16:25:39 UTC 2024
    - 348 bytes
    - Viewed (0)
  3. platforms/core-configuration/flow-services/src/main/kotlin/org/gradle/internal/flow/services/FlowParametersInstantiator.kt

            return instantiator.newInstance(parametersType).also {
                configure(it)
                validate(parametersType, it)
            }
        }
    
        private
        fun <P : FlowParameters> validate(type: Class<P>, parameters: P) {
            val problems = ImmutableList.builder<Problem>()
            inspection.propertyWalker.visitProperties(
                parameters,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:01:34 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy

        }
    
        def validateOutput() {
            def assertion = new ResultAssertion(0, [], false, true, true)
            assertion.validate(stdout.toString(), "stdout")
            assertion.validate(stderr.toString(), "stderr")
            true
        }
    
        private validate(Throwable throwable) {
            if (dist.version != GradleVersion.current()) {
                return
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:23 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	if a.hookSource == nil {
    		return fmt.Errorf("kubernetes client is not properly setup")
    	}
    	if err := a.namespaceMatcher.Validate(); err != nil {
    		return fmt.Errorf("namespaceMatcher is not properly setup: %v", err)
    	}
    	if err := a.clientManager.Validate(); err != nil {
    		return fmt.Errorf("clientManager is not properly setup: %v", err)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/options/hpacontroller.go

    	cfg.HorizontalPodAutoscalerInitialReadinessDelay = o.HorizontalPodAutoscalerInitialReadinessDelay
    
    	return nil
    }
    
    // Validate checks validation of HPAControllerOptions.
    func (o *HPAControllerOptions) Validate() []error {
    	if o == nil {
    		return nil
    	}
    
    	errs := []error{}
    	if o.ConcurrentHorizontalPodAutoscalerSyncs < 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 19 09:49:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/options/persistentvolumebindercontroller.go

    		return nil
    	}
    
    	cfg.PVClaimBinderSyncPeriod = o.PVClaimBinderSyncPeriod
    	cfg.VolumeConfiguration = o.VolumeConfiguration
    
    	return nil
    }
    
    // Validate checks validation of PersistentVolumeBinderControllerOptions.
    func (o *PersistentVolumeBinderControllerOptions) Validate() []error {
    	if o == nil {
    		return nil
    	}
    
    	errs := []error{}
    	return errs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Validate the received bucket policy document
    	if err = bucketLifecycle.Validate(rcfg); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Validate the transition storage ARNs
    	if err = validateTransitionTier(bucketLifecycle); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/bucket-listobjects-handlers.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Validate all the ListObjects query arguments, returns an APIErrorCode
    // if one of the args do not meet the required conditions.
    // Special conditions required by MinIO server are as below
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/telemetry/selector.go

    	"istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // SelectorAnalyzer validates, per namespace, that:
    // * telemetry resources that define a workload selector match at least one pod
    // * there aren't multiple telemetry resources that select overlapping pods
    type SelectorAnalyzer struct{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top