Versions in this module Expand all Collapse all v1 v1.12.0 Jul 26, 2016 Changes in this version + var ErrContainerDestroyed = fmt.Errorf("dockerexec: container destroyed") + var ErrContainerUnhealthy = fmt.Errorf("dockerexec: unhealthy container") + var ErrImageRequired = fmt.Errorf("dockerexec: image required") + func NewExecutor(client engineapi.APIClient) exec.Executor + type MockAPIClient struct + func NewMockAPIClient(ctrl *gomock.Controller) *MockAPIClient + func (_m *MockAPIClient) ClientVersion() string + func (_m *MockAPIClient) ContainerAttach(_param0 context.Context, _param1 string, _param2 types.ContainerAttachOptions) (types.HijackedResponse, error) + func (_m *MockAPIClient) ContainerCommit(_param0 context.Context, _param1 string, _param2 types.ContainerCommitOptions) (types.ContainerCommitResponse, error) + func (_m *MockAPIClient) ContainerCreate(_param0 context.Context, _param1 *container.Config, ...) (types.ContainerCreateResponse, error) + func (_m *MockAPIClient) ContainerDiff(_param0 context.Context, _param1 string) ([]types.ContainerChange, error) + func (_m *MockAPIClient) ContainerExecAttach(_param0 context.Context, _param1 string, _param2 types.ExecConfig) (types.HijackedResponse, error) + func (_m *MockAPIClient) ContainerExecCreate(_param0 context.Context, _param1 string, _param2 types.ExecConfig) (types.ContainerExecCreateResponse, error) + func (_m *MockAPIClient) ContainerExecInspect(_param0 context.Context, _param1 string) (types.ContainerExecInspect, error) + func (_m *MockAPIClient) ContainerExecResize(_param0 context.Context, _param1 string, _param2 types.ResizeOptions) error + func (_m *MockAPIClient) ContainerExecStart(_param0 context.Context, _param1 string, _param2 types.ExecStartCheck) error + func (_m *MockAPIClient) ContainerExport(_param0 context.Context, _param1 string) (io.ReadCloser, error) + func (_m *MockAPIClient) ContainerInspect(_param0 context.Context, _param1 string) (types.ContainerJSON, error) + func (_m *MockAPIClient) ContainerInspectWithRaw(_param0 context.Context, _param1 string, _param2 bool) (types.ContainerJSON, []byte, error) + func (_m *MockAPIClient) ContainerKill(_param0 context.Context, _param1 string, _param2 string) error + func (_m *MockAPIClient) ContainerList(_param0 context.Context, _param1 types.ContainerListOptions) ([]types.Container, error) + func (_m *MockAPIClient) ContainerLogs(_param0 context.Context, _param1 string, _param2 types.ContainerLogsOptions) (io.ReadCloser, error) + func (_m *MockAPIClient) ContainerPause(_param0 context.Context, _param1 string) error + func (_m *MockAPIClient) ContainerRemove(_param0 context.Context, _param1 string, _param2 types.ContainerRemoveOptions) error + func (_m *MockAPIClient) ContainerRename(_param0 context.Context, _param1 string, _param2 string) error + func (_m *MockAPIClient) ContainerResize(_param0 context.Context, _param1 string, _param2 types.ResizeOptions) error + func (_m *MockAPIClient) ContainerRestart(_param0 context.Context, _param1 string, _param2 time.Duration) error + func (_m *MockAPIClient) ContainerStart(_param0 context.Context, _param1 string, _param2 types.ContainerStartOptions) error + func (_m *MockAPIClient) ContainerStatPath(_param0 context.Context, _param1 string, _param2 string) (types.ContainerPathStat, error) + func (_m *MockAPIClient) ContainerStats(_param0 context.Context, _param1 string, _param2 bool) (io.ReadCloser, error) + func (_m *MockAPIClient) ContainerStop(_param0 context.Context, _param1 string, _param2 time.Duration) error + func (_m *MockAPIClient) ContainerTop(_param0 context.Context, _param1 string, _param2 []string) (types.ContainerProcessList, error) + func (_m *MockAPIClient) ContainerUnpause(_param0 context.Context, _param1 string) error + func (_m *MockAPIClient) ContainerUpdate(_param0 context.Context, _param1 string, _param2 container.UpdateConfig) error + func (_m *MockAPIClient) ContainerWait(_param0 context.Context, _param1 string) (int, error) + func (_m *MockAPIClient) CopyFromContainer(_param0 context.Context, _param1 string, _param2 string) (io.ReadCloser, types.ContainerPathStat, error) + func (_m *MockAPIClient) CopyToContainer(_param0 context.Context, _param1 string, _param2 string, _param3 io.Reader, ...) error + func (_m *MockAPIClient) EXPECT() *_MockAPIClientRecorder + func (_m *MockAPIClient) Events(_param0 context.Context, _param1 types.EventsOptions) (io.ReadCloser, error) + func (_m *MockAPIClient) ImageBuild(_param0 context.Context, _param1 io.Reader, _param2 types.ImageBuildOptions) (types.ImageBuildResponse, error) + func (_m *MockAPIClient) ImageCreate(_param0 context.Context, _param1 string, _param2 types.ImageCreateOptions) (io.ReadCloser, error) + func (_m *MockAPIClient) ImageHistory(_param0 context.Context, _param1 string) ([]types.ImageHistory, error) + func (_m *MockAPIClient) ImageImport(_param0 context.Context, _param1 types.ImageImportSource, _param2 string, ...) (io.ReadCloser, error) + func (_m *MockAPIClient) ImageInspectWithRaw(_param0 context.Context, _param1 string, _param2 bool) (types.ImageInspect, []byte, error) + func (_m *MockAPIClient) ImageList(_param0 context.Context, _param1 types.ImageListOptions) ([]types.Image, error) + func (_m *MockAPIClient) ImageLoad(_param0 context.Context, _param1 io.Reader, _param2 bool) (types.ImageLoadResponse, error) + func (_m *MockAPIClient) ImagePull(_param0 context.Context, _param1 string, _param2 types.ImagePullOptions) (io.ReadCloser, error) + func (_m *MockAPIClient) ImagePush(_param0 context.Context, _param1 string, _param2 types.ImagePushOptions) (io.ReadCloser, error) + func (_m *MockAPIClient) ImageRemove(_param0 context.Context, _param1 string, _param2 types.ImageRemoveOptions) ([]types.ImageDelete, error) + func (_m *MockAPIClient) ImageSave(_param0 context.Context, _param1 []string) (io.ReadCloser, error) + func (_m *MockAPIClient) ImageSearch(_param0 context.Context, _param1 string, _param2 types.ImageSearchOptions) ([]registry.SearchResult, error) + func (_m *MockAPIClient) ImageTag(_param0 context.Context, _param1 string, _param2 string) error + func (_m *MockAPIClient) Info(_param0 context.Context) (types.Info, error) + func (_m *MockAPIClient) NetworkConnect(_param0 context.Context, _param1 string, _param2 string, ...) error + func (_m *MockAPIClient) NetworkCreate(_param0 context.Context, _param1 string, _param2 types.NetworkCreate) (types.NetworkCreateResponse, error) + func (_m *MockAPIClient) NetworkDisconnect(_param0 context.Context, _param1 string, _param2 string, _param3 bool) error + func (_m *MockAPIClient) NetworkInspect(_param0 context.Context, _param1 string) (types.NetworkResource, error) + func (_m *MockAPIClient) NetworkInspectWithRaw(_param0 context.Context, _param1 string) (types.NetworkResource, []byte, error) + func (_m *MockAPIClient) NetworkList(_param0 context.Context, _param1 types.NetworkListOptions) ([]types.NetworkResource, error) + func (_m *MockAPIClient) NetworkRemove(_param0 context.Context, _param1 string) error + func (_m *MockAPIClient) NodeInspect(_param0 context.Context, _param1 string) (swarm.Node, error) + func (_m *MockAPIClient) NodeList(_param0 context.Context, _param1 types.NodeListOptions) ([]swarm.Node, error) + func (_m *MockAPIClient) NodeRemove(_param0 context.Context, _param1 string) error + func (_m *MockAPIClient) NodeUpdate(_param0 context.Context, _param1 string, _param2 swarm.Version, ...) error + func (_m *MockAPIClient) RegistryLogin(_param0 context.Context, _param1 types.AuthConfig) (types.AuthResponse, error) + func (_m *MockAPIClient) ServerVersion(_param0 context.Context) (types.Version, error) + func (_m *MockAPIClient) ServiceCreate(_param0 context.Context, _param1 swarm.ServiceSpec) (types.ServiceCreateResponse, error) + func (_m *MockAPIClient) ServiceInspect(_param0 context.Context, _param1 string) (swarm.Service, error) + func (_m *MockAPIClient) ServiceList(_param0 context.Context, _param1 types.ServiceListOptions) ([]swarm.Service, error) + func (_m *MockAPIClient) ServiceRemove(_param0 context.Context, _param1 string) error + func (_m *MockAPIClient) ServiceUpdate(_param0 context.Context, _param1 string, _param2 swarm.Version, ...) error + func (_m *MockAPIClient) SwarmInit(_param0 context.Context, _param1 swarm.InitRequest) (string, error) + func (_m *MockAPIClient) SwarmInspect(_param0 context.Context) (swarm.Swarm, error) + func (_m *MockAPIClient) SwarmJoin(_param0 context.Context, _param1 swarm.JoinRequest) error + func (_m *MockAPIClient) SwarmLeave(_param0 context.Context, _param1 bool) error + func (_m *MockAPIClient) SwarmUpdate(_param0 context.Context, _param1 swarm.Version, _param2 swarm.Spec) error + func (_m *MockAPIClient) TaskInspectWithRaw(_param0 context.Context, _param1 string) (swarm.Task, []byte, error) + func (_m *MockAPIClient) TaskList(_param0 context.Context, _param1 types.TaskListOptions) ([]swarm.Task, error) + func (_m *MockAPIClient) UpdateClientVersion(_param0 string) + func (_m *MockAPIClient) VolumeCreate(_param0 context.Context, _param1 types.VolumeCreateRequest) (types.Volume, error) + func (_m *MockAPIClient) VolumeInspect(_param0 context.Context, _param1 string) (types.Volume, error) + func (_m *MockAPIClient) VolumeInspectWithRaw(_param0 context.Context, _param1 string) (types.Volume, []byte, error) + func (_m *MockAPIClient) VolumeList(_param0 context.Context, _param1 filters.Args) (types.VolumesListResponse, error) + func (_m *MockAPIClient) VolumeRemove(_param0 context.Context, _param1 string) error