- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,407 for Validate2 (0.15 sec)
-
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) -
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) -
internal/bucket/lifecycle/expiration.go
var exp expirationWrapper err := d.DecodeElement(&exp, &startElement) if err != nil { return err } *e = Expiration(exp) e.set = true return nil } // Validate - validates the "Expiration" element func (e Expiration) Validate() error { if !e.set { return nil } // DeleteMarker cannot be specified if date or dates are specified. if (!e.IsDaysNull() || !e.IsDateNull()) && e.DeleteMarker.set {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Feb 21 20:28:34 UTC 2024 - 6.6K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
if buf.Len() > 0 { buf.WriteString("&") } buf.WriteString(t.String()) } return buf.String() } return "" } // Validate - validates the rule element func (r Rule) Validate() error { if err := r.validateID(); err != nil { return err } if err := r.validateStatus(); err != nil { return err } if err := r.validateExpiration(); err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K 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/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)