Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 257 for authorizer (0.6 sec)

  1. 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)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    func (v *validator) Validate(ctx context.Context, matchedResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *corev1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) ValidateResult {
    	var f v1.FailurePolicyType
    	if v.failPolicy == nil {
    		f = v1.Fail
    	} else {
    		f = *v.failPolicy
    	}
    	if v.celMatcher != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apiserver/pkg/admission/plugin/policy/generic"
    	"k8s.io/apiserver/pkg/admission/plugin/policy/matching"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/client-go/tools/cache"
    )
    
    func makeTestDispatcher(authorizer.Authorizer, *matching.Matcher) generic.Dispatcher[generic.PolicyHook[*FakePolicy, *FakeBinding, generic.Evaluator]] {
    	return nil
    }
    
    func TestPolicySourceHasSyncedEmpty(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    	return nil
    }
    
    type alwaysAllowAuthorizer struct{}
    
    func (f alwaysAllowAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	return authorizer.DecisionAllow, "", nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1/types.go

    // +structType=atomic
    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 `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// 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 May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics_test.go

    			# TYPE apiserver_authorization_match_condition_evaluation_errors_total counter
    			apiserver_authorization_match_condition_evaluation_errors_total{name="wh1.example.com",type="Webhook"} 1
    			# HELP apiserver_authorization_match_condition_evaluation_seconds [ALPHA] Authorization match condition evaluation time in seconds, split by authorizer type and name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    			},
    		},
    		{
    			name:   "authorizer",
    			policy: authorizerPolicy,
    			schemaToReturn: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type: []string{"object"},
    					Properties: map[string]spec.Schema{
    						"foo": *spec.StringProperty(),
    					},
    				},
    			},
    			assertions: []assertionFunc{toBeEmpty},
    		},
    		{
    			name:   "authorizer invalid",
    			policy: authorizerInvalidPolicy,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // - 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
      //   See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
      // - 'authorizer.requestResource' - A CEL ResourceCheck constructed from the 'authorizer' and configured with the
      //   request resource.
      //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1alpha1/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 `json:"kind" protobuf:"bytes,1,opt,name=kind"`
    	// APIVersion holds the API group and version of the referenced subject.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/config.go

    	Authenticator authenticator.Request
    
    	RequestHeaderConfig *authenticatorfactory.RequestHeaderConfig
    }
    
    type AuthorizationInfo struct {
    	// Authorizer determines whether the subject is allowed to make the request based only
    	// on the RequestURI
    	Authorizer authorizer.Authorizer
    }
    
    func init() {
    	utilruntime.Must(features.AddFeatureGates(utilfeature.DefaultMutableFeatureGate))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top