collaset

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 20 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