kubernetesk8s.io/kubernetes/pkg/kubeapiserver/authorizer Index | Files | Directories

package authorizer

import "k8s.io/kubernetes/pkg/kubeapiserver/authorizer"

Index

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
	// TTL for caching of unauthorized responses from the webhook server.
	WebhookCacheUnauthorizedTTL time.Duration

	InformerFactory          informers.SharedInformerFactory
	VersionedInformerFactory versionedinformers.SharedInformerFactory
}

func (AuthorizationConfig) New

New returns the right sort of union of multiple authorizer.Authorizer objects based on the authorizationMode or an error.

Source Files

config.go

Directories

PathSynopsis
pkg/kubeapiserver/authorizer/modes
Version
v1.11.0
Published
Jun 27, 2018
Platform
js/wasm
Imports
14 packages
Last checked
2 minutes ago

Tools for package owners.