mock_sdkclient

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mock_sdkclient is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) ClientVersion

func (m *MockClient) ClientVersion() string

ClientVersion mocks base method

func (*MockClient) ContainerCreate

ContainerCreate mocks base method

func (*MockClient) ContainerInspect

func (m *MockClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error)

ContainerInspect mocks base method

func (*MockClient) ContainerList

func (m *MockClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error)

ContainerList mocks base method

func (*MockClient) ContainerRemove

func (m *MockClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error

ContainerRemove mocks base method

func (*MockClient) ContainerStart

func (m *MockClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error

ContainerStart mocks base method

func (*MockClient) ContainerStats

func (m *MockClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error)

ContainerStats mocks base method

func (*MockClient) ContainerStop

func (m *MockClient) ContainerStop(arg0 context.Context, arg1 string, arg2 *time.Duration) error

ContainerStop mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) Events

func (m *MockClient) Events(arg0 context.Context, arg1 types.EventsOptions) (<-chan events.Message, <-chan error)

Events mocks base method

func (*MockClient) ImageImport

ImageImport mocks base method

func (*MockClient) ImageInspectWithRaw

func (m *MockClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error)

ImageInspectWithRaw mocks base method

func (*MockClient) ImageList

func (m *MockClient) ImageList(arg0 context.Context, arg1 types.ImageListOptions) ([]types.ImageSummary, error)

ImageList mocks base method

func (*MockClient) ImageLoad

func (m *MockClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error)

ImageLoad mocks base method

func (*MockClient) ImagePull

func (m *MockClient) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error)

ImagePull mocks base method

func (*MockClient) ImageRemove

ImageRemove mocks base method

func (*MockClient) Ping

func (m *MockClient) Ping(arg0 context.Context) (types.Ping, error)

Ping mocks base method

func (*MockClient) PluginList

func (m *MockClient) PluginList(arg0 context.Context, arg1 filters.Args) (types.PluginsListResponse, error)

PluginList mocks base method

func (*MockClient) ServerVersion

func (m *MockClient) ServerVersion(arg0 context.Context) (types.Version, error)

ServerVersion mocks base method

func (*MockClient) VolumeCreate

func (m *MockClient) VolumeCreate(arg0 context.Context, arg1 volume.VolumeCreateBody) (types.Volume, error)

VolumeCreate mocks base method

func (*MockClient) VolumeInspect

func (m *MockClient) VolumeInspect(arg0 context.Context, arg1 string) (types.Volume, error)

VolumeInspect mocks base method

func (*MockClient) VolumeRemove

func (m *MockClient) VolumeRemove(arg0 context.Context, arg1 string, arg2 bool) error

VolumeRemove mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) ClientVersion

func (mr *MockClientMockRecorder) ClientVersion() *gomock.Call

ClientVersion indicates an expected call of ClientVersion

func (*MockClientMockRecorder) ContainerCreate

func (mr *MockClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ContainerCreate indicates an expected call of ContainerCreate

func (*MockClientMockRecorder) ContainerInspect

func (mr *MockClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call

ContainerInspect indicates an expected call of ContainerInspect

func (*MockClientMockRecorder) ContainerList

func (mr *MockClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call

ContainerList indicates an expected call of ContainerList

func (*MockClientMockRecorder) ContainerRemove

func (mr *MockClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerRemove indicates an expected call of ContainerRemove

func (*MockClientMockRecorder) ContainerStart

func (mr *MockClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerStart indicates an expected call of ContainerStart

func (*MockClientMockRecorder) ContainerStats

func (mr *MockClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerStats indicates an expected call of ContainerStats

func (*MockClientMockRecorder) ContainerStop

func (mr *MockClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call

ContainerStop indicates an expected call of ContainerStop

func (*MockClientMockRecorder) Events

func (mr *MockClientMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call

Events indicates an expected call of Events

func (*MockClientMockRecorder) ImageImport

func (mr *MockClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ImageImport indicates an expected call of ImageImport

func (*MockClientMockRecorder) ImageInspectWithRaw

func (mr *MockClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call

ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw

func (*MockClientMockRecorder) ImageList

func (mr *MockClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call

ImageList indicates an expected call of ImageList

func (*MockClientMockRecorder) ImageLoad

func (mr *MockClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call

ImageLoad indicates an expected call of ImageLoad

func (*MockClientMockRecorder) ImagePull

func (mr *MockClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call

ImagePull indicates an expected call of ImagePull

func (*MockClientMockRecorder) ImageRemove

func (mr *MockClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call

ImageRemove indicates an expected call of ImageRemove

func (*MockClientMockRecorder) Ping

func (mr *MockClientMockRecorder) Ping(arg0 interface{}) *gomock.Call

Ping indicates an expected call of Ping

func (*MockClientMockRecorder) PluginList

func (mr *MockClientMockRecorder) PluginList(arg0, arg1 interface{}) *gomock.Call

PluginList indicates an expected call of PluginList

func (*MockClientMockRecorder) ServerVersion

func (mr *MockClientMockRecorder) ServerVersion(arg0 interface{}) *gomock.Call

ServerVersion indicates an expected call of ServerVersion

func (*MockClientMockRecorder) VolumeCreate

func (mr *MockClientMockRecorder) VolumeCreate(arg0, arg1 interface{}) *gomock.Call

VolumeCreate indicates an expected call of VolumeCreate

func (*MockClientMockRecorder) VolumeInspect

func (mr *MockClientMockRecorder) VolumeInspect(arg0, arg1 interface{}) *gomock.Call

VolumeInspect indicates an expected call of VolumeInspect

func (*MockClientMockRecorder) VolumeRemove

func (mr *MockClientMockRecorder) VolumeRemove(arg0, arg1, arg2 interface{}) *gomock.Call

VolumeRemove indicates an expected call of VolumeRemove

Jump to

Keyboard shortcuts

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