fs

package
v0.0.0-...-3cab0da Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem interface {
	Mount(ctx context.Context, snapshotID string, labels map[string]string) error
	WaitUntilReady(ctx context.Context, snapshotID string) error
	Umount(ctx context.Context, mountPoint string) error
	Cleanup(ctx context.Context) error
	Support(ctx context.Context, labels map[string]string) bool
	PrepareLayer(ctx context.Context, snapshot storage.Snapshot, labels map[string]string) error
	MountPoint(snapshotID string) (string, error)
	BootstrapFile(snapshotID string) (string, error)
	NewDaemonConfig(labels map[string]string) (config.DaemonConfig, error)
}

type Mode

type Mode int
const (
	SharedInstance Mode = iota
	MultiInstance
	NoneInstance
	PrefetchInstance
)

Jump to

Keyboard shortcuts

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