resticwrapper

package
v0.0.0-...-d5261e2 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreationOpts

type CreationOpts struct {
	S3Opts     s3opts.CreationOpts
	ResticPass string
}

type ResticWrapper

type ResticWrapper struct {
	// contains filtered or unexported fields
}

func NewResticWrapper

func NewResticWrapper(opts CreationOpts) *ResticWrapper

func (*ResticWrapper) ListSnapshots

func (t *ResticWrapper) ListSnapshots(s3Folder string) []Snapshot

func (*ResticWrapper) Load

func (t *ResticWrapper) Load(localFolder, s3Folder, snapshotID string)

func (*ResticWrapper) Save

func (t *ResticWrapper) Save(localFolder, s3Folder, tag string)

type Snapshot

type Snapshot struct {
	ID  string
	Tag string
}

Jump to

Keyboard shortcuts

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