Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletionPolicy ¶
type DeletionPolicy string
A DeletionPolicy determines what should happen to the underlying external resource when a managed resource is deleted.
const ( // DeletionOrphan means the external resource will orphaned when its managed // resource is deleted. DeletionOrphan DeletionPolicy = "orphan" // DeletionDelete means both the external resource will be deleted when its // managed resource is deleted. DeletionDelete DeletionPolicy = "delete" )
type Lifecycle ¶
type Lifecycle struct { // DeletionPolicy specifies what will happen to the underlying resource // when this resource is deleted - either "delete" or "orphan" the // resource. // +kubebuilder:validation:Enum=`delete`;`orphan` // +kubebuilder:default=delete DeletionPolicy DeletionPolicy `json:"deletionPolicy,omitempty"` }
Click to show internal directories.
Click to hide internal directories.