initializer

package
v1.5.0-alpha.0....-41f928f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(extClientset kubernetes.Interface, extInformers informers.SharedInformerFactory, authz authorizer.Authorizer, serverIdentifyingClientCert, serverIdentifyingClientKey []byte) (pluginInitializer, error)

New creates an instance of admission plugins initializer. TODO(p0lyn0mial): make the parameters public, this construction seems to be redundant.

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 WantsClientCert

type WantsClientCert interface {
	SetClientCert(cert, key []byte)
	admission.Validator
}

WantsClientCert defines a fuction that accepts a cert & key for admission plugins that need to make calls and prove their identity.

type WantsExternalKubeClientSet

type WantsExternalKubeClientSet interface {
	SetExternalKubeClientSet(kubernetes.Interface)
	admission.Validator
}

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

type WantsExternalKubeInformerFactory

type WantsExternalKubeInformerFactory interface {
	SetExternalKubeInformerFactory(informers.SharedInformerFactory)
	admission.Validator
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL