- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for nonResource (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go
test(t, "nonResource", audit.LevelMetadata, stages, stages, "default") test(t, "nonResource", audit.LevelNone, stages, stages, "create") test(t, "nonResource", audit.LevelMetadata, stages, stages, "tims") test(t, "nonResource", audit.LevelMetadata, stages, stages, "humans") test(t, "nonResource", audit.LevelNone, stages, stages, "serviceAccounts") test(t, "nonResource", audit.LevelNone, stages, stages, "getPods")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 12 15:06:14 UTC 2021 - 15.1K bytes - Viewed (0) -
pkg/registry/authorization/subjectaccessreview/rest_test.go
expectedErr string expectedAttrs authorizer.Attributes expectedStatus authorizationapi.SubjectAccessReviewStatus }{ "empty": { expectedErr: "nonResourceAttributes or resourceAttributes", }, "nonresource rejected": { spec: authorizationapi.SubjectAccessReviewSpec{ User: "bob", NonResourceAttributes: &authorizationapi.NonResourceAttributes{Verb: "get", Path: "/mypath"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 6.3K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac_test.go
resourceRequest("verb2").Group("group2").Resource("resource2").Subresource("subresource1").New(): false, }, }, { name: "star nonresource, exact match other", rule: rbacv1helpers.NewRule("verb1").URLs("*").RuleOrDie(), requestsToExpected: map[authorizer.AttributesRecord]bool{ nonresourceRequest("verb1").URL("/foo").New(): true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 21.1K bytes - Viewed (0) -
pkg/registry/authorization/util/helpers_test.go
type args struct { spec authorizationapi.SubjectAccessReviewSpec } tests := []struct { name string args args want authorizer.AttributesRecord }{ { name: "nonresource", args: args{ spec: authorizationapi.SubjectAccessReviewSpec{ User: "bob", Groups: []string{user.AllAuthenticated},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/apis/authorization/validation/validation_test.go
ResourceAttributes: &authorizationapi.ResourceAttributes{}, User: "user", }, }, msg: "must match metadata.namespace", }, { name: "nonresource", obj: &authorizationapi.LocalSubjectAccessReview{ ObjectMeta: metav1.ObjectMeta{Namespace: "a"}, Spec: authorizationapi.SubjectAccessReviewSpec{ NonResourceAttributes: &authorizationapi.NonResourceAttributes{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go
// /api/{version}/proxy/namespaces/{namespace}/{resource}/{resourceName} // // Special verbs with subresources: // /api/{version}/watch/{resource} // /api/{version}/watch/namespaces/{namespace}/{resource} // // NonResource paths // /apis/{api-group}/{version} // /apis/{api-group} // /apis // /api/{version} // /api // /healthz // / func (r *RequestInfoFactory) NewRequestInfo(req *http.Request) (*RequestInfo, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 23 13:24:29 UTC 2023 - 9.8K bytes - Viewed (0) -
src/cmd/trace/gstate.go
"strings" ) // resource is a generic constraint interface for resource IDs. type resource interface { trace.GoID | trace.ProcID | trace.ThreadID } // noResource indicates the lack of a resource. const noResource = -1 // gState represents the trace viewer state of a goroutine in a trace. // // The type parameter on this type is the resource which is used to construct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/cmd/trace/gen.go
} // StackSample implements a stack sample event handler. It expects ev to be one such event. func (g *stackSampleGenerator[R]) StackSample(ctx *traceContext, ev *trace.Event) { id := g.getResource(ev) if id == R(noResource) { // We have nowhere to put this in the UI. return } ctx.Instant(traceviewer.InstantEvent{ Name: "CPU profile sample", Ts: ctx.elapsed(ev.Time()), Resource: uint64(id),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/auth/authorizer/abac/abac_test.go
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"noresource", "nonResourcePath": "*"}}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 40K bytes - Viewed (0)