Versions in this module Expand all Collapse all v0 v0.20.1 Jun 18, 2024 v0.20.0 Jun 18, 2024 Changes in this version + func Hasher(name string) (hash.Hash, error) + type Config 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 + func (in *Config) DeepCopy() *Config + func (in *Config) DeepCopyInto(out *Config) + type ConfigFile struct + Architecture string + Author string + Config Config + 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) + func (cf *ConfigFile) Platform() *Platform + func (in *ConfigFile) DeepCopy() *ConfigFile + func (in *ConfigFile) DeepCopyInto(out *ConfigFile) + type Descriptor struct + Annotations map[string]string + ArtifactType string + Data []byte + Digest Hash + MediaType types.MediaType + Platform *Platform + Size int64 + URLs []string + func (in *Descriptor) DeepCopy() *Descriptor + func (in *Descriptor) DeepCopyInto(out *Descriptor) + type Hash struct + Algorithm string + Hex string + 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() (text []byte, err error) + func (h Hash) String() string + func (in *Hash) DeepCopy() *Hash + func (in *Hash) DeepCopyInto(out *Hash) + type HealthConfig struct + Interval time.Duration + Retries int + StartPeriod time.Duration + Test []string + Timeout time.Duration + func (in *HealthConfig) DeepCopy() *HealthConfig + func (in *HealthConfig) DeepCopyInto(out *HealthConfig) + type History struct + Author string + Comment string + Created Time + CreatedBy string + EmptyLayer bool + func (in *History) DeepCopy() *History + func (in *History) DeepCopyInto(out *History) + 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() (types.MediaType, error) + RawConfigFile func() ([]byte, error) + RawManifest func() ([]byte, error) + Size func() (int64, error) + type ImageIndex interface + Digest func() (Hash, error) + Image func(Hash) (Image, error) + ImageIndex func(Hash) (ImageIndex, error) + IndexManifest func() (*IndexManifest, error) + MediaType func() (types.MediaType, error) + RawManifest func() ([]byte, error) + Size func() (int64, error) + type IndexManifest struct + Annotations map[string]string + Manifests []Descriptor + MediaType types.MediaType + SchemaVersion int64 + Subject *Descriptor + func ParseIndexManifest(r io.Reader) (*IndexManifest, error) + func (in *IndexManifest) DeepCopy() *IndexManifest + func (in *IndexManifest) DeepCopyInto(out *IndexManifest) + type Layer interface + Compressed func() (io.ReadCloser, error) + DiffID func() (Hash, error) + Digest func() (Hash, error) + MediaType func() (types.MediaType, error) + Size func() (int64, error) + Uncompressed func() (io.ReadCloser, error) + type Manifest struct + Annotations map[string]string + Config Descriptor + Layers []Descriptor + MediaType types.MediaType + SchemaVersion int64 + Subject *Descriptor + func ParseManifest(r io.Reader) (*Manifest, error) + func (in *Manifest) DeepCopy() *Manifest + func (in *Manifest) DeepCopyInto(out *Manifest) + type Platform struct + Architecture string + Features []string + OS string + OSFeatures []string + OSVersion string + Variant string + func ParsePlatform(s string) (*Platform, error) + func (in *Platform) DeepCopy() *Platform + func (in *Platform) DeepCopyInto(out *Platform) + func (p Platform) Equals(o Platform) bool + func (p Platform) Satisfies(spec Platform) bool + func (p Platform) String() string + type RootFS struct + DiffIDs []Hash + Type string + func (in *RootFS) DeepCopy() *RootFS + func (in *RootFS) DeepCopyInto(out *RootFS) + type Time struct + func (in *Time) DeepCopy() *Time + func (t *Time) DeepCopyInto(out *Time) + type Update struct + Complete int64 + Error error + Total int64