Documentation ¶
Overview ¶
Package mock_containerengine is a generated GoMock package.
Index ¶
- type MockContainerEngine
- func (m *MockContainerEngine) Build(arg0, arg1, arg2 string, arg3 map[string]string, arg4 []string) error
- func (m *MockContainerEngine) ContainerCreate(arg0 *container.Config, arg1 *container.HostConfig, ...) (string, error)
- func (m *MockContainerEngine) ContainerLogs(arg0 string, arg1 types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockContainerEngine) ContainerWait(arg0 string, arg1 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (m *MockContainerEngine) EXPECT() *MockContainerEngineMockRecorder
- func (m *MockContainerEngine) ImagePull(arg0 string, arg1 types.ImagePullOptions) error
- func (m *MockContainerEngine) Inspect(arg0 string) (types.ImageInspect, error)
- func (m *MockContainerEngine) ListImages(arg0, arg1 string) ([]containerengine.Image, error)
- func (m *MockContainerEngine) Logger(arg0 string) containerengine.ContainerLogger
- func (m *MockContainerEngine) RemoveByLabel(arg0 map[string]string) error
- func (m *MockContainerEngine) Start(arg0 string) error
- func (m *MockContainerEngine) Stop(arg0 string, arg1 *time.Duration) error
- func (m *MockContainerEngine) Type() string
- func (m *MockContainerEngine) Version() string
- type MockContainerEngineMockRecorder
- func (mr *MockContainerEngineMockRecorder) Build(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerWait(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ImagePull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Inspect(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Logger(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) RemoveByLabel(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Type() *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerEngine ¶
type MockContainerEngine struct {
// contains filtered or unexported fields
}
MockContainerEngine is a mock of ContainerEngine interface.
func NewMockContainerEngine ¶
func NewMockContainerEngine(ctrl *gomock.Controller) *MockContainerEngine
NewMockContainerEngine creates a new mock instance.
func (*MockContainerEngine) Build ¶
func (m *MockContainerEngine) Build(arg0, arg1, arg2 string, arg3 map[string]string, arg4 []string) error
Build mocks base method.
func (*MockContainerEngine) ContainerCreate ¶
func (m *MockContainerEngine) ContainerCreate(arg0 *container.Config, arg1 *container.HostConfig, arg2 *network.NetworkingConfig, arg3 string) (string, error)
ContainerCreate mocks base method.
func (*MockContainerEngine) ContainerLogs ¶
func (m *MockContainerEngine) ContainerLogs(arg0 string, arg1 types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs mocks base method.
func (*MockContainerEngine) ContainerWait ¶
func (m *MockContainerEngine) ContainerWait(arg0 string, arg1 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait mocks base method.
func (*MockContainerEngine) EXPECT ¶
func (m *MockContainerEngine) EXPECT() *MockContainerEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerEngine) ImagePull ¶
func (m *MockContainerEngine) ImagePull(arg0 string, arg1 types.ImagePullOptions) error
ImagePull mocks base method.
func (*MockContainerEngine) Inspect ¶ added in v1.12.0
func (m *MockContainerEngine) Inspect(arg0 string) (types.ImageInspect, error)
Inspect mocks base method.
func (*MockContainerEngine) ListImages ¶
func (m *MockContainerEngine) ListImages(arg0, arg1 string) ([]containerengine.Image, error)
ListImages mocks base method.
func (*MockContainerEngine) Logger ¶
func (m *MockContainerEngine) Logger(arg0 string) containerengine.ContainerLogger
Logger mocks base method.
func (*MockContainerEngine) RemoveByLabel ¶
func (m *MockContainerEngine) RemoveByLabel(arg0 map[string]string) error
RemoveByLabel mocks base method.
func (*MockContainerEngine) Start ¶
func (m *MockContainerEngine) Start(arg0 string) error
Start mocks base method.
func (*MockContainerEngine) Stop ¶
func (m *MockContainerEngine) Stop(arg0 string, arg1 *time.Duration) error
Stop mocks base method.
func (*MockContainerEngine) Type ¶
func (m *MockContainerEngine) Type() string
Type mocks base method.
func (*MockContainerEngine) Version ¶ added in v1.2.0
func (m *MockContainerEngine) Version() string
Version mocks base method.
type MockContainerEngineMockRecorder ¶
type MockContainerEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerEngineMockRecorder is the mock recorder for MockContainerEngine.
func (*MockContainerEngineMockRecorder) Build ¶
func (mr *MockContainerEngineMockRecorder) Build(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockContainerEngineMockRecorder) ContainerCreate ¶
func (mr *MockContainerEngineMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate.
func (*MockContainerEngineMockRecorder) ContainerLogs ¶
func (mr *MockContainerEngineMockRecorder) ContainerLogs(arg0, arg1 interface{}) *gomock.Call
ContainerLogs indicates an expected call of ContainerLogs.
func (*MockContainerEngineMockRecorder) ContainerWait ¶
func (mr *MockContainerEngineMockRecorder) ContainerWait(arg0, arg1 interface{}) *gomock.Call
ContainerWait indicates an expected call of ContainerWait.
func (*MockContainerEngineMockRecorder) ImagePull ¶
func (mr *MockContainerEngineMockRecorder) ImagePull(arg0, arg1 interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull.
func (*MockContainerEngineMockRecorder) Inspect ¶ added in v1.12.0
func (mr *MockContainerEngineMockRecorder) Inspect(arg0 interface{}) *gomock.Call
Inspect indicates an expected call of Inspect.
func (*MockContainerEngineMockRecorder) ListImages ¶
func (mr *MockContainerEngineMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
ListImages indicates an expected call of ListImages.
func (*MockContainerEngineMockRecorder) Logger ¶
func (mr *MockContainerEngineMockRecorder) Logger(arg0 interface{}) *gomock.Call
Logger indicates an expected call of Logger.
func (*MockContainerEngineMockRecorder) RemoveByLabel ¶
func (mr *MockContainerEngineMockRecorder) RemoveByLabel(arg0 interface{}) *gomock.Call
RemoveByLabel indicates an expected call of RemoveByLabel.
func (*MockContainerEngineMockRecorder) Start ¶
func (mr *MockContainerEngineMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockContainerEngineMockRecorder) Stop ¶
func (mr *MockContainerEngineMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockContainerEngineMockRecorder) Type ¶
func (mr *MockContainerEngineMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockContainerEngineMockRecorder) Version ¶ added in v1.2.0
func (mr *MockContainerEngineMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.