apiserver: k8s.io/apiserver/pkg/admission/plugin/webhook/initializer Index | Files

package initializer

import "k8s.io/apiserver/pkg/admission/plugin/webhook/initializer"

Index

Package Files

initializer.go

type PluginInitializer Uses

type PluginInitializer struct {
    // contains filtered or unexported fields
}

PluginInitializer is used for initialization of the webhook admission plugin.

func NewPluginInitializer Uses

func NewPluginInitializer(
    authenticationInfoResolverWrapper webhook.AuthenticationInfoResolverWrapper,
    serviceResolver webhook.ServiceResolver,
) *PluginInitializer

NewPluginInitializer constructs new instance of PluginInitializer

func (*PluginInitializer) Initialize Uses

func (i *PluginInitializer) Initialize(plugin admission.Interface)

Initialize checks the initialization interfaces implemented by each plugin and provide the appropriate initialization data

type ServiceResolver Uses

type ServiceResolver interface {
    ResolveEndpoint(namespace, name string, port int32) (*url.URL, error)
}

ServiceResolver knows how to convert a service reference into an actual location.

type WantsAuthenticationInfoResolverWrapper Uses

type WantsAuthenticationInfoResolverWrapper interface {
    SetAuthenticationInfoResolverWrapper(wrapper webhook.AuthenticationInfoResolverWrapper)
    admission.InitializationValidator
}

WantsAuthenticationInfoResolverWrapper defines a function that wraps the standard AuthenticationInfoResolver to allow the apiserver to control what is returned as auth info

type WantsServiceResolver Uses

type WantsServiceResolver interface {
    SetServiceResolver(webhook.ServiceResolver)
}

WantsServiceResolver defines a function that accepts a ServiceResolver for admission plugins that need to make calls to services.

Package initializer imports 3 packages (graph) and is imported by 32 packages. Updated 2019-05-08. Refresh now. Tools for package owners.