- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,447 for validateII (0.16 sec)
-
internal/bucket/versioning/versioning.go
// Requires versioning to be enabled ExcludedPrefixes []ExcludedPrefix `xml:",omitempty"` ExcludeFolders bool `xml:",omitempty"` } // Validate - validates the versioning configuration func (v Versioning) Validate() error { // Not supported yet // switch v.MFADelete { // case Enabled, Disabled: // default: // return Errorf("unsupported MFADelete state %s", v.MFADelete) // }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 4.6K bytes - Viewed (0) -
internal/bucket/lifecycle/and.go
// isEmpty returns true if Tags field is null func (a And) isEmpty() bool { return len(a.Tags) == 0 && !a.Prefix.set && a.ObjectSizeGreaterThan == 0 && a.ObjectSizeLessThan == 0 } // Validate - validates the And field func (a And) Validate() error { // > This is used in a Lifecycle Rule Filter to apply a logical AND to two or more predicates. // ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_LifecycleRuleAndOperator.html
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/registry/scheduling/priorityclass/strategy.go
// PrepareForUpdate clears fields that are not allowed to be set by end users on update. func (priorityClassStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {} // Validate validates a new PriorityClass. func (priorityClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { pc := obj.(*scheduling.PriorityClass) return validation.ValidatePriorityClass(pc) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 08 10:11:23 UTC 2022 - 3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
} } // Validate validates all x-kubernetes-validations rules in Validator against obj and returns any errors. // If the validation rules exceed the costBudget, subsequent evaluations will be skipped, the list of errs returned will not be empty, and a negative remainingBudget will be returned. // Most callers can ignore the returned remainingBudget value unless another validate call is going to be made
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
cmd/bucket-handlers_test.go
} // ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse, // sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the // unsigned request goes through and its validated again.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 39.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/cmd/server/options/options.go
o.APIEnablement.AddFlags(fs) } // Validate validates the apiextensions-apiserver options. func (o CustomResourceDefinitionsServerOptions) Validate() error { errors := []error{} errors = append(errors, o.ServerRunOptions.Validate()...) errors = append(errors, o.RecommendedOptions.Validate()...) errors = append(errors, o.APIEnablement.Validate(apiserver.Scheme)...) return utilerrors.NewAggregate(errors) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 6K bytes - Viewed (0) -
pkg/registry/core/endpoint/strategy.go
} // PrepareForUpdate clears fields that are not allowed to be set by end users on update. func (endpointsStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { } // Validate validates a new endpoints. func (endpointsStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { return validation.ValidateEndpointsCreate(obj.(*api.Endpoints)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 18 14:42:36 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/bucket/replication/filter.go
return e.EncodeToken(xml.EndElement{Name: start.Name}) } // Validate - validates the filter element func (f Filter) Validate() error { // A Filter must have exactly one of Prefix, Tag, or And specified. if !f.And.isEmpty() { if f.Prefix != "" { return errInvalidFilter } if !f.Tag.IsEmpty() { return errInvalidFilter } if err := f.And.Validate(); err != nil { return err } } if f.Prefix != "" {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Sep 28 18:25:46 UTC 2022 - 3.5K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/joinconfiguration.go
return nil, err } // Validates cfg (flags/configs + defaults) if err := validation.ValidateJoinConfiguration(internalcfg).ToAggregate(); err != nil { return nil, err } return internalcfg, nil } // DefaultedJoinConfiguration takes a versioned JoinConfiguration (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.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission.go
) } return nil } // Validate calls the wrapped admission.Interface if aplicable func (admit *managedFieldsValidatingAdmissionController) Validate(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) (err error) { if validationInterface, isValidationInterface := admit.wrap.(admission.ValidationInterface); isValidationInterface { return validationInterface.Validate(ctx, a, o) } return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 3.7K bytes - Viewed (0)