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 schema2 manifest.
func RequestConfig ¶
func RequestConfig(client *http.Client, ref reference.Canonical, manifest distribution.Manifest) (*dockerTypes.ExecConfig, error)
RequestConfig requests an image configuration from the server, based on the passed digest. Returns an ImageConfig or an error.
func ToManifest ¶
func ToManifest(manifest distribution.Manifest) v2.Manifest
ToManifest casts a distribution.Manifest to a schema2.Manifest. It panics if it passed anything other than a schema2.DeserialzedManifest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.