Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) AttachToContainer(arg0 string, arg1 types.ContainerAttachOptions, arg2 libdocker.StreamOptions) error
- func (m *MockInterface) CreateContainer(arg0 types.ContainerCreateConfig) (*container.ContainerCreateCreatedBody, error)
- func (m *MockInterface) CreateExec(arg0 string, arg1 types.ExecConfig) (*types.IDResponse, error)
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetContainerStats(id string) (*types.StatsJSON, error)
- func (m *MockInterface) ImageHistory(id string) ([]image.HistoryResponseItem, error)
- func (m *MockInterface) Info() (*types.Info, error)
- func (m *MockInterface) InspectContainer(id string) (*types.ContainerJSON, error)
- func (m *MockInterface) InspectContainerWithSize(id string) (*types.ContainerJSON, error)
- func (m *MockInterface) InspectExec(id string) (*types.ContainerExecInspect, error)
- func (m *MockInterface) InspectImageByID(imageID string) (*types.ImageInspect, error)
- func (m *MockInterface) InspectImageByRef(imageRef string) (*types.ImageInspect, error)
- func (m *MockInterface) ListContainers(options types.ContainerListOptions) ([]types.Container, error)
- func (m *MockInterface) ListImages(opts types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockInterface) Logs(arg0 string, arg1 types.ContainerLogsOptions, arg2 libdocker.StreamOptions) error
- func (m *MockInterface) PullImage(image string, auth types.AuthConfig, opts types.ImagePullOptions) error
- func (m *MockInterface) RemoveContainer(id string, opts types.ContainerRemoveOptions) error
- func (m *MockInterface) RemoveImage(image string, opts types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockInterface) ResizeContainerTTY(id string, height, width uint) error
- func (m *MockInterface) ResizeExecTTY(id string, height, width uint) error
- func (m *MockInterface) StartContainer(id string) error
- func (m *MockInterface) StartExec(arg0 string, arg1 types.ExecStartCheck, arg2 libdocker.StreamOptions) error
- func (m *MockInterface) StopContainer(id string, timeout time.Duration) error
- func (m *MockInterface) UpdateContainerResources(id string, updateConfig container.UpdateConfig) error
- func (m *MockInterface) Version() (*types.Version, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) AttachToContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) CreateExec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetContainerStats(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ImageHistory(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Info() *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectContainer(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectContainerWithSize(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectExec(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectImageByID(imageID interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) InspectImageByRef(imageRef interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListContainers(options interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ListImages(opts interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) PullImage(image, auth, opts interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RemoveContainer(id, opts interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) RemoveImage(image, opts interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ResizeContainerTTY(id, height, width interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) ResizeExecTTY(id, height, width interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StartContainer(id interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StartExec(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) StopContainer(id, timeout interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateContainerResources(id, updateConfig interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Version() *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) AttachToContainer ¶
func (m *MockInterface) AttachToContainer(arg0 string, arg1 types.ContainerAttachOptions, arg2 libdocker.StreamOptions) error
AttachToContainer mocks base method.
func (*MockInterface) CreateContainer ¶
func (m *MockInterface) CreateContainer(arg0 types.ContainerCreateConfig) (*container.ContainerCreateCreatedBody, error)
CreateContainer mocks base method.
func (*MockInterface) CreateExec ¶
func (m *MockInterface) CreateExec(arg0 string, arg1 types.ExecConfig) (*types.IDResponse, error)
CreateExec 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) GetContainerStats ¶
func (m *MockInterface) GetContainerStats(id string) (*types.StatsJSON, error)
GetContainerStats mocks base method.
func (*MockInterface) ImageHistory ¶
func (m *MockInterface) ImageHistory(id string) ([]image.HistoryResponseItem, error)
ImageHistory mocks base method.
func (*MockInterface) Info ¶
func (m *MockInterface) Info() (*types.Info, error)
Info mocks base method.
func (*MockInterface) InspectContainer ¶
func (m *MockInterface) InspectContainer(id string) (*types.ContainerJSON, error)
InspectContainer mocks base method.
func (*MockInterface) InspectContainerWithSize ¶
func (m *MockInterface) InspectContainerWithSize(id string) (*types.ContainerJSON, error)
InspectContainerWithSize mocks base method.
func (*MockInterface) InspectExec ¶
func (m *MockInterface) InspectExec(id string) (*types.ContainerExecInspect, error)
InspectExec mocks base method.
func (*MockInterface) InspectImageByID ¶
func (m *MockInterface) InspectImageByID(imageID string) (*types.ImageInspect, error)
InspectImageByID mocks base method.
func (*MockInterface) InspectImageByRef ¶
func (m *MockInterface) InspectImageByRef(imageRef string) (*types.ImageInspect, error)
InspectImageByRef mocks base method.
func (*MockInterface) ListContainers ¶
func (m *MockInterface) ListContainers(options types.ContainerListOptions) ([]types.Container, error)
ListContainers mocks base method.
func (*MockInterface) ListImages ¶
func (m *MockInterface) ListImages(opts types.ImageListOptions) ([]types.ImageSummary, error)
ListImages mocks base method.
func (*MockInterface) Logs ¶
func (m *MockInterface) Logs(arg0 string, arg1 types.ContainerLogsOptions, arg2 libdocker.StreamOptions) error
Logs mocks base method.
func (*MockInterface) PullImage ¶
func (m *MockInterface) PullImage(image string, auth types.AuthConfig, opts types.ImagePullOptions) error
PullImage mocks base method.
func (*MockInterface) RemoveContainer ¶
func (m *MockInterface) RemoveContainer(id string, opts types.ContainerRemoveOptions) error
RemoveContainer mocks base method.
func (*MockInterface) RemoveImage ¶
func (m *MockInterface) RemoveImage(image string, opts types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
RemoveImage mocks base method.
func (*MockInterface) ResizeContainerTTY ¶
func (m *MockInterface) ResizeContainerTTY(id string, height, width uint) error
ResizeContainerTTY mocks base method.
func (*MockInterface) ResizeExecTTY ¶
func (m *MockInterface) ResizeExecTTY(id string, height, width uint) error
ResizeExecTTY mocks base method.
func (*MockInterface) StartContainer ¶
func (m *MockInterface) StartContainer(id string) error
StartContainer mocks base method.
func (*MockInterface) StartExec ¶
func (m *MockInterface) StartExec(arg0 string, arg1 types.ExecStartCheck, arg2 libdocker.StreamOptions) error
StartExec mocks base method.
func (*MockInterface) StopContainer ¶
func (m *MockInterface) StopContainer(id string, timeout time.Duration) error
StopContainer mocks base method.
func (*MockInterface) UpdateContainerResources ¶
func (m *MockInterface) UpdateContainerResources(id string, updateConfig container.UpdateConfig) error
UpdateContainerResources mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) AttachToContainer ¶
func (mr *MockInterfaceMockRecorder) AttachToContainer(arg0, arg1, arg2 interface{}) *gomock.Call
AttachToContainer indicates an expected call of AttachToContainer.
func (*MockInterfaceMockRecorder) CreateContainer ¶
func (mr *MockInterfaceMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer.
func (*MockInterfaceMockRecorder) CreateExec ¶
func (mr *MockInterfaceMockRecorder) CreateExec(arg0, arg1 interface{}) *gomock.Call
CreateExec indicates an expected call of CreateExec.
func (*MockInterfaceMockRecorder) GetContainerStats ¶
func (mr *MockInterfaceMockRecorder) GetContainerStats(id interface{}) *gomock.Call
GetContainerStats indicates an expected call of GetContainerStats.
func (*MockInterfaceMockRecorder) ImageHistory ¶
func (mr *MockInterfaceMockRecorder) ImageHistory(id interface{}) *gomock.Call
ImageHistory indicates an expected call of ImageHistory.
func (*MockInterfaceMockRecorder) Info ¶
func (mr *MockInterfaceMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info.
func (*MockInterfaceMockRecorder) InspectContainer ¶
func (mr *MockInterfaceMockRecorder) InspectContainer(id interface{}) *gomock.Call
InspectContainer indicates an expected call of InspectContainer.
func (*MockInterfaceMockRecorder) InspectContainerWithSize ¶
func (mr *MockInterfaceMockRecorder) InspectContainerWithSize(id interface{}) *gomock.Call
InspectContainerWithSize indicates an expected call of InspectContainerWithSize.
func (*MockInterfaceMockRecorder) InspectExec ¶
func (mr *MockInterfaceMockRecorder) InspectExec(id interface{}) *gomock.Call
InspectExec indicates an expected call of InspectExec.
func (*MockInterfaceMockRecorder) InspectImageByID ¶
func (mr *MockInterfaceMockRecorder) InspectImageByID(imageID interface{}) *gomock.Call
InspectImageByID indicates an expected call of InspectImageByID.
func (*MockInterfaceMockRecorder) InspectImageByRef ¶
func (mr *MockInterfaceMockRecorder) InspectImageByRef(imageRef interface{}) *gomock.Call
InspectImageByRef indicates an expected call of InspectImageByRef.
func (*MockInterfaceMockRecorder) ListContainers ¶
func (mr *MockInterfaceMockRecorder) ListContainers(options interface{}) *gomock.Call
ListContainers indicates an expected call of ListContainers.
func (*MockInterfaceMockRecorder) ListImages ¶
func (mr *MockInterfaceMockRecorder) ListImages(opts interface{}) *gomock.Call
ListImages indicates an expected call of ListImages.
func (*MockInterfaceMockRecorder) Logs ¶
func (mr *MockInterfaceMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call
Logs indicates an expected call of Logs.
func (*MockInterfaceMockRecorder) PullImage ¶
func (mr *MockInterfaceMockRecorder) PullImage(image, auth, opts interface{}) *gomock.Call
PullImage indicates an expected call of PullImage.
func (*MockInterfaceMockRecorder) RemoveContainer ¶
func (mr *MockInterfaceMockRecorder) RemoveContainer(id, opts interface{}) *gomock.Call
RemoveContainer indicates an expected call of RemoveContainer.
func (*MockInterfaceMockRecorder) RemoveImage ¶
func (mr *MockInterfaceMockRecorder) RemoveImage(image, opts interface{}) *gomock.Call
RemoveImage indicates an expected call of RemoveImage.
func (*MockInterfaceMockRecorder) ResizeContainerTTY ¶
func (mr *MockInterfaceMockRecorder) ResizeContainerTTY(id, height, width interface{}) *gomock.Call
ResizeContainerTTY indicates an expected call of ResizeContainerTTY.
func (*MockInterfaceMockRecorder) ResizeExecTTY ¶
func (mr *MockInterfaceMockRecorder) ResizeExecTTY(id, height, width interface{}) *gomock.Call
ResizeExecTTY indicates an expected call of ResizeExecTTY.
func (*MockInterfaceMockRecorder) StartContainer ¶
func (mr *MockInterfaceMockRecorder) StartContainer(id interface{}) *gomock.Call
StartContainer indicates an expected call of StartContainer.
func (*MockInterfaceMockRecorder) StartExec ¶
func (mr *MockInterfaceMockRecorder) StartExec(arg0, arg1, arg2 interface{}) *gomock.Call
StartExec indicates an expected call of StartExec.
func (*MockInterfaceMockRecorder) StopContainer ¶
func (mr *MockInterfaceMockRecorder) StopContainer(id, timeout interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer.
func (*MockInterfaceMockRecorder) UpdateContainerResources ¶
func (mr *MockInterfaceMockRecorder) UpdateContainerResources(id, updateConfig interface{}) *gomock.Call
UpdateContainerResources indicates an expected call of UpdateContainerResources.
func (*MockInterfaceMockRecorder) Version ¶
func (mr *MockInterfaceMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version.