Documentation
¶
Overview ¶
Package physical provides jobs for physical initial operations.
Index ¶
Constants ¶
View Source
const (
// RestoreJobType defines the physical job type.
RestoreJobType = "physicalRestore"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyOptions ¶
type CopyOptions struct {
Tool string `yaml:"tool"`
DockerImage string `yaml:"dockerImage"`
Envs map[string]string `yaml:"envs"`
WALG walgOptions `yaml:"walg"`
CustomTool customOptions `yaml:"customTool"`
Sync Sync `yaml:"sync"`
}
CopyOptions describes options for physical copying.
type HealthCheck ¶
HealthCheck describes health check options of a sync instance.
type RestoreJob ¶
type RestoreJob struct {
CopyOptions
// contains filtered or unexported fields
}
RestoreJob describes a job for physical restoring.
func (*RestoreJob) Reload ¶
func (r *RestoreJob) Reload(cfg map[string]interface{}) (err error)
Reload reloads job configuration.
Click to show internal directories.
Click to hide internal directories.