kubernetes: k8s.io/kubernetes/pkg/kubelet/dockershim/libdocker/testing Index | Files

package testing

import "k8s.io/kubernetes/pkg/kubelet/dockershim/libdocker/testing"

Package testing is a generated GoMock package.

Index

Package Files

mock_client.go

type MockInterface Uses

type MockInterface struct {
    // contains filtered or unexported fields
}

MockInterface is a mock of Interface interface

func NewMockInterface Uses

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) AttachToContainer Uses

func (m *MockInterface) AttachToContainer(arg0 string, arg1 types.ContainerAttachOptions, arg2 libdocker.StreamOptions) error

AttachToContainer mocks base method

func (*MockInterface) CreateContainer Uses

func (m *MockInterface) CreateContainer(arg0 types.ContainerCreateConfig) (*container.ContainerCreateCreatedBody, error)

CreateContainer mocks base method

func (*MockInterface) CreateExec Uses

func (m *MockInterface) CreateExec(arg0 string, arg1 types.ExecConfig) (*types.IDResponse, error)

CreateExec mocks base method

func (*MockInterface) EXPECT Uses

func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockInterface) GetContainerStats Uses

func (m *MockInterface) GetContainerStats(id string) (*types.StatsJSON, error)

GetContainerStats mocks base method

func (*MockInterface) ImageHistory Uses

func (m *MockInterface) ImageHistory(id string) ([]image.HistoryResponseItem, error)

ImageHistory mocks base method

func (*MockInterface) Info Uses

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

Info mocks base method

func (*MockInterface) InspectContainer Uses

func (m *MockInterface) InspectContainer(id string) (*types.ContainerJSON, error)

InspectContainer mocks base method

func (*MockInterface) InspectContainerWithSize Uses

func (m *MockInterface) InspectContainerWithSize(id string) (*types.ContainerJSON, error)

InspectContainerWithSize mocks base method

func (*MockInterface) InspectExec Uses

func (m *MockInterface) InspectExec(id string) (*types.ContainerExecInspect, error)

InspectExec mocks base method

func (*MockInterface) InspectImageByID Uses

func (m *MockInterface) InspectImageByID(imageID string) (*types.ImageInspect, error)

InspectImageByID mocks base method

func (*MockInterface) InspectImageByRef Uses

func (m *MockInterface) InspectImageByRef(imageRef string) (*types.ImageInspect, error)

InspectImageByRef mocks base method

func (*MockInterface) ListContainers Uses

func (m *MockInterface) ListContainers(options types.ContainerListOptions) ([]types.Container, error)

ListContainers mocks base method

func (*MockInterface) ListImages Uses

func (m *MockInterface) ListImages(opts types.ImageListOptions) ([]types.ImageSummary, error)

ListImages mocks base method

func (*MockInterface) Logs Uses

func (m *MockInterface) Logs(arg0 string, arg1 types.ContainerLogsOptions, arg2 libdocker.StreamOptions) error

Logs mocks base method

func (*MockInterface) PullImage Uses

func (m *MockInterface) PullImage(image string, auth types.AuthConfig, opts types.ImagePullOptions) error

PullImage mocks base method

func (*MockInterface) RemoveContainer Uses

func (m *MockInterface) RemoveContainer(id string, opts types.ContainerRemoveOptions) error

RemoveContainer mocks base method

func (*MockInterface) RemoveImage Uses

func (m *MockInterface) RemoveImage(image string, opts types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)

RemoveImage mocks base method

func (*MockInterface) ResizeContainerTTY Uses

func (m *MockInterface) ResizeContainerTTY(id string, height, width uint) error

ResizeContainerTTY mocks base method

func (*MockInterface) ResizeExecTTY Uses

func (m *MockInterface) ResizeExecTTY(id string, height, width uint) error

ResizeExecTTY mocks base method

func (*MockInterface) StartContainer Uses

func (m *MockInterface) StartContainer(id string) error

StartContainer mocks base method

func (*MockInterface) StartExec Uses

func (m *MockInterface) StartExec(arg0 string, arg1 types.ExecStartCheck, arg2 libdocker.StreamOptions) error

StartExec mocks base method

func (*MockInterface) StopContainer Uses

func (m *MockInterface) StopContainer(id string, timeout time.Duration) error

StopContainer mocks base method

func (*MockInterface) UpdateContainerResources Uses

func (m *MockInterface) UpdateContainerResources(id string, updateConfig container.UpdateConfig) error

UpdateContainerResources mocks base method

func (*MockInterface) Version Uses

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

Version mocks base method

type MockInterfaceMockRecorder Uses

