databackup

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FINALIZER        = "fluid-databackup-controller-finalizer"
	BACPUP_PATH_POD  = "/alluxio_backups"
	DATABACKUP_CHART = "fluid-databackup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConditionType

type ConditionType string

ConditionType is a valid value for DataBackupCondition.Type

const (
	// Complete means the DataBackup has completed its execution.
	Complete ConditionType = "Complete"
	// Failed means the DataBackup has failed its execution.
	Failed ConditionType = "Failed"
)

These are valid conditions of a DataBackup.

type DataBackup

type DataBackup struct {
	Namespace string `yaml:"namespace,omitempty"`
	Dataset   string `yaml:"dataset,omitempty"`
	Name      string `yaml:"name,omitempty"`
	NodeName  string `yaml:"nodeName,omitempty"`
	Image     string `yaml:"image,omitempty"`
	JavaEnv   string `yaml:"javaEnv,omitempty"`
	Workdir   string `yaml:"workdir,omitempty"`
	PVCName   string `yaml:"pvcName,omitempty"`
	Path      string `yaml:"path,omitempty"`
}

DataBackup defines values used in DataBackup helm chart

type DataBackupValue

type DataBackupValue struct {
	DataBackup DataBackup `yaml:"dataBackup"`
}

DataBackupValue defines the value yaml file used in DataBackup helm chart

type Phase

type Phase string
const (
	PhaseNone      Phase = ""
	PhasePending   Phase = "Pending"
	PhaseBackuping Phase = "Backuping"
	PhaseComplete  Phase = "Complete"
	PhaseFailed    Phase = "Failed"
)

Jump to

Keyboard shortcuts

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