Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseConstraint ¶
func MustParseConstraint(constraint string) *semver.Constraints
MustParseConstraint panics if a semver constraint is invalid
Types ¶
type DockerClient ¶
type DockerClient interface { ImageBuild(ctx context.Context, buildContext io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *specs.Platform, containerName string) (container.ContainerCreateCreatedBody, error) ContainerStart(ctx context.Context, containerID string, options types.ContainerStartOptions) error ContainerInspect(ctx context.Context, containerID string) (types.ContainerJSON, error) ContainerStop(ctx context.Context, containerID string, timeout *time.Duration) error }
DockerClient represents a way to interact with the Docker deamon
Click to show internal directories.
Click to hide internal directories.