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) error
- func (m *MockContainerEngine) ContainerCreate(arg0 *container.Config, arg1 *container.HostConfig, ...) (string, error)
- func (m *MockContainerEngine) ContainerExec(arg0 string, arg1 []string, arg2 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) ContainersListByLabel(arg0 map[string]string) ([]types.Container, error)
- func (m *MockContainerEngine) CopyFromArchive(arg0, arg1 string, arg2 io.Reader) error
- func (m *MockContainerEngine) EXPECT() *MockContainerEngineMockRecorder
- func (m *MockContainerEngine) ImagePull(arg0 string) error
- func (m *MockContainerEngine) ListImages(arg0, arg1 string) ([]containerengine.Image, error)
- func (m *MockContainerEngine) Logger(arg0 string) containerengine.ContainerLogger
- func (m *MockContainerEngine) NetworkCreate(arg0 string) error
- 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
- type MockContainerEngineMockRecorder
- func (mr *MockContainerEngineMockRecorder) Build(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerExec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerLogs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainerWait(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ContainersListByLabel(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) CopyFromArchive(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ImagePull(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) Logger(arg0 interface{}) *gomock.Call
- func (mr *MockContainerEngineMockRecorder) NetworkCreate(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
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) 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) ContainerExec ¶
func (m *MockContainerEngine) ContainerExec(arg0 string, arg1 []string, arg2 string) error
ContainerExec 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) ContainersListByLabel ¶
func (m *MockContainerEngine) ContainersListByLabel(arg0 map[string]string) ([]types.Container, error)
ContainersListByLabel mocks base method.
func (*MockContainerEngine) CopyFromArchive ¶
func (m *MockContainerEngine) CopyFromArchive(arg0, arg1 string, arg2 io.Reader) error
CopyFromArchive 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) error
ImagePull 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) NetworkCreate ¶
func (m *MockContainerEngine) NetworkCreate(arg0 string) error
NetworkCreate 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.
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 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) ContainerExec ¶
func (mr *MockContainerEngineMockRecorder) ContainerExec(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExec indicates an expected call of ContainerExec.
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) ContainersListByLabel ¶
func (mr *MockContainerEngineMockRecorder) ContainersListByLabel(arg0 interface{}) *gomock.Call
ContainersListByLabel indicates an expected call of ContainersListByLabel.
func (*MockContainerEngineMockRecorder) CopyFromArchive ¶
func (mr *MockContainerEngineMockRecorder) CopyFromArchive(arg0, arg1, arg2 interface{}) *gomock.Call
CopyFromArchive indicates an expected call of CopyFromArchive.
func (*MockContainerEngineMockRecorder) ImagePull ¶
func (mr *MockContainerEngineMockRecorder) ImagePull(arg0 interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull.
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) NetworkCreate ¶
func (mr *MockContainerEngineMockRecorder) NetworkCreate(arg0 interface{}) *gomock.Call
NetworkCreate indicates an expected call of NetworkCreate.
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.