- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,391 for Validate2 (0.21 sec)
-
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) -
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) -
staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics_test.go
if h.validate { return nil } return fmt.Errorf("don't validate") } type validatingFakeHandler struct { *admission.Handler validate bool } func (h *validatingFakeHandler) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) { if h.validate { return nil } return fmt.Errorf("don't validate") } type mutatingFakeHandler struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 17:01:37 UTC 2023 - 16.9K bytes - Viewed (0) -
operator/pkg/validate/common.go
func validatePortNumber(path util.Path, val any) util.Errors { return validateIntRange(path, val, 0, 65535) } // validateIPRangesOrStar validates IP ranges and also allow star, examples: "1.1.0.256/16,2.2.0.257/16", "*" func validateIPRangesOrStar(path util.Path, val any) (errs util.Errors) { scope.Debugf("validateIPRangesOrStar at %v: %v", path, val)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0) -
pkg/registry/core/node/strategy.go
func nodeConfigSourceInUse(node *api.Node) bool { if node == nil { return false } if node.Spec.ConfigSource != nil { return true } return false } // Validate validates a new node. func (nodeStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { node := obj.(*api.Node) return validation.ValidateNode(node) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:06:39 UTC 2024 - 9K bytes - Viewed (0) -
pkg/util/taints/taints.go
} else { newTaint, err := parseTaint(taintSpec) if err != nil { return nil, nil, err } // validate that the taint has an effect, which is required to add the taint if len(newTaint.Effect) == 0 { return nil, nil, fmt.Errorf("invalid taint spec: %v", taintSpec) } // validate if taint is unique by <key, effect> if len(uniqueTaints[newTaint.Effect]) > 0 && uniqueTaints[newTaint.Effect].Has(newTaint.Key) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 09:23:35 UTC 2022 - 8.4K bytes - Viewed (0) -
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) -
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) -
maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java
/** * Validate a model settings * */ public interface SettingsValidator { /** * Validate the specified settings. * * @param settings The settings to validate, must not be {@code null}. * @param problems The container used to collect problems that were encountered, must not be {@code null}. */ void validate(Settings settings, SettingsProblemCollector problems);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 1.8K bytes - Viewed (0) -
pilot/pkg/xds/eds_test.go
}, }) // Validate that endpoints are pushed. validateEndpoints(true, []string{"10.0.0.53:53", "10.0.0.54:53"}, nil) // Remove last healthy endpoints s.MemRegistry.SetEndpoints("unhealthy.svc.cluster.local", "", []*model.IstioEndpoint{}) validateEndpoints(true, nil, nil) }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 20:58:47 UTC 2024 - 39.6K bytes - Viewed (0)