Documentation ¶
Overview ¶
Package mock_docker is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) ContainerExec(containerID string, cmd []string) (io.Reader, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) InspectContainer(containerID string) (types.ContainerJSON, error)
- func (m *MockInterface) ListImages() ([]*docker.ImageSummary, error)
- func (m *MockInterface) LoadImage(input io.Reader) error
- func (m *MockInterface) LoadImageByFilepath(filepath string) error
- func (m *MockInterface) PullImage(imageID string) error
- func (m *MockInterface) PushImage(imageID string) error
- func (m *MockInterface) ReadImage(imageID string) (io.Reader, error)
- func (m *MockInterface) RunContainer(imageID string, cmd []string, config *docker.RunContainerConfig) (string, error)
- func (m *MockInterface) StopContainer(containerID string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) ContainerExec(containerID, cmd interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectContainer(containerID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListImages() *gomock.Call
- func (mr *MockInterfaceMockRecorder) LoadImage(input interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) LoadImageByFilepath(filepath interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PullImage(imageID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PushImage(imageID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ReadImage(imageID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RunContainer(imageID, cmd, config interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StopContainer(containerID interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance
func (*MockInterface) ContainerExec ¶
ContainerExec mocks base method
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInterface) InspectContainer ¶
func (m *MockInterface) InspectContainer(containerID string) (types.ContainerJSON, error)
InspectContainer mocks base method
func (*MockInterface) ListImages ¶
func (m *MockInterface) ListImages() ([]*docker.ImageSummary, error)
ListImages mocks base method
func (*MockInterface) LoadImage ¶
func (m *MockInterface) LoadImage(input io.Reader) error
LoadImage mocks base method
func (*MockInterface) LoadImageByFilepath ¶
func (m *MockInterface) LoadImageByFilepath(filepath string) error
LoadImageByFilepath mocks base method
func (*MockInterface) PullImage ¶
func (m *MockInterface) PullImage(imageID string) error
PullImage mocks base method
func (*MockInterface) PushImage ¶
func (m *MockInterface) PushImage(imageID string) error
PushImage mocks base method
func (*MockInterface) ReadImage ¶
func (m *MockInterface) ReadImage(imageID string) (io.Reader, error)
ReadImage mocks base method
func (*MockInterface) RunContainer ¶
func (m *MockInterface) RunContainer(imageID string, cmd []string, config *docker.RunContainerConfig) (string, error)
RunContainer mocks base method
func (*MockInterface) StopContainer ¶
func (m *MockInterface) StopContainer(containerID string) error
StopContainer mocks base method
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface
func (*MockInterfaceMockRecorder) ContainerExec ¶
func (mr *MockInterfaceMockRecorder) ContainerExec(containerID, cmd interface{}) *gomock.Call
ContainerExec indicates an expected call of ContainerExec
func (*MockInterfaceMockRecorder) InspectContainer ¶
func (mr *MockInterfaceMockRecorder) InspectContainer(containerID interface{}) *gomock.Call
InspectContainer indicates an expected call of InspectContainer
func (*MockInterfaceMockRecorder) ListImages ¶
func (mr *MockInterfaceMockRecorder) ListImages() *gomock.Call
ListImages indicates an expected call of ListImages
func (*MockInterfaceMockRecorder) LoadImage ¶
func (mr *MockInterfaceMockRecorder) LoadImage(input interface{}) *gomock.Call
LoadImage indicates an expected call of LoadImage
func (*MockInterfaceMockRecorder) LoadImageByFilepath ¶
func (mr *MockInterfaceMockRecorder) LoadImageByFilepath(filepath interface{}) *gomock.Call
LoadImageByFilepath indicates an expected call of LoadImageByFilepath
func (*MockInterfaceMockRecorder) PullImage ¶
func (mr *MockInterfaceMockRecorder) PullImage(imageID interface{}) *gomock.Call
PullImage indicates an expected call of PullImage
func (*MockInterfaceMockRecorder) PushImage ¶
func (mr *MockInterfaceMockRecorder) PushImage(imageID interface{}) *gomock.Call
PushImage indicates an expected call of PushImage
func (*MockInterfaceMockRecorder) ReadImage ¶
func (mr *MockInterfaceMockRecorder) ReadImage(imageID interface{}) *gomock.Call
ReadImage indicates an expected call of ReadImage
func (*MockInterfaceMockRecorder) RunContainer ¶
func (mr *MockInterfaceMockRecorder) RunContainer(imageID, cmd, config interface{}) *gomock.Call
RunContainer indicates an expected call of RunContainer
func (*MockInterfaceMockRecorder) StopContainer ¶
func (mr *MockInterfaceMockRecorder) StopContainer(containerID interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer