Documentation ¶
Overview ¶
Package mock_dockeriface is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddEventListener(arg0 chan<- *go_dockerclient.APIEvents) error
- func (m *MockClient) CreateContainer(arg0 go_dockerclient.CreateContainerOptions) (*go_dockerclient.Container, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ImportImage(arg0 go_dockerclient.ImportImageOptions) error
- func (m *MockClient) InspectContainer(arg0 string) (*go_dockerclient.Container, error)
- func (m *MockClient) InspectContainerWithContext(arg0 string, arg1 context.Context) (*go_dockerclient.Container, error)
- func (m *MockClient) InspectImage(arg0 string) (*go_dockerclient.Image, error)
- func (m *MockClient) ListContainers(arg0 go_dockerclient.ListContainersOptions) ([]go_dockerclient.APIContainers, error)
- func (m *MockClient) LoadImage(arg0 go_dockerclient.LoadImageOptions) error
- func (m *MockClient) Ping() error
- func (m *MockClient) PullImage(arg0 go_dockerclient.PullImageOptions, arg1 go_dockerclient.AuthConfiguration) error
- func (m *MockClient) RemoveContainer(arg0 go_dockerclient.RemoveContainerOptions) error
- func (m *MockClient) RemoveEventListener(arg0 chan *go_dockerclient.APIEvents) error
- func (m *MockClient) RemoveImage(arg0 string) error
- func (m *MockClient) StartContainer(arg0 string, arg1 *go_dockerclient.HostConfig) error
- func (m *MockClient) StartContainerWithContext(arg0 string, arg1 *go_dockerclient.HostConfig, arg2 context.Context) error
- func (m *MockClient) Stats(arg0 go_dockerclient.StatsOptions) error
- func (m *MockClient) StopContainer(arg0 string, arg1 uint) error
- func (m *MockClient) StopContainerWithContext(arg0 string, arg1 uint, arg2 context.Context) error
- func (m *MockClient) Version() (*go_dockerclient.Env, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddEventListener(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImportImage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InspectContainer(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InspectContainerWithContext(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InspectImage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListContainers(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LoadImage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Ping() *gomock.Call
- func (mr *MockClientMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RemoveContainer(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RemoveEventListener(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RemoveImage(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Stats(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Version() *gomock.Call
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
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AddEventListener ¶
func (m *MockClient) AddEventListener(arg0 chan<- *go_dockerclient.APIEvents) error
AddEventListener mocks base method
func (*MockClient) CreateContainer ¶
func (m *MockClient) CreateContainer(arg0 go_dockerclient.CreateContainerOptions) (*go_dockerclient.Container, error)
CreateContainer mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) ImportImage ¶
func (m *MockClient) ImportImage(arg0 go_dockerclient.ImportImageOptions) error
ImportImage mocks base method
func (*MockClient) InspectContainer ¶
func (m *MockClient) InspectContainer(arg0 string) (*go_dockerclient.Container, error)
InspectContainer mocks base method
func (*MockClient) InspectContainerWithContext ¶ added in v1.13.1
func (m *MockClient) InspectContainerWithContext(arg0 string, arg1 context.Context) (*go_dockerclient.Container, error)
InspectContainerWithContext mocks base method
func (*MockClient) InspectImage ¶
func (m *MockClient) InspectImage(arg0 string) (*go_dockerclient.Image, error)
InspectImage mocks base method
func (*MockClient) ListContainers ¶
func (m *MockClient) ListContainers(arg0 go_dockerclient.ListContainersOptions) ([]go_dockerclient.APIContainers, error)
ListContainers mocks base method
func (*MockClient) LoadImage ¶ added in v1.14.5
func (m *MockClient) LoadImage(arg0 go_dockerclient.LoadImageOptions) error
LoadImage mocks base method
func (*MockClient) PullImage ¶
func (m *MockClient) PullImage(arg0 go_dockerclient.PullImageOptions, arg1 go_dockerclient.AuthConfiguration) error
PullImage mocks base method
func (*MockClient) RemoveContainer ¶
func (m *MockClient) RemoveContainer(arg0 go_dockerclient.RemoveContainerOptions) error
RemoveContainer mocks base method
func (*MockClient) RemoveEventListener ¶
func (m *MockClient) RemoveEventListener(arg0 chan *go_dockerclient.APIEvents) error
RemoveEventListener mocks base method
func (*MockClient) RemoveImage ¶ added in v1.13.0
func (m *MockClient) RemoveImage(arg0 string) error
RemoveImage mocks base method
func (*MockClient) StartContainer ¶
func (m *MockClient) StartContainer(arg0 string, arg1 *go_dockerclient.HostConfig) error
StartContainer mocks base method
func (*MockClient) StartContainerWithContext ¶ added in v1.13.1
func (m *MockClient) StartContainerWithContext(arg0 string, arg1 *go_dockerclient.HostConfig, arg2 context.Context) error
StartContainerWithContext mocks base method
func (*MockClient) Stats ¶ added in v1.10.0
func (m *MockClient) Stats(arg0 go_dockerclient.StatsOptions) error
Stats mocks base method
func (*MockClient) StopContainer ¶
func (m *MockClient) StopContainer(arg0 string, arg1 uint) error
StopContainer mocks base method
func (*MockClient) StopContainerWithContext ¶ added in v1.13.1
StopContainerWithContext mocks base method
func (*MockClient) Version ¶
func (m *MockClient) Version() (*go_dockerclient.Env, error)
Version mocks base method
type MockClientMockRecorder ¶ added in v1.17.3
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddEventListener ¶ added in v1.17.3
func (mr *MockClientMockRecorder) AddEventListener(arg0 interface{}) *gomock.Call
AddEventListener indicates an expected call of AddEventListener
func (*MockClientMockRecorder) CreateContainer ¶ added in v1.17.3
func (mr *MockClientMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer
func (*MockClientMockRecorder) ImportImage ¶ added in v1.17.3
func (mr *MockClientMockRecorder) ImportImage(arg0 interface{}) *gomock.Call
ImportImage indicates an expected call of ImportImage
func (*MockClientMockRecorder) InspectContainer ¶ added in v1.17.3
func (mr *MockClientMockRecorder) InspectContainer(arg0 interface{}) *gomock.Call
InspectContainer indicates an expected call of InspectContainer
func (*MockClientMockRecorder) InspectContainerWithContext ¶ added in v1.17.3
func (mr *MockClientMockRecorder) InspectContainerWithContext(arg0, arg1 interface{}) *gomock.Call
InspectContainerWithContext indicates an expected call of InspectContainerWithContext
func (*MockClientMockRecorder) InspectImage ¶ added in v1.17.3
func (mr *MockClientMockRecorder) InspectImage(arg0 interface{}) *gomock.Call
InspectImage indicates an expected call of InspectImage
func (*MockClientMockRecorder) ListContainers ¶ added in v1.17.3
func (mr *MockClientMockRecorder) ListContainers(arg0 interface{}) *gomock.Call
ListContainers indicates an expected call of ListContainers
func (*MockClientMockRecorder) LoadImage ¶ added in v1.17.3
func (mr *MockClientMockRecorder) LoadImage(arg0 interface{}) *gomock.Call
LoadImage indicates an expected call of LoadImage
func (*MockClientMockRecorder) Ping ¶ added in v1.17.3
func (mr *MockClientMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping
func (*MockClientMockRecorder) PullImage ¶ added in v1.17.3
func (mr *MockClientMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call
PullImage indicates an expected call of PullImage
func (*MockClientMockRecorder) RemoveContainer ¶ added in v1.17.3
func (mr *MockClientMockRecorder) RemoveContainer(arg0 interface{}) *gomock.Call
RemoveContainer indicates an expected call of RemoveContainer
func (*MockClientMockRecorder) RemoveEventListener ¶ added in v1.17.3
func (mr *MockClientMockRecorder) RemoveEventListener(arg0 interface{}) *gomock.Call
RemoveEventListener indicates an expected call of RemoveEventListener
func (*MockClientMockRecorder) RemoveImage ¶ added in v1.17.3
func (mr *MockClientMockRecorder) RemoveImage(arg0 interface{}) *gomock.Call
RemoveImage indicates an expected call of RemoveImage
func (*MockClientMockRecorder) StartContainer ¶ added in v1.17.3
func (mr *MockClientMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call
StartContainer indicates an expected call of StartContainer
func (*MockClientMockRecorder) StartContainerWithContext ¶ added in v1.17.3
func (mr *MockClientMockRecorder) StartContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
StartContainerWithContext indicates an expected call of StartContainerWithContext
func (*MockClientMockRecorder) Stats ¶ added in v1.17.3
func (mr *MockClientMockRecorder) Stats(arg0 interface{}) *gomock.Call
Stats indicates an expected call of Stats
func (*MockClientMockRecorder) StopContainer ¶ added in v1.17.3
func (mr *MockClientMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer
func (*MockClientMockRecorder) StopContainerWithContext ¶ added in v1.17.3
func (mr *MockClientMockRecorder) StopContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
StopContainerWithContext indicates an expected call of StopContainerWithContext
func (*MockClientMockRecorder) Version ¶ added in v1.17.3
func (mr *MockClientMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version