Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 601 for validate0 (0.37 sec)

  1. cmd/kube-apiserver/app/server.go

    				return err
    			}
    			cliflag.PrintFlags(fs)
    
    			// set default options
    			completedOptions, err := s.Complete()
    			if err != nil {
    				return err
    			}
    
    			// validate options
    			if errs := completedOptions.Validate(); len(errs) != 0 {
    				return utilerrors.NewAggregate(errs)
    			}
    			// add feature enablement metrics
    			utilfeature.DefaultMutableFeatureGate.AddMetrics()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/config/validation/agent/validation.go

    	}
    	return errs
    }
    
    // ValidateZipkinCollector validates the configuration for sending envoy spans to Zipkin
    func ValidateZipkinCollector(z *meshconfig.Tracing_Zipkin) error {
    	return ValidateProxyAddress(strings.Replace(z.GetAddress(), "$(HOST_IP)", "127.0.0.1", 1))
    }
    
    // ValidateDatadogCollector validates the configuration for sending envoy spans to Datadog
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/async-sql-encode-databases.md

    * Notes to be returned (`Note`).
    
    ```Python hl_lines="31-33  36-39"
    {!../../../docs_src/async_sql_databases/tutorial001.py!}
    ```
    
    By creating these Pydantic models, the input data will be validated, serialized (converted), and annotated (documented).
    
    So, you will be able to see it all in the interactive API docs.
    
    ## Connect and disconnect
    
    * Create your `FastAPI` application.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			expr:        `format.dns1123Label().validate("my-label-name")`,
    			expectValue: types.OptionalNone,
    		},
    		{
    			name:        "example_usage_dns1123Subdomain",
    			expr:        `format.dns1123Subdomain().validate("apiextensions.k8s.io")`,
    			expectValue: types.OptionalNone,
    		},
    		{
    			name:        "example_usage_qualifiedName",
    			expr:        `format.qualifiedName().validate("apiextensions.k8s.io/v1beta1")`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/server_test.go

    }
    
    // TestHeadOnObjectLastModified - Asserts response for HEAD on an object.
    // HEAD requests on an object validates the existence of the object.
    // The responses for fetching the object when If-Modified-Since
    // and If-Unmodified-Since headers set are validated.
    // If-Modified-Since - Return the object only if it has been modified since the specified time, else return a 304 (not modified).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    	}
    	return &lc, nil
    }
    
    // Validate - validates the lifecycle configuration
    func (lc Lifecycle) Validate(lr lock.Retention) error {
    	// Lifecycle config can't have more than 1000 rules
    	if len(lc.Rules) > 1000 {
    		return errLifecycleTooManyRules
    	}
    	// Lifecycle config should have at least one rule
    	if len(lc.Rules) == 0 {
    		return errLifecycleNoRule
    	}
    
    	// Validate all the rules in the lifecycle config
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/preflight/checks.go

    	}
    	return warns, nil
    }
    
    // KubernetesVersionCheck validates Kubernetes and kubeadm versions
    type KubernetesVersionCheck struct {
    	KubeadmVersion    string
    	KubernetesVersion string
    }
    
    // Name will return KubernetesVersion as name for KubernetesVersionCheck
    func (KubernetesVersionCheck) Name() string {
    	return "KubernetesVersion"
    }
    
    // Check validates Kubernetes and kubeadm versions
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java

    import java.util.stream.Stream;
    
    import static com.google.common.collect.ImmutableList.toImmutableList;
    import static java.util.stream.Collectors.joining;
    import static org.gradle.api.problems.Severity.ERROR;
    
    /**
     * Validates plugins by checking property annotations on work items like tasks and artifact transforms.
     *
     * This task should be used in Gradle plugin projects for doing static analysis on the plugin classes.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 04 07:42:50 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    }
    
    func (o *RecommendedOptions) Validate() []error {
    	errors := []error{}
    	errors = append(errors, o.Etcd.Validate()...)
    	errors = append(errors, o.SecureServing.Validate()...)
    	errors = append(errors, o.Authentication.Validate()...)
    	errors = append(errors, o.Authorization.Validate()...)
    	errors = append(errors, o.Audit.Validate()...)
    	errors = append(errors, o.Features.Validate()...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top