- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 559 for Authorize (0.12 sec)
-
staging/src/k8s.io/apiserver/pkg/authorization/union/union.go
"k8s.io/apiserver/pkg/authorization/authorizer" ) // unionAuthzHandler authorizer against a chain of authorizer.Authorizer type unionAuthzHandler []authorizer.Authorizer // New returns an authorizer that authorizes against a chain of authorizer.Authorizer objects func New(authorizationHandlers ...authorizer.Authorizer) authorizer.Authorizer { return unionAuthzHandler(authorizationHandlers) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 28 20:27:28 UTC 2020 - 3.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/envoy-filter-replace-operation.yaml
"lua_cluster", { [":method"] = "POST", [":path"] = "/acl", [":authority"] = "internal.org.net" }, "authorize call", 5000) end --- apiVersion: networking.istio.io/v1alpha3 kind: EnvoyFilter metadata: name: test-replace-3 namespace: bookinfo spec: workloadSelector:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 31 19:38:42 UTC 2022 - 4.9K bytes - Viewed (0) -
pkg/auth/authorizer/abac/abac.go
return true } } } } return false } // Authorize implements authorizer.Authorize func (pl PolicyList) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { for _, p := range pl { if matches(*p, a) { return authorizer.DecisionAllow, "", nil } } return authorizer.DecisionNoOpinion, "No policy matched.", nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 11 03:11:30 UTC 2021 - 7.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1beta1_test.go
serv.statusCode = test.statusCode authorized, _, err := wh.Authorize(context.Background(), test.attr) if test.expectedErr && err == nil { t.Fatalf("%d: Expected error", i) } else if !test.expectedErr && err != nil { t.Fatalf("%d: unexpected error: %v", i, err) } if test.expectedAuthorized != (authorized == authorizer.DecisionAllow) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 19.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/absolute-envoy-filter-operation.yaml
"lua_cluster", { [":method"] = "POST", [":path"] = "/acl", [":authority"] = "internal.org.net" }, "authorize call", 5000) end # The second patch adds the cluster that is referenced by the lua code # cds match is omitted as a new cluster is being added - applyTo: CLUSTER match:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 28 12:58:54 UTC 2023 - 3.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/authz.go
GetSubresource() string } func NewAuthorizerVal(userInfo user.Info, authorizer authorizer.Authorizer) ref.Val { return authorizerVal{receiverOnlyObjectVal: receiverOnlyVal(AuthorizerType), userInfo: userInfo, authAuthorizer: authorizer} } func NewResourceAuthorizerVal(userInfo user.Info, authorizer authorizer.Authorizer, requestResource Resource) ref.Val {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 21:31:27 UTC 2023 - 21.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/rbac.go
var ( resourceRules []authorizer.ResourceRuleInfo nonResourceRules []authorizer.NonResourceRuleInfo ) policyRules, err := r.authorizationRuleResolver.RulesFor(user, namespace) for _, policyRule := range policyRules { if len(policyRule.Resources) > 0 { r := authorizer.DefaultResourceRuleInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 24 10:13:50 UTC 2022 - 7.8K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicybinding/strategy.go
func NewStrategy(authorizer authorizer.Authorizer, policyGetter PolicyGetter, resourceResolver resolver.ResourceResolver) *validatingAdmissionPolicyBindingStrategy { return &validatingAdmissionPolicyBindingStrategy{ ObjectTyper: legacyscheme.Scheme, NameGenerator: names.SimpleNameGenerator, authorizer: authorizer, policyGetter: policyGetter, resourceResolver: resourceResolver,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 21:29:56 UTC 2022 - 5.5K bytes - Viewed (0) -
plugin/pkg/admission/gc/gc_admission.go
} func (a *gcPermissionsEnforcement) SetAuthorizer(authorizer authorizer.Authorizer) { a.authorizer = authorizer } func (a *gcPermissionsEnforcement) SetRESTMapper(restMapper meta.RESTMapper) { a.restMapper = restMapper } func (a *gcPermissionsEnforcement) ValidateInitialization() error { if a.authorizer == nil { return fmt.Errorf("missing authorizer") } if a.restMapper == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 10.3K bytes - Viewed (0) -
pkg/registry/authorization/subjectaccessreview/rest.go
"k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/registry/rest" authorizationapi "k8s.io/kubernetes/pkg/apis/authorization" authorizationvalidation "k8s.io/kubernetes/pkg/apis/authorization/validation" authorizationutil "k8s.io/kubernetes/pkg/registry/authorization/util" ) type REST struct { authorizer authorizer.Authorizer } func NewREST(authorizer authorizer.Authorizer) *REST { return &REST{authorizer}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 18 09:21:13 UTC 2022 - 2.7K bytes - Viewed (0)