snapshotmgr

package
v0.0.0-...-1b45e6a Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SnapshotManager

type SnapshotManager struct {
	logrus.FieldLogger
	// contains filtered or unexported fields
}

func NewSnapshotManagerFromCluster

func NewSnapshotManagerFromCluster(config map[string]string, logger logrus.FieldLogger) (*SnapshotManager, error)

func (*SnapshotManager) CreateSnapshot

func (this *SnapshotManager) CreateSnapshot(peID astrolabe.ProtectedEntityID, tags map[string]string) (astrolabe.ProtectedEntityID, error)

func (*SnapshotManager) CreateVolumeFromSnapshot

func (this *SnapshotManager) CreateVolumeFromSnapshot(peID astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntityID, error)

func (*SnapshotManager) DeleteProtectedEntitySnapshot

func (this *SnapshotManager) DeleteProtectedEntitySnapshot(peID astrolabe.ProtectedEntityID, toRemote bool) error

func (*SnapshotManager) DeleteSnapshot

func (this *SnapshotManager) DeleteSnapshot(peID astrolabe.ProtectedEntityID) error

Jump to

Keyboard shortcuts

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