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
Click to show internal directories.
Click to hide internal directories.