- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,407 for Validate2 (0.44 sec)
-
internal/config/identity/openid/jwt.go
claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry. return nil } const ( audClaim = "aud" azpClaim = "azp" ) // Validate - validates the id_token. func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims map[string]interface{}) error { jp := new(jwtgo.Parser) jp.ValidMethods = []string{ "RS256", "RS384", "RS512",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 18:10:41 UTC 2024 - 8.3K bytes - Viewed (0) -
pkg/apis/storage/validation/validation.go
return allErrs } // ValidateCSINodeUpdate validates a CSINode. func ValidateCSINodeUpdate(new, old *storage.CSINode, validationOpts CSINodeValidationOptions) field.ErrorList { allErrs := ValidateCSINode(new, validationOpts) // Validate modifying fields inside an existing CSINodeDriver entry is not allowed for _, oldDriver := range old.Spec.Drivers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 00:47:13 UTC 2024 - 25.5K bytes - Viewed (0) -
cmd/batch-expire.go
} } for _, tag := range ef.Tags { if err := tag.Validate(); err != nil { return err } } for _, meta := range ef.Metadata { if err := meta.Validate(); err != nil { return err } } if err := ef.Purge.Validate(); err != nil { return err } if err := ef.Size.Validate(); err != nil { return err }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 13:50:53 UTC 2024 - 21.1K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation.go
apivalidation "k8s.io/kubernetes/pkg/apis/core/validation" "k8s.io/kubernetes/pkg/features" kubeproxyconfig "k8s.io/kubernetes/pkg/proxy/apis/config" netutils "k8s.io/utils/net" ) // Validate validates the configuration of kube-proxy func Validate(config *kubeproxyconfig.KubeProxyConfiguration) field.ErrorList { allErrs := field.ErrorList{} newPath := field.NewPath("KubeProxyConfiguration")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/registry/batch/cronjob/strategy.go
if !apiequality.Semantic.DeepEqual(newCronJob.Spec, oldCronJob.Spec) { newCronJob.Generation = oldCronJob.Generation + 1 } } // Validate validates a new scheduled job. func (cronJobStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { cronJob := obj.(*batch.CronJob) opts := pod.GetValidationOptionsFromPodTemplate(&cronJob.Spec.JobTemplate.Spec.Template, nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 15:14:03 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/registry/discovery/endpointslice/strategy.go
} newEPS.ObjectMeta = ogNewMeta oldEPS.ObjectMeta = ogOldMeta dropDisabledFieldsOnUpdate(oldEPS, newEPS) dropTopologyOnV1(ctx, oldEPS, newEPS) } // Validate validates a new EndpointSlice. func (endpointSliceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { endpointSlice := obj.(*discovery.EndpointSlice) err := validation.ValidateEndpointSliceCreate(endpointSlice) return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 02 10:00:01 UTC 2023 - 7.6K bytes - Viewed (0) -
cmd/object-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 `getWriteOnlyObjectStatement` 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 - 161.9K bytes - Viewed (0) -
cmd/kubeadm/app/util/version.go
return kubernetesReleaseVersion(body, fetcher) } // both the client and the remote version are obtained; validate them and pick a stable version body, err = validateStableVersion(body, clientVersion) if err != nil { return "", err } // Re-validate received version and return. return kubernetesReleaseVersion(body, fetcher) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:50:19 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/registry/flowcontrol/prioritylevelconfiguration/strategy.go
newPriorityLevelConfiguration.Generation = oldPriorityLevelConfiguration.Generation + 1 } newPriorityLevelConfiguration.Status = oldPriorityLevelConfiguration.Status } // Validate validates a new priority-level. func (priorityLevelConfigurationStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { // 1.28 server is not aware of the roundtrip annotation, and will // default any 0 value persisted (for the NominalConcurrencyShares
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 20:55:50 UTC 2024 - 8.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go
"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions" apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" ) // NewStructural converts an OpenAPI v3 schema into a structural schema. A pre-validated JSONSchemaProps will // not fail on NewStructural. This means that we require that: // // - items is not an array of schemas // - the following fields are not set: // - id // - schema // - $ref
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 7.6K bytes - Viewed (0)