Documentation
¶
Overview ¶
Package mock_sdkclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) ClientVersion() string
- func (m *MockClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, ...) (container.CreateResponse, error)
- func (m *MockClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error)
- func (m *MockClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error)
- func (m *MockClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error
- func (m *MockClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error)
- func (m *MockClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error)
- func (m *MockClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error
- func (m *MockClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error
- func (m *MockClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error)
- func (m *MockClient) ContainerStop(arg0 context.Context, arg1 string, arg2 container.StopOptions) error
- func (m *MockClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error)
- func (m *MockClient) DistributionInspect(arg0 context.Context, arg1, arg2 string) (registry.DistributionInspect, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Events(arg0 context.Context, arg1 types.EventsOptions) (<-chan events.Message, <-chan error)
- func (m *MockClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, ...) (io.ReadCloser, error)
- func (m *MockClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error)
- func (m *MockClient) ImageList(arg0 context.Context, arg1 types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error)
- func (m *MockClient) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error)
- func (m *MockClient) ImageRemove(arg0 context.Context, arg1 string, arg2 types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockClient) ImageTag(arg0 context.Context, arg1, arg2 string) error
- func (m *MockClient) Info(arg0 context.Context) (types.Info, error)
- func (m *MockClient) Ping(arg0 context.Context) (types.Ping, error)
- func (m *MockClient) PluginList(arg0 context.Context, arg1 filters.Args) (types.PluginsListResponse, error)
- func (m *MockClient) ServerVersion(arg0 context.Context) (types.Version, error)
- func (m *MockClient) VolumeCreate(arg0 context.Context, arg1 volume.CreateOptions) (volume.Volume, error)
- func (m *MockClient) VolumeInspect(arg0 context.Context, arg1 string) (volume.Volume, error)
- func (m *MockClient) VolumeRemove(arg0 context.Context, arg1 string, arg2 bool) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) ClientVersion() *gomock.Call
- func (mr *MockClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DistributionInspect(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Events(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Info(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Ping(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PluginList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ServerVersion(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) VolumeCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) VolumeInspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) VolumeRemove(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
func (m *MockClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, arg3 *network.NetworkingConfig, arg4 *v1.Platform, arg5 string) (container.CreateResponse, error)
ContainerCreate mocks base method.
func (*MockClient) ContainerExecCreate ¶
func (m *MockClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate mocks base method.
func (*MockClient) ContainerExecInspect ¶
func (m *MockClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error)
ContainerExecInspect mocks base method.
func (*MockClient) ContainerExecStart ¶
func (m *MockClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error
ContainerExecStart 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 container.StopOptions) error
ContainerStop mocks base method.
func (*MockClient) ContainerTop ¶
func (m *MockClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error)
ContainerTop mocks base method.
func (*MockClient) DistributionInspect ¶
func (m *MockClient) DistributionInspect(arg0 context.Context, arg1, arg2 string) (registry.DistributionInspect, error)
DistributionInspect 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 ¶
func (m *MockClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, arg3 types.ImageImportOptions) (io.ReadCloser, error)
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 ¶
func (m *MockClient) ImageRemove(arg0 context.Context, arg1 string, arg2 types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove mocks base method.
func (*MockClient) ImageTag ¶
func (m *MockClient) ImageTag(arg0 context.Context, arg1, arg2 string) error
ImageTag 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 ¶
ServerVersion mocks base method.
func (*MockClient) VolumeCreate ¶
func (m *MockClient) VolumeCreate(arg0 context.Context, arg1 volume.CreateOptions) (volume.Volume, error)
VolumeCreate mocks base method.
func (*MockClient) VolumeInspect ¶
VolumeInspect mocks base method.
func (*MockClient) VolumeRemove ¶
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, arg5 interface{}) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate.
func (*MockClientMockRecorder) ContainerExecCreate ¶
func (mr *MockClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecCreate indicates an expected call of ContainerExecCreate.
func (*MockClientMockRecorder) ContainerExecInspect ¶
func (mr *MockClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call
ContainerExecInspect indicates an expected call of ContainerExecInspect.
func (*MockClientMockRecorder) ContainerExecStart ¶
func (mr *MockClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecStart indicates an expected call of ContainerExecStart.
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) ContainerTop ¶
func (mr *MockClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerTop indicates an expected call of ContainerTop.
func (*MockClientMockRecorder) DistributionInspect ¶
func (mr *MockClientMockRecorder) DistributionInspect(arg0, arg1, arg2 interface{}) *gomock.Call
DistributionInspect indicates an expected call of DistributionInspect.
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) ImageTag ¶
func (mr *MockClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call
ImageTag indicates an expected call of ImageTag.
func (*MockClientMockRecorder) Info ¶
func (mr *MockClientMockRecorder) Info(arg0 interface{}) *gomock.Call
Info indicates an expected call of Info.
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.