Documentation ¶
Index ¶
- type SnapshotManager
- func (this *SnapshotManager) CreateSnapshot(peID astrolabe.ProtectedEntityID, tags map[string]string) (astrolabe.ProtectedEntityID, error)
- func (this *SnapshotManager) CreateVolumeFromSnapshot(peID astrolabe.ProtectedEntityID) (astrolabe.ProtectedEntityID, error)
- func (this *SnapshotManager) DeleteProtectedEntitySnapshot(peID astrolabe.ProtectedEntityID, toRemote bool) error
- func (this *SnapshotManager) DeleteSnapshot(peID astrolabe.ProtectedEntityID) error
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
Click to show internal directories.
Click to hide internal directories.