layerfs

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountOptions

type MountOptions struct {
	Context        context.Context
	Image          string
	ContainerName  string
	ExtMountDir    string
	Commit         bool
	CacheName      string
	CacheNamespace string
}

type Store

type Store interface {
	Free()
	Mount(MountOptions) (dir string, err error)
	Unmount(MountOptions) (imageID string, newImage bool, err error)
	Prune(context.Context) error
}

func New

func New(s storage.Store, systemContext types.SystemContext, log *logrus.Entry) Store

New creates a new cache store

Jump to

Keyboard shortcuts

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