Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2020 Changes in this version + var DockerImageIDPrefix = "docker://" + var DockerPullableImageIDPrefix = "docker-pullable://" + func ConnectToDockerOrDie() + func IsContainerNotFoundError(err error) bool + type ExecHandler interface + ExecInContainer func(context.Context, *dockerapi.Client, *dockertypes.ContainerJSON, []string, ...) (*dockertypes.ContainerExecInspect, error) + type ExecTimeoutError struct + func (d *ExecTimeoutError) Error() string + type NativeExecHandler struct + func (n *NativeExecHandler) ExecInContainer(ctx context.Context, client *dockerapi.Client, ...) (*dockertypes.ContainerExecInspect, error) + type RuntimeExecutor struct + func NewCRE() (*RuntimeExecutor, error) + func (e *RuntimeExecutor) ContainerStatus(ctx context.Context, req *runtime.ContainerStatusRequest) (*runtime.ContainerStatusResponse, error) + func (e *RuntimeExecutor) CreateContainer(ctx context.Context, r *runtime.CreateContainerRequest) (*runtime.CreateContainerResponse, error) + func (e *RuntimeExecutor) ExecSync(ctx context.Context, r *runtime.ExecRequest) (*runtime.ExecResponse, error) + func (e *RuntimeExecutor) ImageStatus(ctx context.Context, r *runtime.ImageStatusRequest) (*runtime.ImageStatusResponse, error) + func (e *RuntimeExecutor) ListContainers(ctx context.Context, r *runtime.ListContainersRequest) (*runtime.ListContainersResponse, error) + func (e *RuntimeExecutor) ListImages(ctx context.Context, r *runtime.ListImagesRequest) (*runtime.ListImagesResponse, error) + func (e *RuntimeExecutor) PullImage(ctx context.Context, r *runtime.PullImageRequest) (*runtime.PullImageResponse, error) + func (e *RuntimeExecutor) RemoveContainer(ctx context.Context, r *runtime.RemoveContainerRequest) error + func (e *RuntimeExecutor) RemoveImage(ctx context.Context, r *runtime.RemoveImageRequest) error + func (e *RuntimeExecutor) StartContainer(ctx context.Context, r *runtime.StartContainerRequest) error + func (e *RuntimeExecutor) Status(ctx context.Context, r *runtime.StatusRequest) (*runtime.StatusResponse, error) + func (e *RuntimeExecutor) StopContainer(ctx context.Context, r *runtime.StopContainerRequest) error + func (e *RuntimeExecutor) Type() string + func (e *RuntimeExecutor) Version(ctx context.Context, vr *runtime.VersionRequest) (*runtime.VersionResponse, error)