operations

package
v3.9.9 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Audit           = Operation("audit")
	Status          = Operation("status")
	MutationStatus  = Operation("mutation-status")
	MutationWebhook = Operation("mutation-webhook")
	Webhook         = Operation("webhook")
)

All defined Operations.

Variables

This section is empty.

Functions

func AssignedOperations

func AssignedOperations() map[Operation]bool

AssignedOperations returns a map of operations assigned to the pod.

func AssignedStringList

func AssignedStringList() []string

AssignedStringList returns a list of all operations assigned to the pod as a sorted list of strings.

func HasValidationOperations

func HasValidationOperations() bool

HasValidationOperations returns `true` if there are any operations that would require a constraint/template controller.

func IsAssigned

func IsAssigned(op Operation) bool

IsAssigned returns true when the provided operation is assigned to the pod.

Types

type Operation

type Operation string

Jump to

Keyboard shortcuts

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