- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 583 for authorizer (0.24 sec)
-
staging/src/k8s.io/api/rbac/v1beta1/types.go
// or a value for non-objects such as user and group names. type Subject struct { // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". // If the Authorizer does not recognized the kind value, the Authorizer should report an error. Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // APIGroup holds the API group of the referenced subject. // Defaults to "" for ServiceAccount subjects.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 22:49:19 UTC 2024 - 13.1K bytes - Viewed (0) -
pkg/registry/rbac/rest/storage_rbac_test.go
limitations under the License. */ package rest import ( "testing" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy" ) func BenchmarkEnsureRBACPolicy(b *testing.B) { for n := 0; n < b.N; n++ { var policy = &PolicyData{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 02 03:03:06 UTC 2021 - 1.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/metrics.go
&metrics.HistogramOpts{ Subsystem: nodeAuthorizerSubsystem, Name: "graph_actions_duration_seconds", Help: "Histogram of duration of graph actions in node authorizer.", StabilityLevel: metrics.ALPHA, // Start with 0.1ms with the last bucket being [~200ms, Inf) Buckets: metrics.ExponentialBuckets(0.0001, 2, 12), }, []string{"operation"}, ) )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 10 07:40:46 UTC 2020 - 1.4K bytes - Viewed (0) -
cmd/kube-scheduler/app/server.go
return fmt.Errorf("finished without leader elect") } // buildHandlerChain wraps the given handler with the standard filters. func buildHandlerChain(handler http.Handler, authn authenticator.Request, authz authorizer.Authorizer) http.Handler { requestInfoResolver := &apirequest.RequestInfoFactory{} failedHandler := genericapifilters.Unauthorized(scheme.Codecs) handler = genericapifilters.WithAuthorization(handler, authz, scheme.Codecs)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 14.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go
type AuthorizationConfiguration struct { metav1.TypeMeta // Authorizers is an ordered list of authorizers to // authorize requests against. // This is similar to the --authorization-modes kube-apiserver flag // Must be at least one. Authorizers []AuthorizerConfiguration `json:"authorizers"` } const ( TypeWebhook AuthorizerType = "Webhook"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 25.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go
type AuthorizationConfiguration struct { metav1.TypeMeta // Authorizers is an ordered list of authorizers to // authorize requests against. // This is similar to the --authorization-modes kube-apiserver flag // Must be at least one. Authorizers []AuthorizerConfiguration `json:"authorizers"` } const ( TypeWebhook AuthorizerType = "Webhook"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 26.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/authorizer/rule.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package authorizer type ResourceRuleInfo interface { // GetVerbs returns a list of kubernetes resource API verbs. GetVerbs() []string // GetAPIGroups return the names of the APIGroup that contains the resources.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 11:09:43 UTC 2017 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go
} } type mockAuthorizer struct { lastURI string } func (authz *mockAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { authz.lastURI = a.GetPath() return authorizer.DecisionAllow, "", nil } type testGetterStorage struct { Version string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 23.2K bytes - Viewed (0) -
pkg/registry/rbac/clusterrolebinding/registry.go
return nil, err } return ret, nil } // AuthorizerAdapter adapts the registry to the authorizer interface type AuthorizerAdapter struct { Registry Registry } func (a AuthorizerAdapter) ListClusterRoleBindings() ([]*rbacv1.ClusterRoleBinding, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 22 12:17:05 UTC 2018 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go
TypeMeta: fl.TypeMeta, ListMeta: fl.ListMeta, Items: copiedItems, } } type fakeAuthorizer struct{} func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { return authorizer.DecisionAllow, "", nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 19K bytes - Viewed (0)