snapshot

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 28 Imported by: 2

Documentation

Index

Constants

View Source
const (
	NydusRootfsV5      string = "v5"
	NydusRootfsV6      string = "v6"
	RafsV5SuperMagic   uint32 = 0x5241_4653
	RafsSuperVersionV5 uint32 = 0x500
)

Variables

This section is empty.

Functions

func NewSnapshotter

func NewSnapshotter(ctx context.Context, cfg *config.Config) (snapshots.Snapshotter, error)

Types

type ExtraOption

type ExtraOption struct {
	Source      string `json:"source"`
	Config      string `json:"config"`
	Snapshotdir string `json:"snapshotdir"`
	Version     string `json:"fs_version"`
}

Jump to

Keyboard shortcuts

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