- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for Forbidden (0.44 sec)
-
pkg/apis/resource/validation/validation_resourceclaim_test.go
Resource: "pods", Name: "foo", UID: "1", }) } return claim }, }, "invalid-reserved-for-not-shared": { wantFailures: field.ErrorList{field.Forbidden(field.NewPath("status", "reservedFor"), "may not be reserved more than once")}, oldClaim: func() *resource.ResourceClaim { claim := validAllocatedClaim.DeepCopy() claim.Status.Allocation.Shareable = false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java
} else { events.add(new SimpleConditionEvent(method, true, method.getFullName() + " is not using forbidden Nullable")); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 21.7K bytes - Viewed (0) -
pkg/apis/resource/validation/validation.go
if resourceClaim.Status.Allocation == nil { allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be specified when `allocated` is not set")) } else { if !resourceClaim.Status.Allocation.Shareable && len(resourceClaim.Status.ReservedFor) > 1 { allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be reserved more than once")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
schema.GroupResource{}, "name", errors.New("")) }) }, expectedError: true, }, { // A "create" call against a real server can return a forbidden error and a non-nil CRB name: "admin.conf: handle forbidden error and returned CRBs, when the super-admin.conf client is nil", setupAdminClient: func(client *clientsetfake.Clientset) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
if _, err := adminClient.RbacV1().ClusterRoleBindings().Create( ctx, clusterRoleBinding, metav1.CreateOptions{}, ); err != nil { if apierrors.IsForbidden(err) { // If it encounters a forbidden error this means that the API server was reached // but the CRB is missing - i.e. the admin.conf user does not have permissions // to create its own permission RBAC yet. return true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0) -
cmd/bucket-handlers.go
// The operation returns a 200 OK if the bucket exists and you // have permission to access it. Otherwise, the operation might // return responses such as 404 Not Found and 403 Forbidden. func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) { ctx := newContext(r, w, "HeadBucket") defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 61.2K bytes - Viewed (0) -
cmd/object-handlers.go
return } rcfg, _ := globalBucketObjectLockSys.Get(bucket) if rcfg.LockEnabled && opts.DeletePrefix { apiErr := toAPIError(ctx, errInvalidArgument) apiErr.Description = "force-delete is forbidden on Object Locking enabled buckets" writeErrorResponse(ctx, w, apiErr, r.URL) return } os := newObjSweeper(bucket, object).WithVersion(opts.VersionID).WithVersioning(opts.Versioned, opts.VersionSuspended)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0) -
src/cmd/go/internal/work/exec.go
} // AllowInstall returns a non-nil error if this invocation of the go command is // allowed to install a.Target. // // The build of cmd/go running under its own test is forbidden from installing // to its original GOROOT. The var is exported so it can be set by TestMain. var AllowInstall = func(*Action) error { return nil } // cleanup removes a's object dir to keep the amount of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 105.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
if target.IsAIX() && rst != sym.SDYNIMPORT { // It's not possible to make a loader relocation in a // symbol which is not inside .data section. // FIXME: It should be forbidden to have R_ADDR from a // symbol which isn't in .data. However, as .text has the // same address once loaded, this is possible. if ldr.SymSect(s).Seg == &Segdata { Xcoffadddynrel(target, ldr, syms, s, r, ri)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/net/http/server.go
// written in the trailers at the end of the response. func (w *response) declareTrailer(k string) { k = CanonicalHeaderKey(k) if !httpguts.ValidTrailerHeader(k) { // Forbidden by RFC 7230, section 4.1.2 return } w.trailers = append(w.trailers, k) } // requestTooLarge is called by maxBytesReader when too much input has // been read from the client.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)