webhook

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 19 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, opt *WebhookOptions) (*ValidatingHook, error)

func (*ValidatingHook) DaemonSetCreateHook

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

func (*ValidatingHook) DaemonSetDeleteHook

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

func (*ValidatingHook) DaemonSetUpdateHook

func (v *ValidatingHook) DaemonSetUpdateHook(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) DeploymentDeleteHook

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

func (*ValidatingHook) DeploymentUpdateHook

func (v *ValidatingHook) DeploymentUpdateHook(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) PodDeleteHook

func (v *ValidatingHook) PodDeleteHook(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) StatefulSetDeleteHook

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

func (*ValidatingHook) StatefulSetUpdateHook

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

type WebhookOptions

type WebhookOptions struct {
	OvnNbHost    string
	OvnNbPort    int
	OvnNbTimeout int
	DefaultLS    string
}

Jump to

Keyboard shortcuts

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