Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShouldBeOrphaned ¶
Types ¶
type OrphanManagedResourcesBehavior ¶
type OrphanManagedResourcesBehavior string
const ( // If this annotation is present on a federated resource, it controls the // manner in which resources in the member clusters are orphaned when the // federated resource is deleted. // If the annotation is not present (the default), resources in member // clusters will be deleted before the federated resource is deleted. OrphanManagedResourcesAnnotation = common.DefaultPrefix + "orphan" OrphanManagedResourcesInternalAnnotation = common.InternalPrefix + "orphan" // Orphan all managed resources OrphanManagedResourcesAll OrphanManagedResourcesBehavior = "all" // Orphan only the adopted resources OrphanManagedResourcesAdopted OrphanManagedResourcesBehavior = "adopted" // Orphaning disabled, delete managed resources OrphanManagedResourcesNone OrphanManagedResourcesBehavior = "" )
func GetOrphaningBehavior ¶
func GetOrphaningBehavior(obj metav1.Object) OrphanManagedResourcesBehavior
Click to show internal directories.
Click to hide internal directories.