type MockInterfaceMockRecorder struct {
    // contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) AttachToContainer Uses

func (mr *MockInterfaceMockRecorder) AttachToContainer(arg0, arg1, arg2 interface{}) *gomock.Call

AttachToContainer indicates an expected call of AttachToContainer

func (*MockInterfaceMockRecorder) CreateContainer Uses

func (mr *MockInterfaceMockRecorder) CreateContainer(arg0 interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer

func (*MockInterfaceMockRecorder) CreateExec Uses

func (mr *MockInterfaceMockRecorder) CreateExec(arg0, arg1 interface{}) *gomock.Call

CreateExec indicates an expected call of CreateExec

func (*MockInterfaceMockRecorder) GetContainerStats Uses

func (mr *MockInterfaceMockRecorder) GetContainerStats(id interface{}) *gomock.Call

GetContainerStats indicates an expected call of GetContainerStats

func (*MockInterfaceMockRecorder) ImageHistory Uses

func (mr *MockInterfaceMockRecorder) ImageHistory(id interface{}) *gomock.Call

ImageHistory indicates an expected call of ImageHistory

func (*MockInterfaceMockRecorder) Info Uses

func (mr *MockInterfaceMockRecorder) Info() *gomock.Call

Info indicates an expected call of Info

func (*MockInterfaceMockRecorder) InspectContainer Uses

func (mr *MockInterfaceMockRecorder) InspectContainer(id interface{}) *gomock.Call

InspectContainer indicates an expected call of InspectContainer

func (*MockInterfaceMockRecorder) InspectContainerWithSize Uses

func (mr *MockInterfaceMockRecorder) InspectContainerWithSize(id interface{}) *gomock.Call

InspectContainerWithSize indicates an expected call of InspectContainerWithSize

func (*MockInterfaceMockRecorder) InspectExec Uses

func (mr *MockInterfaceMockRecorder) InspectExec(id interface{}) *gomock.Call

InspectExec indicates an expected call of InspectExec

func (*MockInterfaceMockRecorder) InspectImageByID Uses

func (mr *MockInterfaceMockRecorder) InspectImageByID(imageID interface{}) *gomock.Call

InspectImageByID indicates an expected call of InspectImageByID

func (*MockInterfaceMockRecorder) InspectImageByRef Uses

func (mr *MockInterfaceMockRecorder) InspectImageByRef(imageRef interface{}) *gomock.Call

InspectImageByRef indicates an expected call of InspectImageByRef

func (*MockInterfaceMockRecorder) ListContainers Uses

func (mr *MockInterfaceMockRecorder) ListContainers(options interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers

func (*MockInterfaceMockRecorder) ListImages Uses

func (mr *MockInterfaceMockRecorder) ListImages(opts interface{}) *gomock.Call

ListImages indicates an expected call of ListImages

func (*MockInterfaceMockRecorder) Logs Uses

func (mr *MockInterfaceMockRecorder) Logs(arg0, arg1, arg2 interface{}) *gomock.Call

Logs indicates an expected call of Logs

func (*MockInterfaceMockRecorder) PullImage Uses

func (mr *MockInterfaceMockRecorder) PullImage(image, auth, opts interface{}) *gomock.Call

PullImage indicates an expected call of PullImage

func (*MockInterfaceMockRecorder) RemoveContainer Uses

func (mr *MockInterfaceMockRecorder) RemoveContainer(id, opts interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer

func (*MockInterfaceMockRecorder) RemoveImage Uses

func (mr *MockInterfaceMockRecorder) RemoveImage(image, opts interface{}) *gomock.Call

RemoveImage indicates an expected call of RemoveImage

func (*MockInterfaceMockRecorder) ResizeContainerTTY Uses

func (mr *MockInterfaceMockRecorder) ResizeContainerTTY(id, height, width interface{}) *gomock.Call

ResizeContainerTTY indicates an expected call of ResizeContainerTTY

func (*MockInterfaceMockRecorder) ResizeExecTTY Uses

func (mr *MockInterfaceMockRecorder) ResizeExecTTY(id, height, width interface{}) *gomock.Call

ResizeExecTTY indicates an expected call of ResizeExecTTY

func (*MockInterfaceMockRecorder) StartContainer Uses

func (mr *MockInterfaceMockRecorder) StartContainer(id interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer

func (*MockInterfaceMockRecorder) StartExec Uses

func (mr *MockInterfaceMockRecorder) StartExec(arg0, arg1, arg2 interface{}) *gomock.Call

StartExec indicates an expected call of StartExec

func (*MockInterfaceMockRecorder) StopContainer Uses

func (mr *MockInterfaceMockRecorder) StopContainer(id, timeout interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer

func (*MockInterfaceMockRecorder) UpdateContainerResources Uses

func (mr *MockInterfaceMockRecorder) UpdateContainerResources(id, updateConfig interface{}) *gomock.Call

UpdateContainerResources indicates an expected call of UpdateContainerResources

func (*MockInterfaceMockRecorder) Version Uses

func (mr *MockInterfaceMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version

Package testing imports 7 packages (graph). Updated 2020-11-04. Refresh now. Tools for package owners.