tasks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PreservedExt = "old"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanupTask

type CleanupTask struct {
	// contains filtered or unexported fields
}

func NewCleanupTask

func NewCleanupTask(bckSrc string, bckDst string, artifacts backup.Artifacts, keepLocal bool) CleanupTask

func (CleanupTask) Exec

func (t CleanupTask) Exec() error

func (CleanupTask) Name

func (t CleanupTask) Name() string

func (CleanupTask) Rollback

func (t CleanupTask) Rollback() error

type EncryptedBackupTask

type EncryptedBackupTask struct {
	// contains filtered or unexported fields
}

func NewEncryptedBackupTask

func NewEncryptedBackupTask(src string, artifacts backup.Artifacts, pass string, ignoreFileChange bool) EncryptedBackupTask

func (EncryptedBackupTask) Exec

func (t EncryptedBackupTask) Exec() error

func (EncryptedBackupTask) Name

func (t EncryptedBackupTask) Name() string

func (EncryptedBackupTask) Rollback

func (t EncryptedBackupTask) Rollback() error

type PreserveTask

type PreserveTask struct {
	// contains filtered or unexported fields
}

func NewPreserveTask

func NewPreserveTask(backupSrc string, backupDst string) *PreserveTask

func (*PreserveTask) Exec

func (t *PreserveTask) Exec() error

func (*PreserveTask) Name

func (t *PreserveTask) Name() string

func (*PreserveTask) Rollback

func (t *PreserveTask) Rollback() error

type SaveArtifactsTask

type SaveArtifactsTask struct {
	// contains filtered or unexported fields
}

func NewSaveArtifactsTask

func NewSaveArtifactsTask(manifest string, archive string, dbClient persistent.DBClient, workflowId int64) *SaveArtifactsTask

func (*SaveArtifactsTask) Exec

func (t *SaveArtifactsTask) Exec() error

func (*SaveArtifactsTask) Name

func (t *SaveArtifactsTask) Name() string

func (*SaveArtifactsTask) Rollback

func (t *SaveArtifactsTask) Rollback() error

type UploadToGlacierTask

type UploadToGlacierTask struct {
	// contains filtered or unexported fields
}

func NewUploadToGlacierTask

func NewUploadToGlacierTask(archive string, account string, vault string, profile string) UploadToGlacierTask

func (UploadToGlacierTask) Exec

func (t UploadToGlacierTask) Exec() error

func (UploadToGlacierTask) Name

func (t UploadToGlacierTask) Name() string

func (UploadToGlacierTask) Rollback

func (t UploadToGlacierTask) Rollback() error

Jump to

Keyboard shortcuts

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