Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { BaseDir string // contains filtered or unexported fields }
func NewStore ¶
func NewStore(basedir string, overlaydir string, parallelism int, reg *registryclient.RegistryClient) (*Store, error)
NewStore creates a new image store, with basedir as the base directory for storing layers and metadata, and overlaydir as the directory layers will be unpacked into. The filesystem backing overlaydir needs to support special files like device files and sockets. The parameter parallelism can be used to parallelize layer downloads and unpacking. The parameter reg is a RegistryClient.
func (*Store) SaveConfig ¶
Click to show internal directories.
Click to hide internal directories.