package specialimage

import "github.com/dotcloud/docker/internal/testutils/specialimage"

Index

Functions

func Dangling

func Dangling(dir string) error

Dangling creates an image with no layers and no tag. It also has an extra org.mobyproject.test.specialimage=1 label set. Layout: OCI.

func EmptyFS

func EmptyFS(dir string) error

EmptyFS builds an image with an empty rootfs. Layout: Legacy Docker Archive See https://github.com/docker/docker/pull/5262 and also https://github.com/docker/docker/issues/4242

func Load

func Load(ctx context.Context, t *testing.T, apiClient client.APIClient, imageFunc SpecialImageFunc) string

func MultiLayer

func MultiLayer(dir string) error

Types

type SpecialImageFunc

type SpecialImageFunc func(string) error

Source Files

dangling.go emptyfs.go load.go multilayer.go

Version
v25.0.4+incompatible
Published
Mar 6, 2024
Platform
js/wasm
Imports
19 packages
Last checked
36 minutes ago

Tools for package owners.