Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockContainerAPIClient
- func (m *MockContainerAPIClient) ContainerAttach(arg0 context.Context, arg1 string, arg2 types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (m *MockContainerAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 types.ContainerCommitOptions) (types.IDResponse, error)
- func (m *MockContainerAPIClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error)
- func (m *MockContainerAPIClient) ContainerDiff(arg0 context.Context, arg1 string) ([]container.ContainerChangeResponseItem, error)
- func (m *MockContainerAPIClient) ContainerExecAttach(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) (types.HijackedResponse, error)
- func (m *MockContainerAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error)
- func (m *MockContainerAPIClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error)
- func (m *MockContainerAPIClient) ContainerExecResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error
- func (m *MockContainerAPIClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error
- func (m *MockContainerAPIClient) ContainerExport(arg0 context.Context, arg1 string) (io.ReadCloser, error)
- func (m *MockContainerAPIClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error)
- func (m *MockContainerAPIClient) ContainerInspectWithRaw(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerJSON, []byte, error)
- func (m *MockContainerAPIClient) ContainerKill(arg0 context.Context, arg1, arg2 string) error
- func (m *MockContainerAPIClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error)
- func (m *MockContainerAPIClient) ContainerLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockContainerAPIClient) ContainerPause(arg0 context.Context, arg1 string) error
- func (m *MockContainerAPIClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error
- func (m *MockContainerAPIClient) ContainerRename(arg0 context.Context, arg1, arg2 string) error
- func (m *MockContainerAPIClient) ContainerResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error
- func (m *MockContainerAPIClient) ContainerRestart(arg0 context.Context, arg1 string, arg2 *time.Duration) error
- func (m *MockContainerAPIClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error
- func (m *MockContainerAPIClient) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types.ContainerPathStat, error)
- func (m *MockContainerAPIClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error)
- func (m *MockContainerAPIClient) ContainerStatsOneShot(arg0 context.Context, arg1 string) (types.ContainerStats, error)
- func (m *MockContainerAPIClient) ContainerStop(arg0 context.Context, arg1 string, arg2 *time.Duration) error
- func (m *MockContainerAPIClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error)
- func (m *MockContainerAPIClient) ContainerUnpause(arg0 context.Context, arg1 string) error
- func (m *MockContainerAPIClient) ContainerUpdate(arg0 context.Context, arg1 string, arg2 container.UpdateConfig) (container.ContainerUpdateOKBody, error)
- func (m *MockContainerAPIClient) ContainerWait(arg0 context.Context, arg1 string, arg2 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (m *MockContainerAPIClient) ContainersPrune(arg0 context.Context, arg1 filters.Args) (types.ContainersPruneReport, error)
- func (m *MockContainerAPIClient) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types.ContainerPathStat, error)
- func (m *MockContainerAPIClient) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, ...) error
- func (m *MockContainerAPIClient) EXPECT() *MockContainerAPIClientMockRecorder
- type MockContainerAPIClientMockRecorder
- func (mr *MockContainerAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerDiff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecResize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExport(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerPause(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerUnpause(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainersPrune(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- type MockImageAPIClient
- func (m *MockImageAPIClient) BuildCachePrune(arg0 context.Context, arg1 types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (m *MockImageAPIClient) BuildCancel(arg0 context.Context, arg1 string) error
- func (m *MockImageAPIClient) EXPECT() *MockImageAPIClientMockRecorder
- func (m *MockImageAPIClient) ImageBuild(arg0 context.Context, arg1 io.Reader, arg2 types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (m *MockImageAPIClient) ImageCreate(arg0 context.Context, arg1 string, arg2 types.ImageCreateOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageHistory(arg0 context.Context, arg1 string) ([]image.HistoryResponseItem, error)
- func (m *MockImageAPIClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, ...) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error)
- func (m *MockImageAPIClient) ImageList(arg0 context.Context, arg1 types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockImageAPIClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error)
- func (m *MockImageAPIClient) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImagePush(arg0 context.Context, arg1 string, arg2 types.ImagePushOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageRemove(arg0 context.Context, arg1 string, arg2 types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockImageAPIClient) ImageSave(arg0 context.Context, arg1 []string) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageSearch(arg0 context.Context, arg1 string, arg2 types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (m *MockImageAPIClient) ImageTag(arg0 context.Context, arg1, arg2 string) error
- func (m *MockImageAPIClient) ImagesPrune(arg0 context.Context, arg1 filters.Args) (types.ImagesPruneReport, error)
- type MockImageAPIClientMockRecorder
- func (mr *MockImageAPIClientMockRecorder) BuildCachePrune(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) BuildCancel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageBuild(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageCreate(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageHistory(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagePush(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageSave(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageSearch(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagesPrune(arg0, arg1 interface{}) *gomock.Call
- type MockInterface
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
- func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
- func (m *MockInterface) List() ([]mount.MountPoint, error)
- func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
- func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
- func (m *MockInterface) Unmount(arg0 string) error
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) List() *gomock.Call
- func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
- type MockMounter
- func (m *MockMounter) EXPECT() *MockMounterMockRecorder
- func (m *MockMounter) MakeFile(ctx context.Context, path string) error
- func (m *MockMounter) MkdirAll(ctx context.Context, path string) error
- func (m *MockMounter) MountByBOSFS(ctx context.Context, source, target string, options, sensitiveOptions []string) error
- func (m *MockMounter) PathExists(ctx context.Context, path string) (bool, error)
- func (m *MockMounter) RemoveAll(ctx context.Context, path string) error
- func (m *MockMounter) RemovePath(ctx context.Context, path string) error
- func (m *MockMounter) UnmountFromBOSFS(ctx context.Context, target string) error
- func (m *MockMounter) WriteFile(ctx context.Context, path string, content []byte) error
- type MockMounterMockRecorder
- func (mr *MockMounterMockRecorder) MakeFile(ctx, path interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MkdirAll(ctx, path interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) MountByBOSFS(ctx, source, target, options, sensitiveOptions interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) PathExists(ctx, path interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) RemoveAll(ctx, path interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) RemovePath(ctx, path interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) UnmountFromBOSFS(ctx, target interface{}) *gomock.Call
- func (mr *MockMounterMockRecorder) WriteFile(ctx, path, content interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerAPIClient ¶
type MockContainerAPIClient struct {
// contains filtered or unexported fields
}
MockContainerAPIClient is a mock of ContainerAPIClient interface.
func NewMockContainerAPIClient ¶
func NewMockContainerAPIClient(ctrl *gomock.Controller) *MockContainerAPIClient
NewMockContainerAPIClient creates a new mock instance.
func (*MockContainerAPIClient) ContainerAttach ¶
func (m *MockContainerAPIClient) ContainerAttach(arg0 context.Context, arg1 string, arg2 types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach mocks base method.
func (*MockContainerAPIClient) ContainerCommit ¶
func (m *MockContainerAPIClient) ContainerCommit(arg0 context.Context, arg1 string, arg2 types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit mocks base method.
func (*MockContainerAPIClient) ContainerCreate ¶
func (m *MockContainerAPIClient) ContainerCreate(arg0 context.Context, arg1 *container.Config, arg2 *container.HostConfig, arg3 *network.NetworkingConfig, arg4 *v1.Platform, arg5 string) (container.ContainerCreateCreatedBody, error)
ContainerCreate mocks base method.
func (*MockContainerAPIClient) ContainerDiff ¶
func (m *MockContainerAPIClient) ContainerDiff(arg0 context.Context, arg1 string) ([]container.ContainerChangeResponseItem, error)
ContainerDiff mocks base method.
func (*MockContainerAPIClient) ContainerExecAttach ¶
func (m *MockContainerAPIClient) ContainerExecAttach(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach mocks base method.
func (*MockContainerAPIClient) ContainerExecCreate ¶
func (m *MockContainerAPIClient) ContainerExecCreate(arg0 context.Context, arg1 string, arg2 types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate mocks base method.
func (*MockContainerAPIClient) ContainerExecInspect ¶
func (m *MockContainerAPIClient) ContainerExecInspect(arg0 context.Context, arg1 string) (types.ContainerExecInspect, error)
ContainerExecInspect mocks base method.
func (*MockContainerAPIClient) ContainerExecResize ¶
func (m *MockContainerAPIClient) ContainerExecResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error
ContainerExecResize mocks base method.
func (*MockContainerAPIClient) ContainerExecStart ¶
func (m *MockContainerAPIClient) ContainerExecStart(arg0 context.Context, arg1 string, arg2 types.ExecStartCheck) error
ContainerExecStart mocks base method.
func (*MockContainerAPIClient) ContainerExport ¶
func (m *MockContainerAPIClient) ContainerExport(arg0 context.Context, arg1 string) (io.ReadCloser, error)
ContainerExport mocks base method.
func (*MockContainerAPIClient) ContainerInspect ¶
func (m *MockContainerAPIClient) ContainerInspect(arg0 context.Context, arg1 string) (types.ContainerJSON, error)
ContainerInspect mocks base method.
func (*MockContainerAPIClient) ContainerInspectWithRaw ¶
func (m *MockContainerAPIClient) ContainerInspectWithRaw(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw mocks base method.
func (*MockContainerAPIClient) ContainerKill ¶
func (m *MockContainerAPIClient) ContainerKill(arg0 context.Context, arg1, arg2 string) error
ContainerKill mocks base method.
func (*MockContainerAPIClient) ContainerList ¶
func (m *MockContainerAPIClient) ContainerList(arg0 context.Context, arg1 types.ContainerListOptions) ([]types.Container, error)
ContainerList mocks base method.
func (*MockContainerAPIClient) ContainerLogs ¶
func (m *MockContainerAPIClient) ContainerLogs(arg0 context.Context, arg1 string, arg2 types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs mocks base method.
func (*MockContainerAPIClient) ContainerPause ¶
func (m *MockContainerAPIClient) ContainerPause(arg0 context.Context, arg1 string) error
ContainerPause mocks base method.
func (*MockContainerAPIClient) ContainerRemove ¶
func (m *MockContainerAPIClient) ContainerRemove(arg0 context.Context, arg1 string, arg2 types.ContainerRemoveOptions) error
ContainerRemove mocks base method.
func (*MockContainerAPIClient) ContainerRename ¶
func (m *MockContainerAPIClient) ContainerRename(arg0 context.Context, arg1, arg2 string) error
ContainerRename mocks base method.
func (*MockContainerAPIClient) ContainerResize ¶
func (m *MockContainerAPIClient) ContainerResize(arg0 context.Context, arg1 string, arg2 types.ResizeOptions) error
ContainerResize mocks base method.
func (*MockContainerAPIClient) ContainerRestart ¶
func (m *MockContainerAPIClient) ContainerRestart(arg0 context.Context, arg1 string, arg2 *time.Duration) error
ContainerRestart mocks base method.
func (*MockContainerAPIClient) ContainerStart ¶
func (m *MockContainerAPIClient) ContainerStart(arg0 context.Context, arg1 string, arg2 types.ContainerStartOptions) error
ContainerStart mocks base method.
func (*MockContainerAPIClient) ContainerStatPath ¶
func (m *MockContainerAPIClient) ContainerStatPath(arg0 context.Context, arg1, arg2 string) (types.ContainerPathStat, error)
ContainerStatPath mocks base method.
func (*MockContainerAPIClient) ContainerStats ¶
func (m *MockContainerAPIClient) ContainerStats(arg0 context.Context, arg1 string, arg2 bool) (types.ContainerStats, error)
ContainerStats mocks base method.
func (*MockContainerAPIClient) ContainerStatsOneShot ¶
func (m *MockContainerAPIClient) ContainerStatsOneShot(arg0 context.Context, arg1 string) (types.ContainerStats, error)
ContainerStatsOneShot mocks base method.
func (*MockContainerAPIClient) ContainerStop ¶
func (m *MockContainerAPIClient) ContainerStop(arg0 context.Context, arg1 string, arg2 *time.Duration) error
ContainerStop mocks base method.
func (*MockContainerAPIClient) ContainerTop ¶
func (m *MockContainerAPIClient) ContainerTop(arg0 context.Context, arg1 string, arg2 []string) (container.ContainerTopOKBody, error)
ContainerTop mocks base method.
func (*MockContainerAPIClient) ContainerUnpause ¶
func (m *MockContainerAPIClient) ContainerUnpause(arg0 context.Context, arg1 string) error
ContainerUnpause mocks base method.
func (*MockContainerAPIClient) ContainerUpdate ¶
func (m *MockContainerAPIClient) ContainerUpdate(arg0 context.Context, arg1 string, arg2 container.UpdateConfig) (container.ContainerUpdateOKBody, error)
ContainerUpdate mocks base method.
func (*MockContainerAPIClient) ContainerWait ¶
func (m *MockContainerAPIClient) ContainerWait(arg0 context.Context, arg1 string, arg2 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait mocks base method.
func (*MockContainerAPIClient) ContainersPrune ¶
func (m *MockContainerAPIClient) ContainersPrune(arg0 context.Context, arg1 filters.Args) (types.ContainersPruneReport, error)
ContainersPrune mocks base method.
func (*MockContainerAPIClient) CopyFromContainer ¶
func (m *MockContainerAPIClient) CopyFromContainer(arg0 context.Context, arg1, arg2 string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer mocks base method.
func (*MockContainerAPIClient) CopyToContainer ¶
func (m *MockContainerAPIClient) CopyToContainer(arg0 context.Context, arg1, arg2 string, arg3 io.Reader, arg4 types.CopyToContainerOptions) error
CopyToContainer mocks base method.
func (*MockContainerAPIClient) EXPECT ¶
func (m *MockContainerAPIClient) EXPECT() *MockContainerAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockContainerAPIClientMockRecorder ¶
type MockContainerAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerAPIClientMockRecorder is the mock recorder for MockContainerAPIClient.
func (*MockContainerAPIClientMockRecorder) ContainerAttach ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerAttach(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerAttach indicates an expected call of ContainerAttach.
func (*MockContainerAPIClientMockRecorder) ContainerCommit ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerCommit(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerCommit indicates an expected call of ContainerCommit.
func (*MockContainerAPIClientMockRecorder) ContainerCreate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerCreate(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate.
func (*MockContainerAPIClientMockRecorder) ContainerDiff ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerDiff(arg0, arg1 interface{}) *gomock.Call
ContainerDiff indicates an expected call of ContainerDiff.
func (*MockContainerAPIClientMockRecorder) ContainerExecAttach ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecAttach(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecAttach indicates an expected call of ContainerExecAttach.
func (*MockContainerAPIClientMockRecorder) ContainerExecCreate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecCreate(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecCreate indicates an expected call of ContainerExecCreate.
func (*MockContainerAPIClientMockRecorder) ContainerExecInspect ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecInspect(arg0, arg1 interface{}) *gomock.Call
ContainerExecInspect indicates an expected call of ContainerExecInspect.
func (*MockContainerAPIClientMockRecorder) ContainerExecResize ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecResize(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecResize indicates an expected call of ContainerExecResize.
func (*MockContainerAPIClientMockRecorder) ContainerExecStart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecStart(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerExecStart indicates an expected call of ContainerExecStart.
func (*MockContainerAPIClientMockRecorder) ContainerExport ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExport(arg0, arg1 interface{}) *gomock.Call
ContainerExport indicates an expected call of ContainerExport.
func (*MockContainerAPIClientMockRecorder) ContainerInspect ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerInspect(arg0, arg1 interface{}) *gomock.Call
ContainerInspect indicates an expected call of ContainerInspect.
func (*MockContainerAPIClientMockRecorder) ContainerInspectWithRaw ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerInspectWithRaw(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw.
func (*MockContainerAPIClientMockRecorder) ContainerKill ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerKill(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerKill indicates an expected call of ContainerKill.
func (*MockContainerAPIClientMockRecorder) ContainerList ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerList(arg0, arg1 interface{}) *gomock.Call
ContainerList indicates an expected call of ContainerList.
func (*MockContainerAPIClientMockRecorder) ContainerLogs ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerLogs(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerLogs indicates an expected call of ContainerLogs.
func (*MockContainerAPIClientMockRecorder) ContainerPause ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerPause(arg0, arg1 interface{}) *gomock.Call
ContainerPause indicates an expected call of ContainerPause.
func (*MockContainerAPIClientMockRecorder) ContainerRemove ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRemove(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerRemove indicates an expected call of ContainerRemove.
func (*MockContainerAPIClientMockRecorder) ContainerRename ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRename(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerRename indicates an expected call of ContainerRename.
func (*MockContainerAPIClientMockRecorder) ContainerResize ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerResize(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerResize indicates an expected call of ContainerResize.
func (*MockContainerAPIClientMockRecorder) ContainerRestart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRestart(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerRestart indicates an expected call of ContainerRestart.
func (*MockContainerAPIClientMockRecorder) ContainerStart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStart(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerStart indicates an expected call of ContainerStart.
func (*MockContainerAPIClientMockRecorder) ContainerStatPath ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStatPath(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerStatPath indicates an expected call of ContainerStatPath.
func (*MockContainerAPIClientMockRecorder) ContainerStats ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStats(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerStats indicates an expected call of ContainerStats.
func (*MockContainerAPIClientMockRecorder) ContainerStatsOneShot ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStatsOneShot(arg0, arg1 interface{}) *gomock.Call
ContainerStatsOneShot indicates an expected call of ContainerStatsOneShot.
func (*MockContainerAPIClientMockRecorder) ContainerStop ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStop(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerStop indicates an expected call of ContainerStop.
func (*MockContainerAPIClientMockRecorder) ContainerTop ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerTop(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerTop indicates an expected call of ContainerTop.
func (*MockContainerAPIClientMockRecorder) ContainerUnpause ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerUnpause(arg0, arg1 interface{}) *gomock.Call
ContainerUnpause indicates an expected call of ContainerUnpause.
func (*MockContainerAPIClientMockRecorder) ContainerUpdate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerUpdate(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerUpdate indicates an expected call of ContainerUpdate.
func (*MockContainerAPIClientMockRecorder) ContainerWait ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerWait(arg0, arg1, arg2 interface{}) *gomock.Call
ContainerWait indicates an expected call of ContainerWait.
func (*MockContainerAPIClientMockRecorder) ContainersPrune ¶
func (mr *MockContainerAPIClientMockRecorder) ContainersPrune(arg0, arg1 interface{}) *gomock.Call
ContainersPrune indicates an expected call of ContainersPrune.
func (*MockContainerAPIClientMockRecorder) CopyFromContainer ¶
func (mr *MockContainerAPIClientMockRecorder) CopyFromContainer(arg0, arg1, arg2 interface{}) *gomock.Call
CopyFromContainer indicates an expected call of CopyFromContainer.
func (*MockContainerAPIClientMockRecorder) CopyToContainer ¶
func (mr *MockContainerAPIClientMockRecorder) CopyToContainer(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CopyToContainer indicates an expected call of CopyToContainer.
type MockImageAPIClient ¶
type MockImageAPIClient struct {
// contains filtered or unexported fields
}
MockImageAPIClient is a mock of ImageAPIClient interface.
func NewMockImageAPIClient ¶
func NewMockImageAPIClient(ctrl *gomock.Controller) *MockImageAPIClient
NewMockImageAPIClient creates a new mock instance.
func (*MockImageAPIClient) BuildCachePrune ¶
func (m *MockImageAPIClient) BuildCachePrune(arg0 context.Context, arg1 types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune mocks base method.
func (*MockImageAPIClient) BuildCancel ¶
func (m *MockImageAPIClient) BuildCancel(arg0 context.Context, arg1 string) error
BuildCancel mocks base method.
func (*MockImageAPIClient) EXPECT ¶
func (m *MockImageAPIClient) EXPECT() *MockImageAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageAPIClient) ImageBuild ¶
func (m *MockImageAPIClient) ImageBuild(arg0 context.Context, arg1 io.Reader, arg2 types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild mocks base method.
func (*MockImageAPIClient) ImageCreate ¶
func (m *MockImageAPIClient) ImageCreate(arg0 context.Context, arg1 string, arg2 types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate mocks base method.
func (*MockImageAPIClient) ImageHistory ¶
func (m *MockImageAPIClient) ImageHistory(arg0 context.Context, arg1 string) ([]image.HistoryResponseItem, error)
ImageHistory mocks base method.
func (*MockImageAPIClient) ImageImport ¶
func (m *MockImageAPIClient) ImageImport(arg0 context.Context, arg1 types.ImageImportSource, arg2 string, arg3 types.ImageImportOptions) (io.ReadCloser, error)
ImageImport mocks base method.
func (*MockImageAPIClient) ImageInspectWithRaw ¶
func (m *MockImageAPIClient) ImageInspectWithRaw(arg0 context.Context, arg1 string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw mocks base method.
func (*MockImageAPIClient) ImageList ¶
func (m *MockImageAPIClient) ImageList(arg0 context.Context, arg1 types.ImageListOptions) ([]types.ImageSummary, error)
ImageList mocks base method.
func (*MockImageAPIClient) ImageLoad ¶
func (m *MockImageAPIClient) ImageLoad(arg0 context.Context, arg1 io.Reader, arg2 bool) (types.ImageLoadResponse, error)
ImageLoad mocks base method.
func (*MockImageAPIClient) ImagePull ¶
func (m *MockImageAPIClient) ImagePull(arg0 context.Context, arg1 string, arg2 types.ImagePullOptions) (io.ReadCloser, error)
ImagePull mocks base method.
func (*MockImageAPIClient) ImagePush ¶
func (m *MockImageAPIClient) ImagePush(arg0 context.Context, arg1 string, arg2 types.ImagePushOptions) (io.ReadCloser, error)
ImagePush mocks base method.
func (*MockImageAPIClient) ImageRemove ¶
func (m *MockImageAPIClient) ImageRemove(arg0 context.Context, arg1 string, arg2 types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove mocks base method.
func (*MockImageAPIClient) ImageSave ¶
func (m *MockImageAPIClient) ImageSave(arg0 context.Context, arg1 []string) (io.ReadCloser, error)
ImageSave mocks base method.
func (*MockImageAPIClient) ImageSearch ¶
func (m *MockImageAPIClient) ImageSearch(arg0 context.Context, arg1 string, arg2 types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch mocks base method.
func (*MockImageAPIClient) ImageTag ¶
func (m *MockImageAPIClient) ImageTag(arg0 context.Context, arg1, arg2 string) error
ImageTag mocks base method.
func (*MockImageAPIClient) ImagesPrune ¶
func (m *MockImageAPIClient) ImagesPrune(arg0 context.Context, arg1 filters.Args) (types.ImagesPruneReport, error)
ImagesPrune mocks base method.
type MockImageAPIClientMockRecorder ¶
type MockImageAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockImageAPIClientMockRecorder is the mock recorder for MockImageAPIClient.
func (*MockImageAPIClientMockRecorder) BuildCachePrune ¶
func (mr *MockImageAPIClientMockRecorder) BuildCachePrune(arg0, arg1 interface{}) *gomock.Call
BuildCachePrune indicates an expected call of BuildCachePrune.
func (*MockImageAPIClientMockRecorder) BuildCancel ¶
func (mr *MockImageAPIClientMockRecorder) BuildCancel(arg0, arg1 interface{}) *gomock.Call
BuildCancel indicates an expected call of BuildCancel.
func (*MockImageAPIClientMockRecorder) ImageBuild ¶
func (mr *MockImageAPIClientMockRecorder) ImageBuild(arg0, arg1, arg2 interface{}) *gomock.Call
ImageBuild indicates an expected call of ImageBuild.
func (*MockImageAPIClientMockRecorder) ImageCreate ¶
func (mr *MockImageAPIClientMockRecorder) ImageCreate(arg0, arg1, arg2 interface{}) *gomock.Call
ImageCreate indicates an expected call of ImageCreate.
func (*MockImageAPIClientMockRecorder) ImageHistory ¶
func (mr *MockImageAPIClientMockRecorder) ImageHistory(arg0, arg1 interface{}) *gomock.Call
ImageHistory indicates an expected call of ImageHistory.
func (*MockImageAPIClientMockRecorder) ImageImport ¶
func (mr *MockImageAPIClientMockRecorder) ImageImport(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ImageImport indicates an expected call of ImageImport.
func (*MockImageAPIClientMockRecorder) ImageInspectWithRaw ¶
func (mr *MockImageAPIClientMockRecorder) ImageInspectWithRaw(arg0, arg1 interface{}) *gomock.Call
ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw.
func (*MockImageAPIClientMockRecorder) ImageList ¶
func (mr *MockImageAPIClientMockRecorder) ImageList(arg0, arg1 interface{}) *gomock.Call
ImageList indicates an expected call of ImageList.
func (*MockImageAPIClientMockRecorder) ImageLoad ¶
func (mr *MockImageAPIClientMockRecorder) ImageLoad(arg0, arg1, arg2 interface{}) *gomock.Call
ImageLoad indicates an expected call of ImageLoad.
func (*MockImageAPIClientMockRecorder) ImagePull ¶
func (mr *MockImageAPIClientMockRecorder) ImagePull(arg0, arg1, arg2 interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull.
func (*MockImageAPIClientMockRecorder) ImagePush ¶
func (mr *MockImageAPIClientMockRecorder) ImagePush(arg0, arg1, arg2 interface{}) *gomock.Call
ImagePush indicates an expected call of ImagePush.
func (*MockImageAPIClientMockRecorder) ImageRemove ¶
func (mr *MockImageAPIClientMockRecorder) ImageRemove(arg0, arg1, arg2 interface{}) *gomock.Call
ImageRemove indicates an expected call of ImageRemove.
func (*MockImageAPIClientMockRecorder) ImageSave ¶
func (mr *MockImageAPIClientMockRecorder) ImageSave(arg0, arg1 interface{}) *gomock.Call
ImageSave indicates an expected call of ImageSave.
func (*MockImageAPIClientMockRecorder) ImageSearch ¶
func (mr *MockImageAPIClientMockRecorder) ImageSearch(arg0, arg1, arg2 interface{}) *gomock.Call
ImageSearch indicates an expected call of ImageSearch.
func (*MockImageAPIClientMockRecorder) ImageTag ¶
func (mr *MockImageAPIClientMockRecorder) ImageTag(arg0, arg1, arg2 interface{}) *gomock.Call
ImageTag indicates an expected call of ImageTag.
func (*MockImageAPIClientMockRecorder) ImagesPrune ¶
func (mr *MockImageAPIClientMockRecorder) ImagesPrune(arg0, arg1 interface{}) *gomock.Call
ImagesPrune indicates an expected call of ImagesPrune.
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) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetMountRefs ¶
func (m *MockInterface) GetMountRefs(arg0 string) ([]string, error)
GetMountRefs mocks base method.
func (*MockInterface) IsLikelyNotMountPoint ¶
func (m *MockInterface) IsLikelyNotMountPoint(arg0 string) (bool, error)
IsLikelyNotMountPoint mocks base method.
func (*MockInterface) List ¶
func (m *MockInterface) List() ([]mount.MountPoint, error)
List mocks base method.
func (*MockInterface) Mount ¶
func (m *MockInterface) Mount(arg0, arg1, arg2 string, arg3 []string) error
Mount mocks base method.
func (*MockInterface) MountSensitive ¶
func (m *MockInterface) MountSensitive(arg0, arg1, arg2 string, arg3, arg4 []string) error
MountSensitive mocks base method.
func (*MockInterface) Unmount ¶
func (m *MockInterface) Unmount(arg0 string) error
Unmount mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) GetMountRefs ¶
func (mr *MockInterfaceMockRecorder) GetMountRefs(arg0 interface{}) *gomock.Call
GetMountRefs indicates an expected call of GetMountRefs.
func (*MockInterfaceMockRecorder) IsLikelyNotMountPoint ¶
func (mr *MockInterfaceMockRecorder) IsLikelyNotMountPoint(arg0 interface{}) *gomock.Call
IsLikelyNotMountPoint indicates an expected call of IsLikelyNotMountPoint.
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockInterfaceMockRecorder) Mount ¶
func (mr *MockInterfaceMockRecorder) Mount(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Mount indicates an expected call of Mount.
func (*MockInterfaceMockRecorder) MountSensitive ¶
func (mr *MockInterfaceMockRecorder) MountSensitive(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
MountSensitive indicates an expected call of MountSensitive.
func (*MockInterfaceMockRecorder) Unmount ¶
func (mr *MockInterfaceMockRecorder) Unmount(arg0 interface{}) *gomock.Call
Unmount indicates an expected call of Unmount.
type MockMounter ¶
type MockMounter struct {
// contains filtered or unexported fields
}
MockMounter is a mock of Mounter interface
func NewMockMounter ¶
func NewMockMounter(ctrl *gomock.Controller) *MockMounter
NewMockMounter creates a new mock instance
func (*MockMounter) EXPECT ¶
func (m *MockMounter) EXPECT() *MockMounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMounter) MakeFile ¶
func (m *MockMounter) MakeFile(ctx context.Context, path string) error
MakeFile mocks base method
func (*MockMounter) MkdirAll ¶
func (m *MockMounter) MkdirAll(ctx context.Context, path string) error
MkdirAll mocks base method
func (*MockMounter) MountByBOSFS ¶
func (m *MockMounter) MountByBOSFS(ctx context.Context, source, target string, options, sensitiveOptions []string) error
MountByBOSFS mocks base method
func (*MockMounter) PathExists ¶
PathExists mocks base method
func (*MockMounter) RemoveAll ¶
func (m *MockMounter) RemoveAll(ctx context.Context, path string) error
RemoveAll mocks base method
func (*MockMounter) RemovePath ¶
func (m *MockMounter) RemovePath(ctx context.Context, path string) error
RemovePath mocks base method
func (*MockMounter) UnmountFromBOSFS ¶
func (m *MockMounter) UnmountFromBOSFS(ctx context.Context, target string) error
UnmountFromBOSFS mocks base method
type MockMounterMockRecorder ¶
type MockMounterMockRecorder struct {
// contains filtered or unexported fields
}
MockMounterMockRecorder is the mock recorder for MockMounter
func (*MockMounterMockRecorder) MakeFile ¶
func (mr *MockMounterMockRecorder) MakeFile(ctx, path interface{}) *gomock.Call
MakeFile indicates an expected call of MakeFile
func (*MockMounterMockRecorder) MkdirAll ¶
func (mr *MockMounterMockRecorder) MkdirAll(ctx, path interface{}) *gomock.Call
MkdirAll indicates an expected call of MkdirAll
func (*MockMounterMockRecorder) MountByBOSFS ¶
func (mr *MockMounterMockRecorder) MountByBOSFS(ctx, source, target, options, sensitiveOptions interface{}) *gomock.Call
MountByBOSFS indicates an expected call of MountByBOSFS
func (*MockMounterMockRecorder) PathExists ¶
func (mr *MockMounterMockRecorder) PathExists(ctx, path interface{}) *gomock.Call
PathExists indicates an expected call of PathExists
func (*MockMounterMockRecorder) RemoveAll ¶
func (mr *MockMounterMockRecorder) RemoveAll(ctx, path interface{}) *gomock.Call
RemoveAll indicates an expected call of RemoveAll
func (*MockMounterMockRecorder) RemovePath ¶
func (mr *MockMounterMockRecorder) RemovePath(ctx, path interface{}) *gomock.Call
RemovePath indicates an expected call of RemovePath
func (*MockMounterMockRecorder) UnmountFromBOSFS ¶
func (mr *MockMounterMockRecorder) UnmountFromBOSFS(ctx, target interface{}) *gomock.Call
UnmountFromBOSFS indicates an expected call of UnmountFromBOSFS
func (*MockMounterMockRecorder) WriteFile ¶
func (mr *MockMounterMockRecorder) WriteFile(ctx, path, content interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile