operations

package
v0.0.0-...-48ed4f0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

All defined Operations.

Variables

This section is empty.

Functions

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