- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Authorize (0.63 sec)
-
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go
"k8s.io/apiserver/pkg/authorization/authorizer" ) type authzResult struct { authorized authorizer.Decision reason string err error } type cachingAuthorizer struct { authorizer authorizer.Authorizer decisions map[string]authzResult } func newCachingAuthorizer(in authorizer.Authorizer) authorizer.Authorizer { return &cachingAuthorizer{ authorizer: in,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz.go
// identical paramRef and policy to old object return nil } return v.authorize(ctx, binding) } func (v *validatingAdmissionPolicyBindingStrategy) authorize(ctx context.Context, binding *admissionregistration.ValidatingAdmissionPolicyBinding) error { if v.authorizer == nil || v.resourceResolver == nil || binding.Spec.ParamRef == nil { return nil } // for superuser, skip all checks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 12:19:03 UTC 2024 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/metrics/metrics.go
decision, reason, err := a.delegate.Authorize(ctx, attributes) switch decision { case authorizer.DecisionNoOpinion: // non-terminal, not reported case authorizer.DecisionAllow: // matches SubjectAccessReview status.allowed field name RecordAuthorizationDecision(a.authorizerType, a.authorizerName, "allowed") case authorizer.DecisionDeny:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 13:20:59 UTC 2024 - 2.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics.go
RecordAuthorizationMatchConditionEvaluation(ctx context.Context, authorizerType, authorizerName string, elapsed time.Duration) // RecordAuthorizationMatchConditionEvaluationFailure increments if any evaluation error was encountered evaluating matchConditions for an Authorize() call to the given authorizer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 4.9K bytes - Viewed (0) -
pilot/pkg/credentials/kube/multicluster.go
if firstError == nil { firstError = err } } else { return k, nil } } return nil, firstError } func (a *AggregateController) Authorize(serviceAccount, namespace string) error { return a.authController.Authorize(serviceAccount, namespace) } func (a *AggregateController) AddEventHandler(f func(name string, namespace string)) { // no ops }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 4.2K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/reload.go
current atomic.Pointer[authorizerResolver] } type authorizerResolver struct { authorizer authorizer.Authorizer ruleResolver authorizer.RuleResolver } func (r *reloadableAuthorizerResolver) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { return r.current.Load().authorizer.Authorize(ctx, a) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 9.3K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go
type validatingAdmissionPolicyStrategy struct { runtime.ObjectTyper names.NameGenerator authorizer authorizer.Authorizer resourceResolver resolver.ResourceResolver } // NewStrategy is the default logic that applies when creating and updating validatingAdmissionPolicy objects. func NewStrategy(authorizer authorizer.Authorizer, resourceResolver resolver.ResourceResolver) *validatingAdmissionPolicyStrategy {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.8K bytes - Viewed (0) -
pilot/pkg/credentials/model.go
GetCertInfo(name, namespace string) (certInfo *CertInfo, err error) GetCaCert(name, namespace string) (certInfo *CertInfo, err error) GetDockerCredential(name, namespace string) (cred []byte, err error) Authorize(serviceAccount, namespace string) error } type MulticlusterController interface { ForCluster(cluster cluster.ID) (Controller, error) AddSecretHandler(func(name, namespace string))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 1.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 7.4K bytes - Viewed (0)