webhook

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidatingHook

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

func NewValidatingHook

func NewValidatingHook(c cache.Cache) (*ValidatingHook, error)

func (*ValidatingHook) DaemonSetCreateHook

func (v *ValidatingHook) DaemonSetCreateHook(ctx context.Context, req admission.Request) admission.Response

func (*ValidatingHook) DeploymentCreateHook

func (v *ValidatingHook) DeploymentCreateHook(ctx context.Context, req admission.Request) admission.Response

func (*ValidatingHook) Handle

func (v *ValidatingHook) Handle(ctx context.Context, req admission.Request) (resp admission.Response)

func (*ValidatingHook) InjectClient

func (v *ValidatingHook) InjectClient(c client.Client) error

func (*ValidatingHook) InjectDecoder

func (v *ValidatingHook) InjectDecoder(d *admission.Decoder) error

func (*ValidatingHook) PodCreateHook

func (v *ValidatingHook) PodCreateHook(ctx context.Context, req admission.Request) admission.Response

func (*ValidatingHook) StatefulSetCreateHook

func (v *ValidatingHook) StatefulSetCreateHook(ctx context.Context, req admission.Request) admission.Response

func (*ValidatingHook) SubnetCreateHook added in v1.9.0

func (v *ValidatingHook) SubnetCreateHook(ctx context.Context, req admission.Request) admission.Response

Jump to

Keyboard shortcuts

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