Documentation ¶
Overview ¶
Package criostoragemock is a generated GoMock package.
Index ¶
- type MockImageServer
- func (m *MockImageServer) EXPECT() *MockImageServerMockRecorder
- func (m *MockImageServer) GetStore() storage.Store
- func (m *MockImageServer) ImageStatus(arg0 *types.SystemContext, arg1 string) (*storage0.ImageResult, error)
- func (m *MockImageServer) ListImages(arg0 *types.SystemContext, arg1 string) ([]storage0.ImageResult, error)
- func (m *MockImageServer) PrepareImage(arg0 *types.SystemContext, arg1 string) (types.ImageCloser, error)
- func (m *MockImageServer) PullImage(arg0 *types.SystemContext, arg1 string, arg2 *storage0.ImageCopyOptions) (types.ImageReference, error)
- func (m *MockImageServer) ResolveNames(arg0 *types.SystemContext, arg1 string) ([]string, error)
- func (m *MockImageServer) UntagImage(arg0 *types.SystemContext, arg1 string) error
- type MockImageServerMockRecorder
- func (mr *MockImageServerMockRecorder) GetStore() *gomock.Call
- func (mr *MockImageServerMockRecorder) ImageStatus(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) PrepareImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) PullImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) ResolveNames(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) UntagImage(arg0, arg1 interface{}) *gomock.Call
- type MockRuntimeServer
- func (m *MockRuntimeServer) CreateContainer(arg0 *types.SystemContext, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) (storage0.ContainerInfo, error)
- func (m *MockRuntimeServer) CreatePodSandbox(arg0 *types.SystemContext, ...) (storage0.ContainerInfo, error)
- func (m *MockRuntimeServer) DeleteContainer(arg0 string) error
- func (m *MockRuntimeServer) EXPECT() *MockRuntimeServerMockRecorder
- func (m *MockRuntimeServer) GetContainerMetadata(arg0 string) (storage0.RuntimeContainerMetadata, error)
- func (m *MockRuntimeServer) GetRunDir(arg0 string) (string, error)
- func (m *MockRuntimeServer) GetWorkDir(arg0 string) (string, error)
- func (m *MockRuntimeServer) RemovePodSandbox(arg0 string) error
- func (m *MockRuntimeServer) SetContainerMetadata(arg0 string, arg1 *storage0.RuntimeContainerMetadata) error
- func (m *MockRuntimeServer) StartContainer(arg0 string) (string, error)
- func (m *MockRuntimeServer) StopContainer(arg0 string) error
- type MockRuntimeServerMockRecorder
- func (mr *MockRuntimeServerMockRecorder) CreateContainer(...) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) CreatePodSandbox(...) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) DeleteContainer(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) GetContainerMetadata(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) GetRunDir(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) GetWorkDir(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) RemovePodSandbox(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) SetContainerMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) StartContainer(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) StopContainer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImageServer ¶
type MockImageServer struct {
// contains filtered or unexported fields
}
MockImageServer is a mock of ImageServer interface
func NewMockImageServer ¶
func NewMockImageServer(ctrl *gomock.Controller) *MockImageServer
NewMockImageServer creates a new mock instance
func (*MockImageServer) EXPECT ¶
func (m *MockImageServer) EXPECT() *MockImageServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImageServer) GetStore ¶
func (m *MockImageServer) GetStore() storage.Store
GetStore mocks base method
func (*MockImageServer) ImageStatus ¶
func (m *MockImageServer) ImageStatus(arg0 *types.SystemContext, arg1 string) (*storage0.ImageResult, error)
ImageStatus mocks base method
func (*MockImageServer) ListImages ¶
func (m *MockImageServer) ListImages(arg0 *types.SystemContext, arg1 string) ([]storage0.ImageResult, error)
ListImages mocks base method
func (*MockImageServer) PrepareImage ¶
func (m *MockImageServer) PrepareImage(arg0 *types.SystemContext, arg1 string) (types.ImageCloser, error)
PrepareImage mocks base method
func (*MockImageServer) PullImage ¶
func (m *MockImageServer) PullImage(arg0 *types.SystemContext, arg1 string, arg2 *storage0.ImageCopyOptions) (types.ImageReference, error)
PullImage mocks base method
func (*MockImageServer) ResolveNames ¶
func (m *MockImageServer) ResolveNames(arg0 *types.SystemContext, arg1 string) ([]string, error)
ResolveNames mocks base method
func (*MockImageServer) UntagImage ¶
func (m *MockImageServer) UntagImage(arg0 *types.SystemContext, arg1 string) error
UntagImage mocks base method
type MockImageServerMockRecorder ¶
type MockImageServerMockRecorder struct {
// contains filtered or unexported fields
}
MockImageServerMockRecorder is the mock recorder for MockImageServer
func (*MockImageServerMockRecorder) GetStore ¶
func (mr *MockImageServerMockRecorder) GetStore() *gomock.Call
GetStore indicates an expected call of GetStore
func (*MockImageServerMockRecorder) ImageStatus ¶
func (mr *MockImageServerMockRecorder) ImageStatus(arg0, arg1 interface{}) *gomock.Call
ImageStatus indicates an expected call of ImageStatus
func (*MockImageServerMockRecorder) ListImages ¶
func (mr *MockImageServerMockRecorder) ListImages(arg0, arg1 interface{}) *gomock.Call
ListImages indicates an expected call of ListImages
func (*MockImageServerMockRecorder) PrepareImage ¶
func (mr *MockImageServerMockRecorder) PrepareImage(arg0, arg1 interface{}) *gomock.Call
PrepareImage indicates an expected call of PrepareImage
func (*MockImageServerMockRecorder) PullImage ¶
func (mr *MockImageServerMockRecorder) PullImage(arg0, arg1, arg2 interface{}) *gomock.Call
PullImage indicates an expected call of PullImage
func (*MockImageServerMockRecorder) ResolveNames ¶
func (mr *MockImageServerMockRecorder) ResolveNames(arg0, arg1 interface{}) *gomock.Call
ResolveNames indicates an expected call of ResolveNames
func (*MockImageServerMockRecorder) UntagImage ¶
func (mr *MockImageServerMockRecorder) UntagImage(arg0, arg1 interface{}) *gomock.Call
UntagImage indicates an expected call of UntagImage
type MockRuntimeServer ¶ added in v1.15.0
type MockRuntimeServer struct {
// contains filtered or unexported fields
}
MockRuntimeServer is a mock of RuntimeServer interface
func NewMockRuntimeServer ¶ added in v1.15.0
func NewMockRuntimeServer(ctrl *gomock.Controller) *MockRuntimeServer
NewMockRuntimeServer creates a new mock instance
func (*MockRuntimeServer) CreateContainer ¶ added in v1.15.0
func (m *MockRuntimeServer) CreateContainer(arg0 *types.SystemContext, arg1, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 uint32, arg9 *storage.IDMappingOptions, arg10 []string, arg11 bool) (storage0.ContainerInfo, error)
CreateContainer mocks base method
func (*MockRuntimeServer) CreatePodSandbox ¶ added in v1.15.0
func (m *MockRuntimeServer) CreatePodSandbox(arg0 *types.SystemContext, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 string, arg10 uint32, arg11 *storage.IDMappingOptions, arg12 []string, arg13 bool) (storage0.ContainerInfo, error)
CreatePodSandbox mocks base method
func (*MockRuntimeServer) DeleteContainer ¶ added in v1.15.0
func (m *MockRuntimeServer) DeleteContainer(arg0 string) error
DeleteContainer mocks base method
func (*MockRuntimeServer) EXPECT ¶ added in v1.15.0
func (m *MockRuntimeServer) EXPECT() *MockRuntimeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRuntimeServer) GetContainerMetadata ¶ added in v1.15.0
func (m *MockRuntimeServer) GetContainerMetadata(arg0 string) (storage0.RuntimeContainerMetadata, error)
GetContainerMetadata mocks base method
func (*MockRuntimeServer) GetRunDir ¶ added in v1.15.0
func (m *MockRuntimeServer) GetRunDir(arg0 string) (string, error)
GetRunDir mocks base method
func (*MockRuntimeServer) GetWorkDir ¶ added in v1.15.0
func (m *MockRuntimeServer) GetWorkDir(arg0 string) (string, error)
GetWorkDir mocks base method
func (*MockRuntimeServer) RemovePodSandbox ¶ added in v1.15.0
func (m *MockRuntimeServer) RemovePodSandbox(arg0 string) error
RemovePodSandbox mocks base method
func (*MockRuntimeServer) SetContainerMetadata ¶ added in v1.15.0
func (m *MockRuntimeServer) SetContainerMetadata(arg0 string, arg1 *storage0.RuntimeContainerMetadata) error
SetContainerMetadata mocks base method
func (*MockRuntimeServer) StartContainer ¶ added in v1.15.0
func (m *MockRuntimeServer) StartContainer(arg0 string) (string, error)
StartContainer mocks base method
func (*MockRuntimeServer) StopContainer ¶ added in v1.15.0
func (m *MockRuntimeServer) StopContainer(arg0 string) error
StopContainer mocks base method
type MockRuntimeServerMockRecorder ¶ added in v1.15.0
type MockRuntimeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRuntimeServerMockRecorder is the mock recorder for MockRuntimeServer
func (*MockRuntimeServerMockRecorder) CreateContainer ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) CreateContainer(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer
func (*MockRuntimeServerMockRecorder) CreatePodSandbox ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) CreatePodSandbox(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13 interface{}) *gomock.Call
CreatePodSandbox indicates an expected call of CreatePodSandbox
func (*MockRuntimeServerMockRecorder) DeleteContainer ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) DeleteContainer(arg0 interface{}) *gomock.Call
DeleteContainer indicates an expected call of DeleteContainer
func (*MockRuntimeServerMockRecorder) GetContainerMetadata ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) GetContainerMetadata(arg0 interface{}) *gomock.Call
GetContainerMetadata indicates an expected call of GetContainerMetadata
func (*MockRuntimeServerMockRecorder) GetRunDir ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) GetRunDir(arg0 interface{}) *gomock.Call
GetRunDir indicates an expected call of GetRunDir
func (*MockRuntimeServerMockRecorder) GetWorkDir ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) GetWorkDir(arg0 interface{}) *gomock.Call
GetWorkDir indicates an expected call of GetWorkDir
func (*MockRuntimeServerMockRecorder) RemovePodSandbox ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) RemovePodSandbox(arg0 interface{}) *gomock.Call
RemovePodSandbox indicates an expected call of RemovePodSandbox
func (*MockRuntimeServerMockRecorder) SetContainerMetadata ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) SetContainerMetadata(arg0, arg1 interface{}) *gomock.Call
SetContainerMetadata indicates an expected call of SetContainerMetadata
func (*MockRuntimeServerMockRecorder) StartContainer ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) StartContainer(arg0 interface{}) *gomock.Call
StartContainer indicates an expected call of StartContainer
func (*MockRuntimeServerMockRecorder) StopContainer ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) StopContainer(arg0 interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer