job

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupHandler

type BackupHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (*BackupHandler) Create

func (r *BackupHandler) Create(
	site *sitev1.StagingSite,
	ctx context.Context,
	backupType jobv1.BackupType,
	now time.Time,
) error

func (*BackupHandler) EnsureFinalBackupIsComplete

func (r *BackupHandler) EnsureFinalBackupIsComplete(site *sitev1.StagingSite, ctx context.Context) (bool, error)

type DbInitJobHandler

type DbInitJobHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (DbInitJobHandler) EnsureJobsAreComplete

func (r DbInitJobHandler) EnsureJobsAreComplete(site *sitev1.StagingSite, ctx context.Context) (bool, error)

func (DbInitJobHandler) EnsureJobsAreCreated

func (r DbInitJobHandler) EnsureJobsAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)

type DbMigrationJobHandler

type DbMigrationJobHandler struct {
	Reader client.Reader
	Writer client.Writer
	Scheme *runtime.Scheme
}

func (DbMigrationJobHandler) EnsureJobsAreComplete

func (r DbMigrationJobHandler) EnsureJobsAreComplete(site *sitev1.StagingSite, ctx context.Context) (bool, error)

func (DbMigrationJobHandler) EnsureJobsAreCreated

func (r DbMigrationJobHandler) EnsureJobsAreCreated(site *sitev1.StagingSite, ctx context.Context) (bool, error)

Jump to

Keyboard shortcuts

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