- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,659 for Validate2 (0.31 sec)
-
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/registry/networking/ingressclass/strategy.go
if !apiequality.Semantic.DeepEqual(oldIngressClass.Spec, newIngressClass.Spec) { newIngressClass.Generation = oldIngressClass.Generation + 1 } } // Validate validates a new IngressClass. func (ingressClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { ingressClass := obj.(*networking.IngressClass) return validation.ValidateIngressClass(ingressClass) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:58:39 UTC 2021 - 3.6K bytes - Viewed (0) -
pkg/registry/networking/ipaddress/strategy.go
newIPAddress := obj.(*networking.IPAddress) oldIPAddress := old.(*networking.IPAddress) _, _ = newIPAddress, oldIPAddress } // Validate validates a new IPAddress. func (ipAddressStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { ipAddress := obj.(*networking.IPAddress) err := validation.ValidateIPAddress(ipAddress) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 22:58:11 UTC 2023 - 3.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/api_enablement.go
"api/legacy is deprecated, and will be removed in a future version") } // Validate validates RuntimeConfig with a list of registries. // Usually this list only has one element, the apiserver registry of the process. // But in the advanced (and usually not recommended) case of delegated apiservers there can be more. // Validate will filter out the known groups of each registry.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 09:22:37 UTC 2023 - 4K 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) -
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) -
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) -
pkg/registry/rbac/role/strategy.go
func (strategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { newRole := obj.(*rbac.Role) oldRole := old.(*rbac.Role) _, _ = newRole, oldRole } // Validate validates a new Role. Validation must check for a correct signature. func (strategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { role := obj.(*rbac.Role) return validation.ValidateRole(role) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 3.3K bytes - Viewed (0)