- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for ResourceRequest (0.3 sec)
-
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
}{ { name: "allowed configmap", attrs: authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "configmaps", Name: "configmap0-pod0-node0", Namespace: "ns0"}, expect: authorizer.DecisionAllow, }, { name: "allowed secret via pod", attrs: authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "secrets", Name: "secret0-pod0-node0", Namespace: "ns0"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac_test.go
resourceRequest("verb1").Group("group1").Resource("resource2").New(): true, resourceRequest("verb1").Group("group2").Resource("resource2").New(): true, resourceRequest("verb2").Group("group1").Resource("resource1").New(): true, resourceRequest("verb2").Group("group2").Resource("resource1").New(): true, resourceRequest("verb2").Group("group1").Resource("resource2").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/subjectaccessreview/rest_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/registry/authorization/util/helpers_test.go
// Fields we set in ResourceAttributesFrom "User", "Verb", "Namespace", "APIGroup", "APIVersion", "Resource", "Subresource", "Name", "ResourceRequest", // Fields we set in NonResourceAttributesFrom "User", "ResourceRequest", "Path", "Verb", ) reflect.TypeOf(authorizer.AttributesRecord{}).FieldByNameFunc(func(name string) bool { if !knownAttributesRecordFieldNames.Has(name) {
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/auth/authorizer/abac/abac_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 40K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 29 07:45:20 UTC 2022 - 4.3K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaimparameters_test.go
{ DriverName: goodName, Requests: []resource.ResourceRequest{ { ResourceRequestModel: resource.ResourceRequestModel{ NamedResources: &resource.NamedResourcesRequest{Selector: "true"}, }, }, }, }, { DriverName: badName, Requests: []resource.ResourceRequest{ { ResourceRequestModel: resource.ResourceRequestModel{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go
}, "resource": { Verb: "POST", Path: "/api/v1/nodes/mynode", ExpectedAttributes: &authorizer.AttributesRecord{ Verb: "create", Path: "/api/v1/nodes/mynode", ResourceRequest: true, Resource: "nodes", APIVersion: "v1", Name: "mynode", }, }, "namespaced resource": { Verb: "PUT", Path: "/api/v1/namespaces/myns/pods/mypod",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0) -
pkg/registry/authorization/util/helpers.go
Namespace: in.Namespace, APIGroup: in.Group, APIVersion: matchAllVersionIfEmpty(in.Version), Resource: in.Resource, Subresource: in.Subresource, Name: in.Name, ResourceRequest: true, } } // NonResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for non resource access
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 25 16:06:18 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/registry/rbac/escalation_check.go
Verb: "escalate", APIGroup: requestInfo.APIGroup, APIVersion: "*", Resource: requestInfo.Resource, Name: requestInfo.Name, Namespace: requestInfo.Namespace, ResourceRequest: true, } decision, _, err := a.Authorize(ctx, attrs) if err != nil { utilruntime.HandleError(fmt.Errorf( "error authorizing user %#v to escalate %#v named %q in namespace %q: %v",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 4.3K bytes - Viewed (0)