Versions in this module Expand all Collapse all v0 v0.0.1 Mar 30, 2022 Changes in this version + const MediaTypeForeignLayer + const MediaTypeImageConfig + const MediaTypeLayer + const MediaTypeManifest + const MediaTypePluginConfig + const MediaTypeUncompressedLayer + var SchemaVersion = Versioned + func TarDirectory(dir string, w io.Writer) error + type Client struct + func New(o *Options) *Client + func (c *Client) Auth() (string, error) + func (c *Client) BuildImage(imageConfig *ImageConfig, layer []byte) error + type Descriptor struct + Digest digest.Digest + MediaType string + Size int64 + URLs []string + type History struct + Author string + Comment string + Created *time.Time + CreatedBy string + EmptyLayer bool + type Image struct + Architecture string + Author string + Config ImageConfig + Created *time.Time + History []History + OS string + RootFS RootFS + type ImageConfig struct + Cmd []string + Entrypoint []string + Env []string + ExposedPorts map[string]struct{} + Labels map[string]string + StopSignal string + User string + Volumes map[string]struct{} + WorkingDir string + type Manifest struct + Config Descriptor + Layers []Descriptor + type Options struct + BaseURL string + Dir string + Name string + Password string + Tags []string + Token func() string + User string + type RootFS struct + DiffIDs []digest.Digest + Type string + type Versioned struct + MediaType string + SchemaVersion int