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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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