Documentation
¶
Index ¶
- func CleanupOrphanedClusterDeployments(ctx context.Context, c client.Client, colony *infrav1.Colony) (bool, error)
- func DeletePVCForClusterDeployment(ctx context.Context, c client.Client, ...) error
- func EnsureClusterDeployment(ctx context.Context, c client.Client, colony *infrav1.Colony, ...) error
- func WaitForClusterDeletion(ctx context.Context, c client.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupOrphanedClusterDeployments ¶ added in v0.3.4
func CleanupOrphanedClusterDeployments(ctx context.Context, c client.Client, colony *infrav1.Colony) (bool, error)
CleanupOrphanedClusterDeployments removes ClusterDeployment objects that are no longer referenced in the Colony spec but still exist in the status. Returns (hasPendingDeletions, error) - hasPendingDeletions is true if there are still ClusterDeployments being deleted that require a requeue.
func DeletePVCForClusterDeployment ¶ added in v0.4.10
func DeletePVCForClusterDeployment(ctx context.Context, c client.Client, clusterDeployment *k0rdentv1beta1.ClusterDeployment) error
DeletePVCForClusterDeployment deletes the PVC associated with a ClusterDeployment
func EnsureClusterDeployment ¶
func WaitForClusterDeletion ¶ added in v0.3.4
func WaitForClusterDeletion(ctx context.Context, c client.Client, clusterDeployment *k0rdentv1beta1.ClusterDeployment, timeout, interval time.Duration) error
WaitForClusterDeletion polls until the given ClusterDeployment is no longer found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.