collaset

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 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 MutatingHandler

type MutatingHandler struct {
	*mixin.WebhookHandlerMixin
}

func NewMutatingHandler

func NewMutatingHandler() *MutatingHandler

func (*MutatingHandler) Handle

func (h *MutatingHandler) Handle(ctx context.Context, req admission.Request) (resp admission.Response)

func (*MutatingHandler) InjectClient

func (h *MutatingHandler) InjectClient(c client.Client) error

func (*MutatingHandler) InjectDecoder

func (h *MutatingHandler) InjectDecoder(d *admission.Decoder) error

type ValidatingHandler

type ValidatingHandler struct {
	*mixin.WebhookHandlerMixin
}

func NewValidatingHandler

func NewValidatingHandler() *ValidatingHandler

func (*ValidatingHandler) Handle

func (*ValidatingHandler) InjectClient

func (h *ValidatingHandler) InjectClient(c client.Client) error

func (*ValidatingHandler) InjectDecoder

func (h *ValidatingHandler) InjectDecoder(d *admission.Decoder) error

Jump to

Keyboard shortcuts

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