Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 318 for Authorize (2.97 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go

    	celconfig "k8s.io/apiserver/pkg/apis/cel"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/apiserver/pkg/warning"
    	"k8s.io/klog/v2"
    )
    
    type dispatcher struct {
    	matcher generic.PolicyMatcher
    	authz   authorizer.Authorizer
    }
    
    var _ generic.Dispatcher[PolicyHook] = &dispatcher{}
    
    func NewDispatcher(
    	authorizer authorizer.Authorizer,
    	matcher generic.PolicyMatcher,
    ) generic.Dispatcher[PolicyHook] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    		if err != nil {
    			return nil, -1, err
    		}
    	}
    
    	if inputs.Authorizer != nil {
    		authorizerVal = library.NewAuthorizerVal(versionedAttr.GetUserInfo(), inputs.Authorizer)
    		requestResourceAuthorizerVal = library.NewResourceAuthorizerVal(versionedAttr.GetUserInfo(), inputs.Authorizer, versionedAttr)
    	}
    
    	requestVal, err := convertObjectToUnstructured(request)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. pkg/kubelet/server/auth_test.go

    )
    
    type AuthzTestCase struct {
    	Method, Path string
    
    	ExpectedVerb, ExpectedSubresource string
    }
    
    func (a *AuthzTestCase) AssertAttributes(t *testing.T, attrs authorizer.Attributes) {
    	expectedAttributes := authorizer.AttributesRecord{
    		User:            AuthzTestUser(),
    		APIGroup:        "",
    		APIVersion:      "v1",
    		Verb:            a.ExpectedVerb,
    		Resource:        "nodes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. pkg/apis/rbac/types.go

    // or a value for non-objects such as user and group names.
    type Subject struct {
    	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
    	// If the Authorizer does not recognized the kind value, the Authorizer should report an error.
    	Kind string
    	// APIGroup holds the API group of the referenced subject.
    	// Defaults to "" for ServiceAccount subjects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/rbac/v1/generated.proto

    // +structType=atomic
    message Subject {
      // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
      // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
      optional string kind = 1;
    
      // APIGroup holds the API group of the referenced subject.
      // Defaults to "" for ServiceAccount subjects.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    			},
    		},
    		{
    			name:          "with authorizer",
    			hasAuthorizer: true,
    			expressions: []string{
    				"authorizer.group('') != null",
    			},
    		},
    		{
    			name: "without authorizer",
    			errorExpressions: map[string]string{
    				"authorizer.group('') != null": "undeclared reference to 'authorizer'",
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/rbac/v1/generated.proto

    // +structType=atomic
    message Subject {
      // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
      // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
      optional string kind = 1;
    
      // APIGroup holds the API group of the referenced subject.
      // Defaults to "" for ServiceAccount subjects.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

    // or a value for non-objects such as user and group names.
    message Subject {
      // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
      // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
      optional string kind = 1;
    
      // APIVersion holds the API group and version of the referenced subject.
      // Defaults to "v1" for ServiceAccount subjects.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1beta1/types_swagger_doc_generated.go

    	"kind":      "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/rbac/v1/types_swagger_doc_generated.go

    	"kind":      "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top