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

package admission

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

Index

Functions

func NewPluginInitializer

func NewPluginInitializer(internalClient internalclientset.Interface,
	sharedInformers informers.SharedInformerFactory,
	authz authorizer.Authorizer,
	cloudConfig []byte,
	restMapper meta.RESTMapper,
	quotaRegistry quota.Registry) admission.PluginInitializer

NewPluginInitializer constructs new instance of PluginInitializer

Types

type WantsAuthorizer

type WantsAuthorizer interface {
	SetAuthorizer(authorizer.Authorizer)
	admission.Validator
}

WantsAuthorizer defines a function which sets Authorizer for admission plugins that need it.

type WantsCloudConfig

type WantsCloudConfig interface {
	SetCloudConfig([]byte)
}

WantsCloudConfig defines a function which sets CloudConfig for admission plugins that need it.

type WantsInternalKubeClientSet

type WantsInternalKubeClientSet interface {
	SetInternalKubeClientSet(internalclientset.Interface)
	admission.Validator
}

WantsInternalKubeClientSet defines a function which sets ClientSet for admission plugins that need it

type WantsInternalKubeInformerFactory

type WantsInternalKubeInformerFactory interface {
	SetInternalKubeInformerFactory(informers.SharedInformerFactory)
	admission.Validator
}

WantsInternalKubeInformerFactory defines a function which sets InformerFactory for admission plugins that need it

type WantsQuotaRegistry

type WantsQuotaRegistry interface {
	SetQuotaRegistry(quota.Registry)
	admission.Validator
}

WantsQuotaRegistry defines a function which sets quota registry for admission plugins that need it.

type WantsRESTMapper

type WantsRESTMapper interface {
	SetRESTMapper(meta.RESTMapper)
}

WantsRESTMapper defines a function which sets RESTMapper for admission plugins that need it.

Source Files

initializer.go

Directories

PathSynopsis
pkg/kubeapiserver/admission/configuration
Version
v1.7.0-beta.0
Published
Jun 2, 2017
Platform
js/wasm
Imports
6 packages
Last checked
7 minutes ago

Tools for package owners.