podtransitionrule

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCaBundle

func CheckCaBundle(ca string) error

func CheckServerReachable

func CheckServerReachable(serverUrl string) error

func SetDefaultPodTransitionRule

func SetDefaultPodTransitionRule(rs *appsv1alpha1.PodTransitionRule)

func ValidateWebhook

func ValidateWebhook(webhook *appsv1alpha1.TransitionRuleWebhook, f *field.Path) *field.Error

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)

type ValidatingHandler

type ValidatingHandler struct {
	*mixin.WebhookHandlerMixin
}

func NewValidatingHandler

func NewValidatingHandler() *ValidatingHandler

func (*ValidatingHandler) Handle

Jump to

Keyboard shortcuts

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