- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,391 for Validate2 (0.94 sec)
-
internal/bucket/replication/replication.go
config.Rules[i].DeleteReplication = DeleteReplication{ Status: Disabled, } } } return &config, nil } // Validate - validates the replication configuration func (c Config) Validate(bucket string, sameTarget bool) error { // replication config can't have more than 1000 rules if len(c.Rules) > 1000 { return errReplicationTooManyRules }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 8.9K bytes - Viewed (0) -
pkg/registry/flowcontrol/flowschema/strategy.go
newFlowSchema.Generation = oldFlowSchema.Generation + 1 } newFlowSchema.Status = oldFlowSchema.Status } // Validate validates a new flow-schema. func (flowSchemaStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { return validation.ValidateFlowSchema(obj.(*flowcontrol.FlowSchema)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 11:48:22 UTC 2023 - 6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/labels.go
} // AsValidatedSelector converts labels into a selectors. // The Set is validated client-side, which allows to catch errors early. func (ls Set) AsValidatedSelector() (Selector, error) { return ValidatedSelectorFromSet(ls) } // AsSelectorPreValidated converts labels into a selector, but // assumes that labels are already validated and thus doesn't // perform any validation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 4.5K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
} } } return nil } // IsEmpty returns true if Filter is not specified in the XML func (f Filter) IsEmpty() bool { return !f.set } // Validate - validates the filter element func (f Filter) Validate() error { if f.IsEmpty() { return errXMLNotWellFormed } // A Filter must have exactly one of Prefix, Tag, // ObjectSize{LessThan,GreaterThan} or And specified.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 6.2K bytes - Viewed (0) -
cmd/xl-storage_test.go
testCases := []struct { name string err error }{ // Validates input argument cannot be empty. { "", errInvalidArgument, }, // Validates if the directory does not exist and // gets automatically created. { tmpDirName, nil, }, // Validates if the disk exists as file and returns error // not a directory. { tmpFileName,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 11 17:45:28 UTC 2024 - 66.7K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} // validateMatchLabelKeysAndMismatchLabelKeys checks if both matchLabelKeys and mismatchLabelKeys are valid. // - validate that all matchLabelKeys and mismatchLabelKeys are valid label names. // - validate that the user doens't specify the same key in both matchLabelKeys and labelSelector. // - validate that any matchLabelKeys are not duplicated with mismatchLabelKeys.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
pkg/serviceaccount/claims.go
return nil, fmt.Errorf("service account token claims could not be validated: %w", err) // safe to pass these errors back to the user default: klog.Errorf("service account token claim validation got unexpected error type: %T", err) // avoid leaking unexpected information into the logs return nil, errors.New("service account token claims could not be validated due to unexpected validation error") // return an opaque error }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 11.3K bytes - Viewed (0) -
internal/jwt/parser.go
jwtgo.ValidationErrorClaimsInvalid) } // Signature is valid, lets validate the claims for // other fields such as expiry etc. return claims.Valid() } // ParseUnverifiedStandardClaims - WARNING: Don't use this method unless you know what you're doing // // This method parses the token but doesn't validate the signature. It's only // ever useful in cases where you know the signature is valid (because it has
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 09 07:53:08 UTC 2023 - 13.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go
errs = append(errs, a.validator.Validate(ctx, u, a.scale)...) // validate embedded resources errs = append(errs, schemaobjectmeta.Validate(nil, u.Object, a.structuralSchema, false)...) // validate x-kubernetes-list-type "map" and "set" invariant errs = append(errs, structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, u.Object)...) // validate x-kubernetes-validations rules
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 21:22:34 UTC 2024 - 14.9K bytes - Viewed (0) -
cmd/auth-handler.go
claims := xjwt.NewMapClaims() return claims.Map(), ErrNone } // Check request auth type verifies the incoming http request // - validates the request signature // - validates the policy action if anonymous tests bucket policies if any, // for authenticated requests validates IAM policies. // // returns APIErrorCode if any to be replied to the client.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 26K bytes - Viewed (0)