Documentation ¶
Index ¶
- func GetConfig(dockerRegistryUrl string, imageReference string) (string, error)
- func MakeRequestToRegistry(dockerRegistryUrl, repository, digest string) (*http.Response, error)
- func MakeThinImage(m Manifest, repoLocation string, origin string) cvmfsUtil.ThinImage
- func PullLayers(dockerRegistryUrl, inputReference, repository, subdirectory string) error
- type ConfigType
- type Layer
- type Manifest
- type TokenMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeRequestToRegistry ¶
func MakeThinImage ¶
m is the manifest of the original image repoLocation is where inside the repo we saved the several layers origin is an ecoding fo the original referencese and original registry I believe origin is quite useless but maybe is better to preserv it for ergonomic reasons.
func PullLayers ¶
Types ¶
type ConfigType ¶
type Manifest ¶
type Manifest struct { SchemaVersion int MediaType string Config ConfigType Layers []Layer }
func GetManifest ¶
type TokenMessage ¶
type TokenMessage struct {
Token string
}
Click to show internal directories.
Click to hide internal directories.