openstackbackup

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanNamespace

func CleanNamespace(
	ctx context.Context,
	r common.ReconcilerCommon,
	namespace string,
	crLists ospdirectorv1beta2.CrsForBackup,
	cmList corev1.ConfigMapList,
	secretList corev1.SecretList,
) (bool, error)

CleanNamespace - deleted CRs, ConfigMaps and Secrets in this namespace

func GetAreControllersQuiesced

func GetAreControllersQuiesced(
	instance *ospdirectorv1beta1.OpenStackBackupRequest,
	crLists ospdirectorv1beta2.CrsForBackup,
) (bool, []client.Object)

GetAreControllersQuiesced - returns true if all desired CRs for backup are in their respective "finished" state, or false with a list of "bad" CRs if otherwise

func GetAreResourcesRestored

func GetAreResourcesRestored(
	backup *ospdirectorv1beta2.OpenStackBackup,
	crLists ospdirectorv1beta2.CrsForBackup,
) (bool, []client.Object)

GetAreResourcesRestored - returns true if all desired CRs for backup restore are in their respective "finished" state, or false with a list of "bad" CRs if otherwise

func GetCRLists

GetCRLists - Get lists of all OSP-D operator resources in the namespace that we care to save/restore

func GetConfigMapList

GetConfigMapList - Get list of all OSP-D operator config maps in the namespace that we care to save/restore

func GetSecretList

GetSecretList - Get list of all OSP-D operator secrets in the namespace that we care to save/restore

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL