Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewLRUExpireCache (0.15 sec)

  1. plugin/pkg/admission/imagepolicy/admission.go

    	if err != nil {
    		return nil, err
    	}
    	return &Plugin{
    		Handler:       admission.NewHandler(admission.Create, admission.Update),
    		webhook:       gw,
    		responseCache: cache.NewLRUExpireCache(1024),
    		allowTTL:      whConfig.AllowTTL,
    		denyTTL:       whConfig.DenyTTL,
    		defaultAllow:  whConfig.DefaultAllow,
    	}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    	}
    	if cm != nil {
    		cm.AuthorizerType = "Webhook"
    		cm.AuthorizerName = name
    		cm.Metrics = am
    	}
    	return &WebhookAuthorizer{
    		subjectAccessReview: subjectAccessReview,
    		responseCache:       cache.NewLRUExpireCache(8192),
    		authorizedTTL:       authorizedTTL,
    		unauthorizedTTL:     unauthorizedTTL,
    		retryBackoff:        retryBackoff,
    		decisionOnError:     decisionOnError,
    		metrics:             am,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top