webhook

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeValidator

type NodeValidator struct {
	Decoder admission.Decoder
	Client  client.Client
}

NodeValidator is the struct used to validate the nodes

func (*NodeValidator) Handle

type Operation

type Operation string

Operation represents the type of operation being performed

const (
	ForbiddenUsersEnv           = "forbiddenUsers"
	Create            Operation = "create"
	Delete            Operation = "delete"
	Cordon            Operation = "cordon"
	Uncordon          Operation = "uncordon"
)

Jump to

Keyboard shortcuts

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