- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for ResourceRequest (0.2 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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 12 15:06:14 UTC 2021 - 15.1K bytes - Viewed (0) -
plugin/pkg/admission/gc/gc_admission.go
APIVersion: attributes.GetResource().Version, Resource: attributes.GetResource().Resource, Subresource: attributes.GetSubresource(), Name: attributes.GetName(), ResourceRequest: true, Path: "", } decision, reason, err := a.authorizer.Authorize(ctx, deleteAttributes) if decision != authorizer.DecisionAllow {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/authorizer/interfaces.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 14:36:14 UTC 2023 - 4.8K bytes - Viewed (0)