- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestAuthorizer (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go
var _ admission.Interface = &WantDrainedNotification{} var _ initializer.WantsDrainedNotification = &WantDrainedNotification{} // TestAuthorizer is a test stub that fulfills the WantsAuthorizer interface. type TestAuthorizer struct{} func (t *TestAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { return authorizer.DecisionNoOpinion, "", nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac_test.go
func (d *defaultAttributes) GetAPIVersion() string { return "" } func (d *defaultAttributes) IsResourceRequest() bool { return true } func (d *defaultAttributes) GetPath() string { return "" } func TestAuthorizer(t *testing.T) { tests := []struct { roles []*rbacv1.Role roleBindings []*rbacv1.RoleBinding clusterRoles []*rbacv1.ClusterRole clusterRoleBindings []*rbacv1.ClusterRoleBinding
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 21.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
utilfeature "k8s.io/apiserver/pkg/util/feature" "k8s.io/component-base/featuregate" "k8s.io/kubernetes/pkg/auth/nodeidentifier" "k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy" ) func TestAuthorizer(t *testing.T) { g := NewGraph() opts := &sampleDataOpts{ nodes: 2, namespaces: 2, podsPerNode: 2,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0)