targets

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	FileExtension string
}

func NewDockerClient

func NewDockerClient() DockerClient

func (DockerClient) BackupDockerVolume

func (c DockerClient) BackupDockerVolume(details domain.RunDetails, config domain.ContainerDocker) error

This will return the location of the new file on disk if it was successful

func (DockerClient) GetValidFileName

func (c DockerClient) GetValidFileName(config domain.ConfigContainerTar, directory string) (string, error)

This will update the filename if one already exists with a number appended

Jump to

Keyboard shortcuts

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