Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContainerIDsOfMounts ¶
func GetContainerIDsOfMounts(mounts []S3Mount, dockerW *dockerwrapper.DockerWrapper) []string
Types ¶
type S3Mount ¶
type S3Mount struct { ContainerName string Dest string Snapshots []resticwrapper.Snapshot SelectedSnapshotID string }
func (*S3Mount) SelectSnapshotByTag ¶
if tag is not empty string - update SelectedSnapshotID when snapshot tag not found - erase SelectedSnapshotID
type S3Wrapper ¶
type S3Wrapper struct {
// contains filtered or unexported fields
}
func NewS3Wrapper ¶
func NewS3Wrapper(opts s3opts.CreationOpts) *S3Wrapper
func (*S3Wrapper) GetMounts ¶
func (t *S3Wrapper) GetMounts( resticWrapper *resticwrapper.ResticWrapper, dockerw *dockerwrapper.DockerWrapper, containerName string) []S3Mount
Click to show internal directories.
Click to hide internal directories.