volume

package
v0.24.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: Apache-2.0 Imports: 9 Imported by: 4 modules, 12 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Engine    string `label:"engine" ini:"engine" config:"Engine"`
	NoVerify  bool   `label:"no_verify" ini:"no_verify" config:"NoVerify"`
	Ignore    bool   `label:"ignore" ini:"ignore" default:"false"`
	TargetURL string `label:"target_url" ini:"target_url" config:"TargetURL"`

	Duplicity struct {
		FullIfOlderThan string `label:"full_if_older_than" ini:"full_if_older_than" config:"FullIfOlderThan"`
		RemoveOlderThan string `label:"remove_older_than" ini:"remove_older_than" config:"RemoveOlderThan"`
	} `label:"duplicity" ini:"duplicity" config:"Duplicity"`

	RClone struct {
	} `label:"rclone" ini:"rclone" config:"RClone"`
}

Config is the volume's configuration parameters

type Volume

type Volume struct {
	*types.Volume
	Target    string
	BackupDir string
	Mount     string
	Config    *Config
}

Volume provides backup methods for a single Docker volume

func NewVolume

func NewVolume(v *types.Volume, c *config.Config) *Volume

NewVolume returns a new Volume for a given types.Volume struct

Jump to

Keyboard shortcuts

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