- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 286 for forbidden (0.27 sec)
-
pkg/apis/networking/validation/validation.go
} if numPeers == 0 { allErrs = append(allErrs, field.Required(peerPath, "must specify a peer")) } else if numPeers > 1 && peer.IPBlock != nil { allErrs = append(allErrs, field.Forbidden(peerPath, "may not specify both ipBlock and another peer")) } return allErrs } // ValidateNetworkPolicySpec tests if required fields in the networkpolicy spec are set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 14:48:01 UTC 2024 - 31.5K bytes - Viewed (0) -
pkg/apis/networking/validation/validation_test.go
"`parameters.scope` is set to 'Namespace'")}, }, "namespace is forbidden when scope is Cluster": { ingressClass: makeValidIngressClass("test123", "foo.co/bar", setParams(makeIngressClassParams(nil, "foo", "bar", utilpointer.String("Cluster"), utilpointer.String("foo-ns"))), ), expectedErrs: field.ErrorList{field.Forbidden(field.NewPath("spec.parameters.namespace"), "`parameters.scope` is set to 'Cluster'")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 73.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/errors/errors_test.go
fn: IsTooManyRequests, }, { name: "Forbidden", knownReason: metav1.StatusReasonForbidden, otherReason: metav1.StatusReasonNotFound, otherReasonConsidered: true, code: http.StatusForbidden, fn: IsForbidden, }, { name: "NotFound", knownReason: metav1.StatusReasonNotFound,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 19.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go
err: aggregate{errors.New("my-error"), errors.New("my-other-error")}, matchAgainst: fmt.Errorf("no entry %s", "here"), }, { name: "match via .Is()", err: aggregate{errors.New("forbidden"), alwaysMatchingError{}}, matchAgainst: errors.New("unauthorized"), expectMatch: true, }, { name: "match via equality", err: aggregate{errors.New("err"), someError{}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 13:16:21 UTC 2022 - 12.7K bytes - Viewed (0) -
pkg/kubelet/server/server.go
return } if decision != authorizer.DecisionAllow { klog.V(2).InfoS("Forbidden", "user", attrs.GetUser().GetName(), "verb", attrs.GetVerb(), "resource", attrs.GetResource(), "subresource", attrs.GetSubresource()) msg := fmt.Sprintf("Forbidden (user=%s, verb=%s, resource=%s, subresource=%s)", attrs.GetUser().GetName(), attrs.GetVerb(), attrs.GetResource(), attrs.GetSubresource())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
*/ open fun canceled(call: Call) { } /** * Invoked when a call fails due to cache rules. * For example, we're forbidden from using the network and the cache is insufficient */ open fun satisfactionFailure( call: Call, response: Response, ) { } /**
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go
// but switches back to normal pruning behaviour if nested // properties or additionalProperties are specified in the schema. // This can either be true or undefined. False is forbidden. XPreserveUnknownFields *bool // x-kubernetes-embedded-resource defines that the value is an // embedded Kubernetes runtime.Object, with TypeMeta and // ObjectMeta. The type must be object. It is allowed to further
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 22:23:23 UTC 2023 - 15.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 19.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go
true, }, { // non-duplicate, but 'all' present in config file, while values are in CLI, which is forbidden []string{"a", "b"}, []string{"all"}, sets.New[string](), true, }, { // non-duplicate, but 'all' present in CLI, while values are in config file, which is forbidden []string{"all"}, []string{"a", "b"}, sets.New[string](), true, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 46.1K bytes - Viewed (0) -
src/strconv/ftoaryu.go
// and stop when c goes out of the (l, u) interval. l := (lower + 9) / 10 c, cdigit := central/10, central%10 u := upper / 10 if l > u { // don't trim the last digit as it is forbidden to go below l // other, trim and exit now. break } // Check that we didn't cross the lower boundary. // The case where l < u but c == l-1 is essentially impossible, // but may happen if:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 09 00:28:56 UTC 2022 - 15.7K bytes - Viewed (0)