Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 257 for authorizer (0.35 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/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)
  3. common-protos/k8s.io/api/rbac/v1beta1/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;
    
      // 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
    - 8.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    	"context"
    	"sync"
    
    	celmetrics "k8s.io/apiserver/pkg/authorization/cel"
    	webhookmetrics "k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics"
    	compbasemetrics "k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var registerMetrics sync.Once
    
    // RegisterMetrics registers authorizer metrics.
    func RegisterMetrics() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(requestTotal)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go

    					NewValidatingAdmissionPolicyAccessor,
    					NewValidatingAdmissionPolicyBindingAccessor,
    					compilePolicy,
    					f,
    					dynamicClient,
    					restMapper,
    				)
    			},
    			func(a authorizer.Authorizer, m *matching.Matcher) generic.Dispatcher[PolicyHook] {
    				return NewDispatcher(a, generic.NewPolicyMatcher(m))
    			},
    		),
    	}
    }
    
    // Validate makes an admission decision based on the request attributes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1beta1/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;
    
      // 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
    - 8.8K bytes
    - Viewed (0)
  10. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top