- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,447 for validateII (0.13 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation_test.go
}, failingObjects: []failingObject{ {object: map[string]interface{}{"field": true}, expectErrs: []string{ `<nil>: Invalid value: "": "field" must validate all the schemas (allOf). None validated`, `<nil>: Invalid value: "": "field" must validate at least one schema (anyOf)`, `field: Invalid value: "boolean": field in body must be of type integer,string: "boolean"`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 18 04:49:59 UTC 2023 - 24.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation.go
} return allErrs } // ValidateLabelName validates that the label name is correctly defined. func ValidateLabelName(labelName string, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} for _, msg := range validation.IsQualifiedName(labelName) { allErrs = append(allErrs, field.Invalid(fldPath, labelName, msg)) } return allErrs } // ValidateLabels validates that a set of labels are correctly defined.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 13.5K bytes - Viewed (0) -
architecture/environments/operator.md
### Validations Both the `IstioOperatorSpec` and Helm APIs are validated. The `IstioOperatorSpec` API is validated through a table of validation rules in [pkg/validate/validate.go](pkg/validate/validate.go). These rules refer to the Go struct path schema and hence have names with a capitalized first letter. The Helm values.yaml API is validated in [validate_values.go](pkg/validate/validate_values.go)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 09 22:09:18 UTC 2023 - 13.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/resetconfiguration.go
return nil, err } // Validates cfg if err := validation.ValidateResetConfiguration(internalcfg).ToAggregate(); err != nil { return nil, err } return internalcfg, nil } // DefaultedResetConfiguration takes a versioned ResetConfiguration (usually filled in by command line parameters), defaults it, converts it to internal and validates it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 6.6K bytes - Viewed (0) -
pkg/registry/node/runtimeclass/strategy.go
newRuntimeClass := obj.(*node.RuntimeClass) oldRuntimeClass := old.(*node.RuntimeClass) _, _ = newRuntimeClass, oldRuntimeClass } // Validate validates a new RuntimeClass. Validation must check for a correct signature. func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { runtimeClass := obj.(*node.RuntimeClass) return validation.ValidateRuntimeClass(runtimeClass) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 09 08:17:32 UTC 2022 - 3.6K bytes - Viewed (0) -
pkg/registry/rbac/clusterrolebinding/strategy.go
oldClusterRoleBinding := old.(*rbac.ClusterRoleBinding) _, _ = newClusterRoleBinding, oldClusterRoleBinding } // Validate validates a new ClusterRoleBinding. Validation must check for a correct signature. func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { clusterRoleBinding := obj.(*rbac.ClusterRoleBinding) return validation.ValidateClusterRoleBinding(clusterRoleBinding)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/registry/coordination/lease/strategy.go
} // PrepareForUpdate clears fields that are not allowed to be set by end users on update. func (leaseStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { } // Validate validates a new Lease. func (leaseStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { lease := obj.(*coordination.Lease) return validation.ValidateLease(lease) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 2.8K bytes - Viewed (0) -
pkg/apis/authentication/validation/validation.go
limitations under the License. */ // Package validation contains methods to validate kinds in the // authentication.k8s.io API group. package validation import ( "time" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/kubernetes/pkg/apis/authentication" ) // ValidateTokenRequest validates a TokenRequest. func ValidateTokenRequest(tr *authentication.TokenRequest) field.ErrorList {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 31 00:32:49 UTC 2018 - 1.4K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingwebhookconfiguration/strategy.go
if !reflect.DeepEqual(oldIC.Webhooks, newIC.Webhooks) { newIC.Generation = oldIC.Generation + 1 } } // Validate validates a new validatingWebhookConfiguration. func (validatingWebhookConfigurationStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { return validation.ValidateValidatingWebhookConfiguration(obj.(*admissionregistration.ValidatingWebhookConfiguration)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 20:14:19 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
"Trying to register filesystem without `length` operation on read only " "memory regions"); return OkStatus(); } // Validates the operations supplied by the plugin. // // Uses the 4 simpler `ValidateHelper(const TF_...*)` to validate each // individual function table and then checks that the function table for a // specific file type exists if the plugin offers support for creating that
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 07 22:08:43 UTC 2023 - 12.8K bytes - Viewed (0)