Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 583 for authorizer (0.16 sec)

  1. pkg/apis/authorization/types.go

    	// encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
    	Incomplete bool
    	// EvaluationError can appear in combination with Rules. It indicates an error occurred during
    	// rule evaluation, such as an authorizer that doesn't support rule evaluation, and that
    	// ResourceRules and/or NonResourceRules may be incomplete.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 08:53:21 UTC 2019
    - 10K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    limitations under the License.
    */
    
    package policy
    
    import (
    	"strings"
    
    	"k8s.io/apiserver/pkg/apis/audit"
    	auditinternal "k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    const (
    	// DefaultAuditLevel is the default level to audit at, if no policy rules are matched.
    	DefaultAuditLevel = audit.LevelNone
    )
    
    // NewPolicyRuleEvaluator creates a new policy rule evaluator.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  3. pkg/controlplane/apiserver/config.go

    	}
    
    	return
    }
    
    // BuildAuthorizer constructs the authorizer. If authorization is not set in s, it returns nil, nil, false, nil
    func BuildAuthorizer(ctx context.Context, s options.CompletedOptions, egressSelector *egressselector.EgressSelector, apiserverID string, versionedInformers clientgoinformers.SharedInformerFactory) (authorizer.Authorizer, authorizer.RuleResolver, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/apiserver/pkg/endpoints/handlers/responsewriters"
    	"k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/server/httplog"
    )
    
    // WithImpersonation is a filter that will inspect and check requests that attempt to change the user.Info for their requests
    func WithImpersonation(handler http.Handler, a authorizer.Authorizer, s runtime.NegotiatedSerializer) http.Handler {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/rbac/subject_locator.go

    limitations under the License.
    */
    
    // Package rbac implements the authorizer.Authorizer interface using roles base access control.
    package rbac
    
    import (
    	rbacv1 "k8s.io/api/rbac/v1"
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	rbacregistryvalidation "k8s.io/kubernetes/pkg/registry/rbac/validation"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 22 12:17:05 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  6. pkg/registry/admissionregistration/validatingadmissionpolicy/storage/storage.go

    func NewREST(optsGetter generic.RESTOptionsGetter, authorizer authorizer.Authorizer, resourceResolver resolver.ResourceResolver) (*REST, *StatusREST, error) {
    	r := &REST{}
    	strategy := validatingadmissionpolicy.NewStrategy(authorizer, resourceResolver)
    	store := &genericregistry.Store{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 23:43:34 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics/metrics.go

    	compbasemetrics "k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    // AuthorizerMetrics specifies a set of methods that are used to register various metrics for the webhook authorizer
    type AuthorizerMetrics interface {
    	// Request total and latency metrics
    	RequestMetrics
    	// Webhook count, latency, and fail open metrics
    	WebhookMetrics
    	// match condition metrics
    	cel.MatcherMetrics
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. pkg/controlplane/apiserver/apis.go

    		authorizationrest.RESTStorageProvider{Authorizer: c.Generic.Authorization.Authorizer, RuleResolver: c.Generic.RuleResolver},
    		certificatesrest.RESTStorageProvider{},
    		coordinationrest.RESTStorageProvider{},
    		rbacrest.RESTStorageProvider{Authorizer: c.Generic.Authorization.Authorizer},
    		svmrest.RESTStorageProvider{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/errors.go

    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    // Avoid emitting errors that look like valid HTML. Quotes are okay.
    var sanitizer = strings.NewReplacer(`&`, "&amp;", `<`, "&lt;", `>`, "&gt;")
    
    // Forbidden renders a simple forbidden error
    func Forbidden(ctx context.Context, attributes authorizer.Attributes, w http.ResponseWriter, req *http.Request, reason string, s runtime.NegotiatedSerializer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 21 16:18:47 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authorization/v1/generated.proto

      // encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.
      optional bool incomplete = 3;
    
      // EvaluationError can appear in combination with Rules. It indicates an error occurred during
      // rule evaluation, such as an authorizer that doesn't support rule evaluation, and that
      // ResourceRules and/or NonResourceRules may be incomplete.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top