package authorizer
import "k8s.io/kubernetes/pkg/kubeapiserver/authorizer"
Index ¶
Types ¶
type Config ¶
type Config 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 // TTL for caching of unauthorized responses from the webhook server. time.Duration VersionedInformerFactory versionedinformers.SharedInformerFactory }
Config contains the data on how to authorize a request to the Kube API Server
func (Config) New ¶
func (config Config) 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.
Source Files ¶
config.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubeapiserver/authorizer/modes |
- Version
- v1.15.0-rc.1
- Published
- Jun 11, 2019
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 18 seconds ago –
Tools for package owners.