- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,793 for validate0 (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/audit.go
} return err } func (handler *auditHandler) Validate(ctx context.Context, a Attributes, o ObjectInterfaces) error { if !handler.Interface.Handles(a.GetOperation()) { return nil } if err := ensureAnnotationGetter(a); err != nil { return err } var err error if validator, ok := handler.Interface.(ValidationInterface); ok { err = validator.Validate(ctx, a, o) handler.logAnnotations(ctx, a) } return err
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 29 00:03:53 UTC 2022 - 2.8K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/externalcontrolplane-using-ip-addr.yaml
kind: ValidatingWebhookConfiguration metadata: name: istio-validator-external-istiod webhooks: - admissionReviewVersions: - v1beta1 - v1 clientConfig: url: https://test.com:15017/validate name: rev.validation.istio.io --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: istiod-default-validator webhooks: - admissionReviewVersions: - v1beta1 - v1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 11:41:38 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/externalcontrolplane-valid-urls.yaml
kind: ValidatingWebhookConfiguration metadata: name: istio-validator-external-istiod webhooks: - admissionReviewVersions: - v1beta1 - v1 clientConfig: url: https://test.com:15017/validate name: rev.validation.istio.io --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: istiod-default-validator webhooks: - admissionReviewVersions: - v1beta1 - v1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 17 11:41:38 UTC 2023 - 1.5K bytes - Viewed (0) -
pkg/serviceaccount/legacy.go
secretsWriter typedv1core.SecretsGetter } var _ = Validator(&legacyValidator{}) func (v *legacyValidator) Validate(ctx context.Context, tokenData string, public *jwt.Claims, privateObj interface{}) (*apiserverserviceaccount.ServiceAccountInfo, error) { private, ok := privateObj.(*legacyPrivateClaims) if !ok { klog.Errorf("jwt validator expected private claim of type *legacyPrivateClaims but got: %T", privateObj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 08:32:23 UTC 2023 - 8.4K bytes - Viewed (0) -
internal/bucket/replication/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && a.Prefix == "" } // Validate - validates the And field func (a And) Validate() error { if a.ContainsDuplicateTag() { return errDuplicateTagKey } for _, t := range a.Tags { if err := t.Validate(); err != nil { return err } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
"""Creates a validator function for a representative sample. Args: expected_input_keys: Input keys (keyword argument names) that the function the sample will be used for is expecting to receive. Returns: A callable that validates a `RepresentativeSample`. """ def validator( sample: rd.RepresentativeSample, ) -> rd.RepresentativeSample:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration.go
// BytesToInitConfiguration converts a byte slice to an internal, defaulted and validated InitConfiguration object. // The map may contain many different YAML documents. These YAML documents are parsed one-by-one // and well-known ComponentConfig GroupVersionKinds are stored inside of the internal InitConfiguration struct. // The resulting InitConfiguration is then dynamically defaulted and validated prior to return.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/upgradeconfiguration.go
return nil, err } } // Validates cfg if err := validation.ValidateUpgradeConfiguration(internalcfg).ToAggregate(); err != nil { return nil, err } return internalcfg, nil } // DocMapToUpgradeConfiguration converts documentMap to an internal, defaulted and validated UpgradeConfiguration object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/validation.go
"k8s.io/apimachinery/pkg/runtime/schema" utilvalidation "k8s.io/apimachinery/pkg/util/validation" "k8s.io/apimachinery/pkg/util/validation/field" ) // Validate validates embedded ObjectMeta and TypeMeta. // It also validate those at the root if isResourceRoot is true. func Validate(pth *field.Path, obj interface{}, s *structuralschema.Structural, isResourceRoot bool) field.ErrorList { if isResourceRoot { if s == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 17:46:57 UTC 2019 - 4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/externalcontrolplane-missing-urls-custom-ns.yaml
kind: ValidatingWebhookConfiguration metadata: name: istio-validator-custom-ns webhooks: - admissionReviewVersions: - v1beta1 - v1 clientConfig: url: name: rev.validation.istio.io --- apiVersion: admissionregistration.k8s.io/v1 kind: ValidatingWebhookConfiguration metadata: name: istiod-default-validator webhooks: - admissionReviewVersions: - v1beta1 - v1 clientConfig:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 08 02:20:29 UTC 2024 - 1.4K bytes - Viewed (0)