Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 623 for authorizes (0.28 sec)

  1. 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)
  2. plugin/pkg/auth/authorizer/node/node_authorizer.go

    		return authorizer.DecisionAllow, "", nil
    	}
    	return authorizer.DecisionNoOpinion, "", nil
    }
    
    // authorizeStatusUpdate authorizes get/update/patch requests to status subresources of the specified type if they are related to the specified node
    func (r *NodeAuthorizer) authorizeStatusUpdate(nodeName string, startingType vertexType, attrs authorizer.Attributes) (authorizer.Decision, string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/authorizer/modes/modes.go

    const (
    	// ModeAlwaysAllow is the mode to set all requests as authorized
    	ModeAlwaysAllow string = "AlwaysAllow"
    	// ModeAlwaysDeny is the mode to set no requests as authorized
    	ModeAlwaysDeny string = "AlwaysDeny"
    	// ModeABAC is the mode to use Attribute Based Access Control to authorize
    	ModeABAC string = "ABAC"
    	// ModeWebhook is the mode to make an external webhook call to authorize
    	ModeWebhook string = "Webhook"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 05 01:22:41 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. docs/LICENSE

              its terms and conditions.
    
           3. Term. The term of this Public License is specified in Section
              6(a).
    
           4. Media and formats; technical modifications allowed. The
              Licensor authorizes You to exercise the Licensed Rights in
              all media and formats whether now known or hereafter created,
              and to make technical modifications necessary to do so. The
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 10 16:50:06 UTC 2021
    - 18.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/constants/constants.go

    	ModeABAC string = "ABAC"
    	// ModeWebhook is the mode to make an external webhook call to authorize
    	ModeWebhook string = "Webhook"
    	// ModeRBAC is the mode to use Role Based Access Control to authorize
    	ModeRBAC string = "RBAC"
    	// ModeNode is an authorization mode that authorizes API requests made by kubelets.
    	ModeNode string = "Node"
    
    	// PauseVersion indicates the default pause image version for kubeadm
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. LICENSE

    any patent claim is infringed by making, using, selling, offering for
    sale, or importing the Program or any portion of it.
    
      11. Patents.
    
      A "contributor" is a copyright holder who authorizes use under this
    License of the Program or a work on which the Program is based.  The
    work thus licensed is called the contributor's "contributor version".
    
      A contributor's "essential patent claims" are all patent claims
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/types.go

    // Authorization in the Kubelet.
    type KubeletWebhookAuthorization struct {
    	// cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer.
    	CacheAuthorizedTTL metav1.Duration
    	// cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer.
    	CacheUnauthorizedTTL metav1.Duration
    }
    
    // KubeletAuthentication holds the Kubetlet Authentication setttings.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authorization/union/union_test.go

    	cs := []struct {
    		authorizers []authorizer.Authorizer
    		decision    authorizer.Decision
    	}{
    		{
    			authorizers: []authorizer.Authorizer{},
    			decision:    authorizer.DecisionNoOpinion,
    		},
    		{
    			authorizers: []authorizer.Authorizer{
    				&mockAuthzHandler{decision: authorizer.DecisionNoOpinion},
    				&mockAuthzHandler{decision: authorizer.DecisionAllow},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 7.7K bytes
    - Viewed (0)
  10. 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)
Back to top