operand

package
v0.5.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAbortStrategy = errors.New(`operand deletion aborted: one or more operands exist and operand strategy is "abort"`)

Functions

This section is empty.

Types

type DeletionStrategy

type DeletionStrategy string

DeletionStrategy describes how to handle operands on-cluster when deleting the associated operator.

const (
	// Abort is the default deletion strategy: it will abort the deletion operation if operands are on-cluster.
	Abort DeletionStrategy = "abort"
	// Ignore will ignore the operands when deleting the operator, in effect orphaning them.
	Ignore DeletionStrategy = "ignore"
	// Delete will delete the operands associated with the operator before deleting the operator, allowing finalizers to run.
	Delete DeletionStrategy = "delete"
)

func (*DeletionStrategy) Set

func (d *DeletionStrategy) Set(str string) error

func (DeletionStrategy) String

func (d DeletionStrategy) String() string

func (DeletionStrategy) Type

func (d DeletionStrategy) Type() string

func (DeletionStrategy) Valid

func (d DeletionStrategy) Valid() error

Jump to

Keyboard shortcuts

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