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 { ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error) ImagePull(ctx context.Context, refStr string, options types.ImagePullOptions) (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.