Versions in this module Expand all Collapse all v1 v1.5.1 Mar 21, 2019 Changes in this version + const DockerV2ListMediaType + const DockerV2Schema1MediaType + const DockerV2Schema1SignedMediaType + const DockerV2Schema2ConfigMediaType + const DockerV2Schema2ForeignLayerMediaType + const DockerV2Schema2LayerMediaType + const DockerV2Schema2MediaType + var DefaultRequestedManifestMIMETypes = []string + func AddDummyV2S1Signature(manifest []byte) ([]byte, error) + func BlobInfoFromOCI1Descriptor(desc imgspecv1.Descriptor) types.BlobInfo + func BlobInfoFromSchema2Descriptor(desc Schema2Descriptor) types.BlobInfo + func Digest(manifest []byte) (digest.Digest, error) + func GuessMIMEType(manifest []byte) string + func MIMETypeIsMultiImage(mimeType string) bool + func MatchesDigest(manifest []byte, expectedDigest digest.Digest) (bool, error) + func NormalizedMIMEType(input string) string + type LayerInfo struct + EmptyLayer bool + type Manifest interface + ConfigInfo func() types.BlobInfo + ImageID func(diffIDs []digest.Digest) (string, error) + Inspect func(configGetter func(types.BlobInfo) ([]byte, error)) (*types.ImageInspectInfo, error) + LayerInfos func() []LayerInfo + Serialize func() ([]byte, error) + UpdateLayerInfos func(layerInfos []types.BlobInfo) error + func FromBlob(manblob []byte, mt string) (Manifest, error) + type OCI1 struct + func OCI1Clone(src *OCI1) *OCI1 + func OCI1FromComponents(config imgspecv1.Descriptor, layers []imgspecv1.Descriptor) *OCI1 + func OCI1FromManifest(manifest []byte) (*OCI1, error) + func (m *OCI1) ConfigInfo() types.BlobInfo + func (m *OCI1) ImageID([]digest.Digest) (string, error) + func (m *OCI1) Inspect(configGetter func(types.BlobInfo) ([]byte, error)) (*types.ImageInspectInfo, error) + func (m *OCI1) LayerInfos() []LayerInfo + func (m *OCI1) Serialize() ([]byte, error) + func (m *OCI1) UpdateLayerInfos(layerInfos []types.BlobInfo) error + type Schema1 struct + Architecture string + ExtractedV1Compatibility []Schema1V1Compatibility + FSLayers []Schema1FSLayers + History []Schema1History + Name string + SchemaVersion int + Tag string + func Schema1Clone(src *Schema1) *Schema1 + func Schema1FromComponents(ref reference.Named, fsLayers []Schema1FSLayers, history []Schema1History, ...) (*Schema1, error) + func Schema1FromManifest(manifest []byte) (*Schema1, error) + func (m *Schema1) ConfigInfo() types.BlobInfo + func (m *Schema1) ImageID(diffIDs []digest.Digest) (string, error) + func (m *Schema1) Inspect(_ func(types.BlobInfo) ([]byte, error)) (*types.ImageInspectInfo, error) + func (m *Schema1) LayerInfos() []LayerInfo + func (m *Schema1) Serialize() ([]byte, error) + func (m *Schema1) ToSchema2Config(diffIDs []digest.Digest) ([]byte, error) + func (m *Schema1) UpdateLayerInfos(layerInfos []types.BlobInfo) error + type Schema1FSLayers struct + BlobSum digest.Digest + type Schema1History struct + V1Compatibility string + type Schema1V1Compatibility struct + Author string + Comment string + ContainerConfig schema1V1CompatibilityContainerConfig + Created time.Time + ID string + Parent string + ThrowAway bool + type Schema2 struct + ConfigDescriptor Schema2Descriptor + LayersDescriptors []Schema2Descriptor + MediaType string + SchemaVersion int + func Schema2Clone(src *Schema2) *Schema2 + func Schema2FromComponents(config Schema2Descriptor, layers []Schema2Descriptor) *Schema2 + func Schema2FromManifest(manifest []byte) (*Schema2, error) + func (m *Schema2) ConfigInfo() types.BlobInfo + func (m *Schema2) ImageID([]digest.Digest) (string, error) + func (m *Schema2) Inspect(configGetter func(types.BlobInfo) ([]byte, error)) (*types.ImageInspectInfo, error) + func (m *Schema2) LayerInfos() []LayerInfo + func (m *Schema2) Serialize() ([]byte, error) + func (m *Schema2) UpdateLayerInfos(layerInfos []types.BlobInfo) error + type Schema2Config struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd strslice.StrSlice + Domainname string + Entrypoint strslice.StrSlice + Env []string + ExposedPorts Schema2PortSet + Healthcheck *Schema2HealthConfig + Hostname string + Image string + Labels map[string]string + MacAddress string + NetworkDisabled bool + OnBuild []string + OpenStdin bool + Shell strslice.StrSlice + StdinOnce bool + StopSignal string + StopTimeout *int + Tty bool + User string + Volumes map[string]struct{} + WorkingDir string + type Schema2Descriptor struct + Digest digest.Digest + MediaType string + Size int64 + URLs []string + type Schema2HealthConfig struct + Interval time.Duration + Retries int + StartPeriod time.Duration + Test []string + Timeout time.Duration + type Schema2History struct + Author string + Comment string + Created time.Time + CreatedBy string + EmptyLayer bool + type Schema2Image struct + History []Schema2History + OSFeatures []string + OSVersion string + Parent digest.Digest + RootFS *Schema2RootFS + type Schema2Port string + type Schema2PortSet map[Schema2Port]struct + type Schema2RootFS struct + DiffIDs []digest.Digest + Type string + type Schema2V1Image struct + Architecture string + Author string + Comment string + Config *Schema2Config + Container string + ContainerConfig Schema2Config + Created time.Time + DockerVersion string + ID string + OS string + Parent string + Size int64 Incompatible versions in this module v2.0.0+incompatible Jun 13, 2019