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) InspectImage(_param0 string) (*go_dockerclient.Image, error)
- func (_m *MockClient) ListContainers(_param0 go_dockerclient.ListContainersOptions) ([]go_dockerclient.APIContainers, 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) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error
- func (_m *MockClient) StopContainer(_param0 string, _param1 uint) 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) 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) 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) StartContainer ¶
func (_m *MockClient) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error
func (*MockClient) StopContainer ¶
func (_m *MockClient) StopContainer(_param0 string, _param1 uint) error
func (*MockClient) Version ¶
func (_m *MockClient) Version() (*go_dockerclient.Env, error)
Click to show internal directories.
Click to hide internal directories.