Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backup ¶
func Backup( ctx context.Context, c client.Client, log *zap.Logger, clusterInstance *v1alpha1.ClusterInstance, ) (err error)
Backup preserves ConfigMaps and Secrets based on the specified preservation mode. The outcome of each backup is logged and any errors encountered are aggregated.
func Cleanup ¶
func Cleanup( ctx context.Context, c client.Client, deletionHandler *deletion.DeletionHandler, log *zap.Logger, clusterInstance *v1alpha1.ClusterInstance, ) (completedCleanup bool, err error)
Cleanup deletes preserved ConfigMaps and Secrets. The outcome of each deletion is logged and any errors encountered are aggregated.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.