Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationConfig ¶
type AuthorizationConfig struct { AuthorizationModes []string // Path to an ABAC policy file. PolicyFile string // Kubeconfig file for Webhook authorization plugin. WebhookConfigFile string // TTL for caching of authorized responses from the webhook server. WebhookCacheAuthorizedTTL time.Duration WebhookCacheUnauthorizedTTL time.Duration InformerFactory informers.SharedInformerFactory VersionedInformerFactory versionedinformers.SharedInformerFactory }
func (AuthorizationConfig) New ¶
func (config AuthorizationConfig) New() (authorizer.Authorizer, authorizer.RuleResolver, error)
New returns the right sort of union of multiple authorizer.Authorizer objects based on the authorizationMode or an error.
Click to show internal directories.
Click to hide internal directories.