testing

package
v1.20.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

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

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

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

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

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

func (*MockInterface) Version

func (m *MockInterface) Version() (*types.Version, error)

Version 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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL