- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 257 for authorizer (0.34 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go
a.hookSource = a.sourceFactory(f) a.SetReadyFunc(func() bool { return namespaceInformer.Informer().HasSynced() && a.hookSource.HasSynced() }) } func (a *Webhook) SetAuthorizer(authorizer authorizer.Authorizer) { a.authorizer = authorizer } // ValidateInitialization implements the InitializationValidator interface. func (a *Webhook) ValidateInitialization() error { if a.hookSource == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
}, attributesFunc: func(u user.Info, req *http.Request) authorizer.Attributes { return &authorizer.AttributesRecord{User: u} }, authorizeFunc: func(a authorizer.Attributes) (decision authorizer.Decision, reason string, err error) { return authorizer.DecisionAllow, "", nil }, } server := NewServer( fw.fakeKubelet,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
ctx context.Context, matchResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *v1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) validating.ValidateResult type fakeCompiler struct { ValidateFuncs map[types.NamespacedName]validating.Validator lock sync.Mutex NumCompiles map[types.NamespacedName]int }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/controlplane/apiserver/config.go
} return } // BuildAuthorizer constructs the authorizer. If authorization is not set in s, it returns nil, nil, false, nil func BuildAuthorizer(ctx context.Context, s options.CompletedOptions, egressSelector *egressselector.EgressSelector, apiserverID string, versionedInformers clientgoinformers.SharedInformerFactory) (authorizer.Authorizer, authorizer.RuleResolver, bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 14.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go
"k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver/pkg/server/httplog" ) // WithImpersonation is a filter that will inspect and check requests that attempt to change the user.Info for their requests func WithImpersonation(handler http.Handler, a authorizer.Authorizer, s runtime.NegotiatedSerializer) http.Handler {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go
compbasemetrics "k8s.io/component-base/metrics" "k8s.io/component-base/metrics/legacyregistry" ) // AuthorizerMetrics specifies a set of methods that are used to register various metrics for the webhook authorizer type AuthorizerMetrics interface { // Request total and latency metrics RequestMetrics // Webhook count, latency, and fail open metrics WebhookMetrics // match condition metrics cel.MatcherMetrics }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/controlplane/apiserver/apis.go
authorizationrest.RESTStorageProvider{Authorizer: c.Generic.Authorization.Authorizer, RuleResolver: c.Generic.RuleResolver}, certificatesrest.RESTStorageProvider{}, coordinationrest.RESTStorageProvider{}, rbacrest.RESTStorageProvider{Authorizer: c.Generic.Authorization.Authorizer}, svmrest.RESTStorageProvider{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 6.8K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1/generated.proto
// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. optional bool incomplete = 3; // EvaluationError can appear in combination with Rules. It indicates an error occurred during // rule evaluation, such as an authorizer that doesn't support rule evaluation, and that // ResourceRules and/or NonResourceRules may be incomplete.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authorization/v1beta1/generated.proto
// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation. optional bool incomplete = 3; // EvaluationError can appear in combination with Rules. It indicates an error occurred during // rule evaluation, such as an authorizer that doesn't support rule evaluation, and that // ResourceRules and/or NonResourceRules may be incomplete.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/initializer/interfaces.go
SetExternalKubeInformerFactory(informers.SharedInformerFactory) admission.InitializationValidator } // WantsAuthorizer defines a function which sets Authorizer for admission plugins that need it. type WantsAuthorizer interface { SetAuthorizer(authorizer.Authorizer) admission.InitializationValidator } // WantsQuotaConfiguration defines a function which sets quota configuration for admission plugins that need it.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 19:11:10 UTC 2024 - 3.6K bytes - Viewed (0)