Versions in this module Expand all Collapse all v1 v1.0.13 Jan 26, 2026 v1.0.12 Jan 21, 2026 Changes in this version + type MessageType string + const TypeError + const TypeProgress + const TypeSuccess + const TypeWarning + type Mode string + const ModePull + const ModePush + type ProgressLayer struct + Current uint64 + ID string + Size uint64 + type ProgressMessage struct + Layer ProgressLayer + Message string + Mode Mode + Total uint64 + Type MessageType v1.0.11 Jan 12, 2026 Changes in this version + const UploadingLayerID + func Hasher(name string) (hash.Hash, error) + func RawManifest(i WithManifest) ([]byte, error) + func Size(i interface{ ... }) (int64, error) + type ConfigFile struct + Architecture string + Author string + Config ContainerConfig + Container string + Created Time + DockerVersion string + History []History + OS string + OSFeatures []string + OSVersion string + RootFS RootFS + Variant string + func ParseConfigFile(r io.Reader) (*ConfigFile, error) + type ContainerConfig struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + Domainname string + Entrypoint []string + Env []string + ExposedPorts map[string]struct{} + Healthcheck *HealthConfig + Hostname string + Image string + Labels map[string]string + MacAddress string + NetworkDisabled bool + OnBuild []string + OpenStdin bool + Shell []string + StdinOnce bool + StopSignal string + Tty bool + User string + Volumes map[string]struct{} + WorkingDir string + type Descriptor struct + Annotations map[string]string + ArtifactType string + Data []byte + Digest Hash + MediaType MediaType + Platform *Platform + Size int64 + URLs []string + func LayerDescriptor(l Layer) (*Descriptor, error) + type Hash struct + Algorithm string + Hex string + func ConfigName(i WithRawConfigFile) (Hash, error) + func Digest(i WithRawManifest) (Hash, error) + func FromDigest(d digest.Digest) Hash + func NewHash(s string) (Hash, error) + func SHA256(r io.Reader) (Hash, int64, error) + func (h *Hash) UnmarshalJSON(data []byte) error + func (h *Hash) UnmarshalText(text []byte) error + func (h Hash) MarshalJSON() ([]byte, error) + func (h Hash) MarshalText() ([]byte, error) + func (h Hash) String() string + func (h Hash) ToDigest() digest.Digest + type HealthConfig struct + Interval time.Duration + Retries int + StartPeriod time.Duration + Test []string + Timeout time.Duration + type History struct + Author string + Comment string + Created Time + CreatedBy string + EmptyLayer bool + type Image interface + ConfigFile func() (*ConfigFile, error) + ConfigName func() (Hash, error) + Digest func() (Hash, error) + LayerByDiffID func(Hash) (Layer, error) + LayerByDigest func(Hash) (Layer, error) + Layers func() ([]Layer, error) + Manifest func() (*Manifest, error) + MediaType func() (MediaType, error) + RawConfigFile func() ([]byte, error) + RawManifest func() ([]byte, error) + Size func() (int64, error) + type IndexManifest struct + Annotations map[string]string + Manifests []Descriptor + MediaType MediaType + SchemaVersion int64 + Subject *Descriptor + func ParseIndexManifest(r io.Reader) (*IndexManifest, error) + type Layer interface + Compressed func() (io.ReadCloser, error) + DiffID func() (Hash, error) + Digest func() (Hash, error) + MediaType func() (MediaType, error) + Size func() (int64, error) + Uncompressed func() (io.ReadCloser, error) + func ConfigLayer(i WithRawConfigFile) (Layer, error) + type Manifest struct + Annotations map[string]string + Config Descriptor + Layers []Descriptor + MediaType MediaType + SchemaVersion int64 + Subject *Descriptor + func ParseManifest(r io.Reader) (*Manifest, error) + func (m *Manifest) ComputeDigest() (Hash, error) + func (m *Manifest) RawManifest() ([]byte, error) + type MediaType string + const DockerConfigJSON + const DockerForeignLayer + const DockerLayer + const DockerManifestList + const DockerManifestSchema2 + const DockerUncompressedLayer + const OCIArtifactManifest + const OCIConfigJSON + const OCIContentDescriptor + const OCIEmptyJSON + const OCIImageIndex + const OCILayer + const OCILayerGzip + const OCILayerZstd + const OCIManifestSchema1 + const OCIUncompressedLayer + func (m MediaType) IsDistributable() bool + func (m MediaType) IsImage() bool + func (m MediaType) IsIndex() bool + type Platform struct + Architecture string + OS string + OSFeatures []string + OSVersion string + Variant string + type RootFS struct + DiffIDs []Hash + Type string + type Time struct + func (t *Time) DeepCopyInto(out *Time) + type Update struct + Complete int64 + Error error + Total int64 + type WithConfigFile interface + ConfigFile func() (*ConfigFile, error) + type WithLayers interface + Layers func() ([]Layer, error) + type WithManifest interface + Manifest func() (*Manifest, error) + type WithRawConfigFile interface + RawConfigFile func() ([]byte, error) + type WithRawManifest interface + RawManifest func() ([]byte, error)