- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for NewInvalid (0.27 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go
err = errors.NewBadRequest(err.Error()) scope.err(err, w, req) return } if errs := validation.ValidateCreateOptions(options); len(errs) > 0 { err := errors.NewInvalid(schema.GroupKind{Group: metav1.GroupName, Kind: "CreateOptions"}, "", errs) scope.err(err, w, req) return } options.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 10.1K bytes - Viewed (0) -
pkg/registry/apps/replicaset/storage/storage.go
} // validate if errs := autoscalingvalidation.ValidateScale(scale); len(errs) > 0 { return nil, errors.NewInvalid(autoscaling.Kind("Scale"), replicaset.Name, errs) } // validate precondition if specified (resourceVersion matching is handled by storage) if len(scale.UID) > 0 && scale.UID != replicaset.UID {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
if err != nil { return errors.NewInternalError(err) } errs = append(errs, strategy.ValidateUpdate(ctx, obj, old)...) if len(errs) > 0 { return errors.NewInvalid(kind.GroupKind(), objectMeta.GetName(), errs) } for _, w := range strategy.WarningsOnUpdate(ctx, obj, old) { warning.AddWarning(ctx, "", w) } strategy.Canonicalize(obj) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
pkg/registry/apps/statefulset/storage/storage.go
} // validate if errs := autoscalingvalidation.ValidateScale(scale); len(errs) > 0 { return nil, errors.NewInvalid(autoscaling.Kind("Scale"), statefulset.Name, errs) } // validate precondition if specified (resourceVersion matching is handled by storage) if len(scale.UID) > 0 && scale.UID != statefulset.UID {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 12.7K bytes - Viewed (0)