backup

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultRetentionTime = "6h"
View Source
const EnforceRetentionInterval = "@every 5m"

Variables

This section is empty.

Functions

func CreateTarAndGzip

func CreateTarAndGzip(backupPath, targetGzipPath, targetGzipFile, backupCRName string) error

func Register

func Register(
	ctx context.Context,
	backups backupControllers.BackupController,
	resourceSets backupControllers.ResourceSetController,
	secrets v1core.SecretController,
	namespaces v1core.NamespaceController,
	clientSet *clientset.Clientset,
	dynamicInterface dynamic.Interface,
	defaultBackupLocation string)

func StartBackupRetentionCheckDaemon

func StartBackupRetentionCheckDaemon(ctx context.Context, backups resourceController.BackupController,
	namespaces v1core.NamespaceController,
	dynamicInterface dynamic.Interface,
	retentionSchedule, DefaultBackupLocation string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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