Documentation ¶
Index ¶
- func GenDocker22Config(destPath string, conf typesV2.ImageConfig, layerHashes []string) (string, error)
- func GenDocker22Manifest(destPath, configHash string, layerHashes []string) error
- func GenLayers(destPath string, layers []Layer) ([]string, error)
- func GenerateDocker22(destPath string, img Docker22Image) error
- func GetBlob(t *testing.T, w http.ResponseWriter, r *http.Request, ...)
- func GetManifest(t *testing.T, w http.ResponseWriter, r *http.Request, ...)
- func RunDockerRegistry(t *testing.T, imgPath, imgName, imgRef, manifestMediaType string) *httptest.Server
- type Docker22Image
- type Layer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenDocker22Config ¶
func GenDocker22Manifest ¶
func GenerateDocker22 ¶
func GenerateDocker22(destPath string, img Docker22Image) error
func GetManifest ¶
Types ¶
type Docker22Image ¶
type Docker22Image struct { RepoTags []string Layers []Layer Config typesV2.ImageConfig }
Click to show internal directories.
Click to hide internal directories.