Documentation
¶
Overview ¶
Package base contains a simple engine to return a predefined (YAML) pod-spec in order not to invent the wheel over and over again
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct{}
Engine is a baseic implementation of the backupengine interface
func (Engine) CreateBackup ¶
CreateBackup is not supported by this engine
func (Engine) GetPodSpec ¶
GetPodSpec generates a pod-spec from the given backup specificiation containing required volume mounts from secrets or envFrom definitions (and possible other special cases). The PVC to store the backup is added later and must not be included in this spec
func (Engine) RestoreBackup ¶
func (Engine) RestoreBackup(helper.ReaderAtCloser) error
RestoreBackup is not supported by this engine
Click to show internal directories.
Click to hide internal directories.