Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrParseReference = errors.New("parse image reference") ErrPullImage = errors.New("pull image") ErrImageDigest = errors.New("get image digest") ErrCreateDir = errors.New("create directory") ErrCreateTemp = errors.New("create temp") ErrExtract = errors.New("extract image") ErrCreateExt4 = errors.New("create ext4") ErrToolNotFound = errors.New("tool not found") ErrTarball = errors.New("tarball") ErrStoreSave = errors.New("save to store") ErrStoreRead = errors.New("read from store") ErrMetadata = errors.New("metadata") ErrImageNotFound = errors.New("image not found") )
Functions ¶
func RemoveRegistryCache ¶ added in v0.1.9
RemoveRegistryCache removes a registry-cached image by tag.
Types ¶
type BuildOptions ¶
type BuildResult ¶
func GetRegistryCache ¶ added in v0.1.19
func GetRegistryCache(tag string, cacheDir string) (*BuildResult, error)
GetRegistryCache returns a registry-cached image metadata entry as a BuildResult.
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(opts *BuildOptions) *Builder
type ImageInfo ¶ added in v0.1.4
func ListRegistryCache ¶ added in v0.1.4
ListRegistryCache lists images cached from registry pulls (non-local store).
Click to show internal directories.
Click to hide internal directories.