Documentation ¶
Index ¶
- type LoopDevice
- func (l *LoopDevice) CloseTransaction(snapshot *v1.Snapshot) (err error)
- func (l *LoopDevice) CloseTransactionOnError(snapshot *v1.Snapshot) error
- func (l *LoopDevice) DeleteSnapshot(id int) error
- func (l *LoopDevice) GetSnapshots() ([]int, error)
- func (l *LoopDevice) InitSnapshotter(rootDir string) error
- func (l *LoopDevice) StartTransaction() (*v1.Snapshot, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoopDevice ¶
type LoopDevice struct {
// contains filtered or unexported fields
}
func NewLoopDeviceSnapshotter ¶
func NewLoopDeviceSnapshotter(cfg v1.Config, snapCfg v1.SnapshotterConfig, bootloader v1.Bootloader) (*LoopDevice, error)
func (*LoopDevice) CloseTransaction ¶
func (l *LoopDevice) CloseTransaction(snapshot *v1.Snapshot) (err error)
func (*LoopDevice) CloseTransactionOnError ¶
func (l *LoopDevice) CloseTransactionOnError(snapshot *v1.Snapshot) error
func (*LoopDevice) DeleteSnapshot ¶
func (l *LoopDevice) DeleteSnapshot(id int) error
func (*LoopDevice) GetSnapshots ¶
func (l *LoopDevice) GetSnapshots() ([]int, error)
func (*LoopDevice) InitSnapshotter ¶
func (l *LoopDevice) InitSnapshotter(rootDir string) error
func (*LoopDevice) StartTransaction ¶
func (l *LoopDevice) StartTransaction() (*v1.Snapshot, error)
Click to show internal directories.
Click to hide internal directories.