- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for NewBadRequest (0.15 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/structuredmerge.go
// Check that the patch object has the same version as the live object if patchVersion := patchObj.GetObjectKind().GroupVersionKind().GroupVersion(); patchVersion != f.groupVersion { return nil, nil, errors.NewBadRequest( fmt.Sprintf("Incorrect version specified in apply patch. "+ "Specified patch version: %s, expected: %s", patchVersion, f.groupVersion)) } patchObjMeta, err := meta.Accessor(patchObj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:55:50 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/registry/core/node/strategy.go
if !valid { return nil, nil, errors.NewBadRequest(fmt.Sprintf("invalid node request %q", id)) } info, err := connection.GetConnectionInfo(ctx, types.NodeName(name)) if err != nil { return nil, nil, err } if err := isProxyableHostname(ctx, info.Hostname); err != nil { return nil, nil, errors.NewBadRequest(err.Error()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 13 23:06:39 UTC 2024 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/namer.go
if err != nil { return "", "", err } return namespace, name, err } // errEmptyName is returned when API requests do not fill the name section of the path.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 2.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/request_deadline.go
return } if longRunning(req, requestInfo) { handler.ServeHTTP(w, req) return } userSpecifiedTimeout, ok, err := parseTimeout(req) if err != nil { statusErr := apierrors.NewBadRequest(err.Error()) klog.Errorf("Error - %s: %#v", err.Error(), req.RequestURI) failed := failedErrorHandler(negotiatedSerializer, statusErr) failWithAudit := withFailedRequestAudit(failed, statusErr, sink, policy)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 21:12:12 UTC 2024 - 6.6K bytes - Viewed (0) -
plugin/pkg/admission/runtimeclass/admission.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 05:53:38 UTC 2024 - 8.9K bytes - Viewed (0)