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) VersionWithContext(arg0 context.Context) (*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) VersionWithContext(arg0 interface{}) *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 ¶
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 ¶
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 ¶
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 ¶
func (m *MockClient) StartContainerWithContext(arg0 string, arg1 *go_dockerclient.HostConfig, arg2 context.Context) error
StartContainerWithContext mocks base method
func (*MockClient) Stats ¶
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 ¶
StopContainerWithContext mocks base method
func (*MockClient) VersionWithContext ¶
func (m *MockClient) VersionWithContext(arg0 context.Context) (*go_dockerclient.Env, error)
VersionWithContext mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddEventListener ¶
func (mr *MockClientMockRecorder) AddEventListener(arg0 interface{}) *gomock.Call
AddEventListener indicates an expected call of AddEventListener
func (*MockClientMockRecorder) CreateContainer ¶
func (mr *MockClientMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer
func (*MockClientMockRecorder) ImportImage ¶
func (mr *MockClientMockRecorder) ImportImage(arg0 interface{}) *gomock.Call
ImportImage indicates an expected call of ImportImage
func (*MockClientMockRecorder) InspectContainer ¶
func (mr *MockClientMockRecorder) InspectContainer(arg0 interface{}) *gomock.Call
InspectContainer indicates an expected call of InspectContainer
func (*MockClientMockRecorder) InspectContainerWithContext ¶
func (mr *MockClientMockRecorder) InspectContainerWithContext(arg0, arg1 interface{}) *gomock.Call
InspectContainerWithContext indicates an expected call of InspectContainerWithContext
func (*MockClientMockRecorder) InspectImage ¶
func (mr *MockClientMockRecorder) InspectImage(arg0 interface{}) *gomock.Call
InspectImage indicates an expected call of InspectImage
func (*MockClientMockRecorder) ListContainers ¶
func (mr *MockClientMockRecorder) ListContainers(arg0 interface{}) *gomock.Call
ListContainers indicates an expected call of ListContainers
func (*MockClientMockRecorder) LoadImage ¶
func (mr *MockClientMockRecorder) LoadImage(arg0 interface{}) *gomock.Call
LoadImage indicates an expected call of LoadImage
func (*MockClientMockRecorder) Ping ¶
func (mr *MockClientMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping
func (*MockClientMockRecorder) PullImage ¶
func (mr *MockClientMockRecorder) PullImage(arg0, arg1 interface{}) *gomock.Call
PullImage indicates an expected call of PullImage
func (*MockClientMockRecorder) RemoveContainer ¶
func (mr *MockClientMockRecorder) RemoveContainer(arg0 interface{}) *gomock.Call
RemoveContainer indicates an expected call of RemoveContainer
func (*MockClientMockRecorder) RemoveEventListener ¶
func (mr *MockClientMockRecorder) RemoveEventListener(arg0 interface{}) *gomock.Call
RemoveEventListener indicates an expected call of RemoveEventListener
func (*MockClientMockRecorder) RemoveImage ¶
func (mr *MockClientMockRecorder) RemoveImage(arg0 interface{}) *gomock.Call
RemoveImage indicates an expected call of RemoveImage
func (*MockClientMockRecorder) StartContainer ¶
func (mr *MockClientMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call
StartContainer indicates an expected call of StartContainer
func (*MockClientMockRecorder) StartContainerWithContext ¶
func (mr *MockClientMockRecorder) StartContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
StartContainerWithContext indicates an expected call of StartContainerWithContext
func (*MockClientMockRecorder) Stats ¶
func (mr *MockClientMockRecorder) Stats(arg0 interface{}) *gomock.Call
Stats indicates an expected call of Stats
func (*MockClientMockRecorder) StopContainer ¶
func (mr *MockClientMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer
func (*MockClientMockRecorder) StopContainerWithContext ¶
func (mr *MockClientMockRecorder) StopContainerWithContext(arg0, arg1, arg2 interface{}) *gomock.Call
StopContainerWithContext indicates an expected call of StopContainerWithContext
func (*MockClientMockRecorder) VersionWithContext ¶
func (mr *MockClientMockRecorder) VersionWithContext(arg0 interface{}) *gomock.Call
VersionWithContext indicates an expected call of VersionWithContext