Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsManifest ¶
func IsManifest(m distribution.Manifest) bool
IsManifest returns true if the passed manifest is a schema1 manifest.
func RequestConfig ¶
func RequestConfig(_ *http.Client, _ reference.Canonical, manifest distribution.Manifest) (*dockerTypes.ExecConfig, error)
RequestConfig retrieves the manifest from the associated configuration. Unlike in v2 manifests, v1 manifests have the configuration stored in the history, so we can safely ignore the http.Client passed to this function.
func ToManifest ¶
func ToManifest(manifest distribution.Manifest) *v1.SignedManifest
ToManifest casts a distribution.Manifest to a schema1.Manifest. It panics if it passed anything other than a schema1.SignedManifest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.