snapshotter

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

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