Documentation ¶
Index ¶
- func BackupContainers() error
- func DeleteOldBackups() error
- func GetHostBackupPath(containers []types.Container) string
- func Init()
- func MonitorContainers(contInfos *[]ContainerInfo) error
- func PullImage(imageName string) error
- func RemoveContainer(containerId string) error
- func RunBackupHelperForContainer(container types.Container, hostBackupPath string) error
- func RunContainer(p RunContainerParams) ([]byte, error)
- func RunOSCmd(cmdType, cmd string) ([]byte, error)
- type ContainerInfo
- type RunContainerParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupContainers ¶
func BackupContainers() error
func DeleteOldBackups ¶
func DeleteOldBackups() error
func GetHostBackupPath ¶
func MonitorContainers ¶
func MonitorContainers(contInfos *[]ContainerInfo) error
func RemoveContainer ¶
func RunContainer ¶
func RunContainer(p RunContainerParams) ([]byte, error)
Types ¶
type ContainerInfo ¶
Click to show internal directories.
Click to hide internal directories.