Documentation ¶
Index ¶
- type MockClient
- func (_m *MockClient) AddEventListener(_param0 chan<- *go_dockerclient.APIEvents) error
- func (_m *MockClient) CreateContainer(_param0 go_dockerclient.CreateContainerOptions) (*go_dockerclient.Container, error)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) ImportImage(_param0 go_dockerclient.ImportImageOptions) error
- func (_m *MockClient) InspectContainer(_param0 string) (*go_dockerclient.Container, error)
- func (_m *MockClient) InspectContainerWithContext(_param0 string, _param1 context.Context) (*go_dockerclient.Container, error)
- func (_m *MockClient) InspectImage(_param0 string) (*go_dockerclient.Image, error)
- func (_m *MockClient) ListContainers(_param0 go_dockerclient.ListContainersOptions) ([]go_dockerclient.APIContainers, error)
- func (_m *MockClient) LoadImage(_param0 go_dockerclient.LoadImageOptions) error
- func (_m *MockClient) Ping() error
- func (_m *MockClient) PullImage(_param0 go_dockerclient.PullImageOptions, ...) error
- func (_m *MockClient) RemoveContainer(_param0 go_dockerclient.RemoveContainerOptions) error
- func (_m *MockClient) RemoveEventListener(_param0 chan *go_dockerclient.APIEvents) error
- func (_m *MockClient) RemoveImage(_param0 string) error
- func (_m *MockClient) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error
- func (_m *MockClient) StartContainerWithContext(_param0 string, _param1 *go_dockerclient.HostConfig, _param2 context.Context) error
- func (_m *MockClient) Stats(_param0 go_dockerclient.StatsOptions) error
- func (_m *MockClient) StopContainer(_param0 string, _param1 uint) error
- func (_m *MockClient) StopContainerWithContext(_param0 string, _param1 uint, _param2 context.Context) error
- func (_m *MockClient) Version() (*go_dockerclient.Env, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) AddEventListener ¶
func (_m *MockClient) AddEventListener(_param0 chan<- *go_dockerclient.APIEvents) error
func (*MockClient) CreateContainer ¶
func (_m *MockClient) CreateContainer(_param0 go_dockerclient.CreateContainerOptions) (*go_dockerclient.Container, error)
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) ImportImage ¶
func (_m *MockClient) ImportImage(_param0 go_dockerclient.ImportImageOptions) error
func (*MockClient) InspectContainer ¶
func (_m *MockClient) InspectContainer(_param0 string) (*go_dockerclient.Container, error)
func (*MockClient) InspectContainerWithContext ¶ added in v1.13.1
func (_m *MockClient) InspectContainerWithContext(_param0 string, _param1 context.Context) (*go_dockerclient.Container, error)
func (*MockClient) InspectImage ¶
func (_m *MockClient) InspectImage(_param0 string) (*go_dockerclient.Image, error)
func (*MockClient) ListContainers ¶
func (_m *MockClient) ListContainers(_param0 go_dockerclient.ListContainersOptions) ([]go_dockerclient.APIContainers, error)
func (*MockClient) LoadImage ¶ added in v1.14.5
func (_m *MockClient) LoadImage(_param0 go_dockerclient.LoadImageOptions) error
func (*MockClient) Ping ¶
func (_m *MockClient) Ping() error
func (*MockClient) PullImage ¶
func (_m *MockClient) PullImage(_param0 go_dockerclient.PullImageOptions, _param1 go_dockerclient.AuthConfiguration) error
func (*MockClient) RemoveContainer ¶
func (_m *MockClient) RemoveContainer(_param0 go_dockerclient.RemoveContainerOptions) error
func (*MockClient) RemoveEventListener ¶
func (_m *MockClient) RemoveEventListener(_param0 chan *go_dockerclient.APIEvents) error
func (*MockClient) RemoveImage ¶ added in v1.13.0
func (_m *MockClient) RemoveImage(_param0 string) error
func (*MockClient) StartContainer ¶
func (_m *MockClient) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error
func (*MockClient) StartContainerWithContext ¶ added in v1.13.1
func (_m *MockClient) StartContainerWithContext(_param0 string, _param1 *go_dockerclient.HostConfig, _param2 context.Context) error
func (*MockClient) Stats ¶ added in v1.10.0
func (_m *MockClient) Stats(_param0 go_dockerclient.StatsOptions) error
func (*MockClient) StopContainer ¶
func (_m *MockClient) StopContainer(_param0 string, _param1 uint) error
func (*MockClient) StopContainerWithContext ¶ added in v1.13.1
func (*MockClient) Version ¶
func (_m *MockClient) Version() (*go_dockerclient.Env, error)
Click to show internal directories.
Click to hide internal directories.