Documentation ¶ Index ¶ Variables type SnapBkp func New(cfg config.Config) SnapBkp Constants ¶ This section is empty. Variables ¶ View Source var ( // Version of snapbkp Version string // Build timestamp Build string ) Functions ¶ This section is empty. Types ¶ type SnapBkp ¶ added in v0.0.1 type SnapBkp interface { // Shows snapshots and their metadata for a backup. List(bkp ent.Backup) (output.Outputs, error) // Trims old data from a backup. Trim(bkp ent.Backup) error } func New ¶ added in v0.0.1 func New(cfg config.Config) SnapBkp Source Files ¶ View all Source files interface.go snapbkp.go version.go Directories ¶ Show internal Expand all Path Synopsis config Click to show internal directories. Click to hide internal directories.