Documentation ¶
Overview ¶
Package criostoragemock is a generated GoMock package.
Index ¶
- type MockImageServer
- func (m *MockImageServer) CandidatesForPotentiallyShortImageName(arg0 *types.SystemContext, arg1 string) ([]references.RegistryImageReference, error)
- func (m *MockImageServer) DeleteImage(arg0 *types.SystemContext, arg1 storage0.StorageImageID) error
- func (m *MockImageServer) EXPECT() *MockImageServerMockRecorder
- func (m *MockImageServer) GetStore() storage.Store
- func (m *MockImageServer) HeuristicallyTryResolvingStringAsIDPrefix(arg0 string) *storage0.StorageImageID
- func (m *MockImageServer) ImageStatusByID(arg0 *types.SystemContext, arg1 storage0.StorageImageID) (*storage0.ImageResult, error)
- func (m *MockImageServer) ImageStatusByName(arg0 *types.SystemContext, arg1 references.RegistryImageReference) (*storage0.ImageResult, error)
- func (m *MockImageServer) ListImages(arg0 *types.SystemContext) ([]storage0.ImageResult, error)
- func (m *MockImageServer) PrepareImage(arg0 *types.SystemContext, arg1 references.RegistryImageReference) (types.ImageCloser, error)
- func (m *MockImageServer) PullImage(arg0 context.Context, arg1 references.RegistryImageReference, ...) (types.ImageReference, error)
- func (m *MockImageServer) UntagImage(arg0 *types.SystemContext, arg1 references.RegistryImageReference) error
- func (m *MockImageServer) UpdatePinnedImagesList(arg0 []string)
- type MockImageServerMockRecorder
- func (mr *MockImageServerMockRecorder) CandidatesForPotentiallyShortImageName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) DeleteImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) GetStore() *gomock.Call
- func (mr *MockImageServerMockRecorder) HeuristicallyTryResolvingStringAsIDPrefix(arg0 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) ImageStatusByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) ImageStatusByName(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) ListImages(arg0 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) UntagImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServerMockRecorder) UpdatePinnedImagesList(arg0 interface{}) *gomock.Call
- type MockRuntimeServer
- func (m *MockRuntimeServer) CreateContainer(arg0 *types.SystemContext, arg1, arg2, arg3 string, ...) (storage0.ContainerInfo, error)
- func (m *MockRuntimeServer) CreatePodSandbox(arg0 *types.SystemContext, arg1, arg2 string, ...) (storage0.ContainerInfo, error)
- func (m *MockRuntimeServer) DeleteContainer(arg0 context.Context, arg1 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) SetContainerMetadata(arg0 string, arg1 *storage0.RuntimeContainerMetadata) error
- func (m *MockRuntimeServer) StartContainer(arg0 string) (string, error)
- func (m *MockRuntimeServer) StopContainer(arg0 context.Context, arg1 string) error
- type MockRuntimeServerMockRecorder
- func (mr *MockRuntimeServerMockRecorder) CreateContainer(...) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) CreatePodSandbox(...) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) DeleteContainer(arg0, arg1 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) SetContainerMetadata(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) StartContainer(arg0 interface{}) *gomock.Call
- func (mr *MockRuntimeServerMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
- type MockStorageTransport
- type MockStorageTransportMockRecorder
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) CandidatesForPotentiallyShortImageName ¶ added in v1.29.0
func (m *MockImageServer) CandidatesForPotentiallyShortImageName(arg0 *types.SystemContext, arg1 string) ([]references.RegistryImageReference, error)
CandidatesForPotentiallyShortImageName mocks base method.
func (*MockImageServer) DeleteImage ¶ added in v1.29.0
func (m *MockImageServer) DeleteImage(arg0 *types.SystemContext, arg1 storage0.StorageImageID) error
DeleteImage mocks base method.
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) HeuristicallyTryResolvingStringAsIDPrefix ¶ added in v1.29.0
func (m *MockImageServer) HeuristicallyTryResolvingStringAsIDPrefix(arg0 string) *storage0.StorageImageID
HeuristicallyTryResolvingStringAsIDPrefix mocks base method.
func (*MockImageServer) ImageStatusByID ¶ added in v1.29.0
func (m *MockImageServer) ImageStatusByID(arg0 *types.SystemContext, arg1 storage0.StorageImageID) (*storage0.ImageResult, error)
ImageStatusByID mocks base method.
func (*MockImageServer) ImageStatusByName ¶ added in v1.29.0
func (m *MockImageServer) ImageStatusByName(arg0 *types.SystemContext, arg1 references.RegistryImageReference) (*storage0.ImageResult, error)
ImageStatusByName mocks base method.
func (*MockImageServer) ListImages ¶
func (m *MockImageServer) ListImages(arg0 *types.SystemContext) ([]storage0.ImageResult, error)
ListImages mocks base method.
func (*MockImageServer) PrepareImage ¶
func (m *MockImageServer) PrepareImage(arg0 *types.SystemContext, arg1 references.RegistryImageReference) (types.ImageCloser, error)
PrepareImage mocks base method.
func (*MockImageServer) PullImage ¶
func (m *MockImageServer) PullImage(arg0 context.Context, arg1 references.RegistryImageReference, arg2 *storage0.ImageCopyOptions) (types.ImageReference, error)
PullImage mocks base method.
func (*MockImageServer) UntagImage ¶
func (m *MockImageServer) UntagImage(arg0 *types.SystemContext, arg1 references.RegistryImageReference) error
UntagImage mocks base method.
func (*MockImageServer) UpdatePinnedImagesList ¶ added in v1.29.4
func (m *MockImageServer) UpdatePinnedImagesList(arg0 []string)
UpdatePinnedImagesList mocks base method.
type MockImageServerMockRecorder ¶
type MockImageServerMockRecorder struct {
// contains filtered or unexported fields
}
MockImageServerMockRecorder is the mock recorder for MockImageServer.
func (*MockImageServerMockRecorder) CandidatesForPotentiallyShortImageName ¶ added in v1.29.0
func (mr *MockImageServerMockRecorder) CandidatesForPotentiallyShortImageName(arg0, arg1 interface{}) *gomock.Call
CandidatesForPotentiallyShortImageName indicates an expected call of CandidatesForPotentiallyShortImageName.
func (*MockImageServerMockRecorder) DeleteImage ¶ added in v1.29.0
func (mr *MockImageServerMockRecorder) DeleteImage(arg0, arg1 interface{}) *gomock.Call
DeleteImage indicates an expected call of DeleteImage.
func (*MockImageServerMockRecorder) GetStore ¶
func (mr *MockImageServerMockRecorder) GetStore() *gomock.Call
GetStore indicates an expected call of GetStore.
func (*MockImageServerMockRecorder) HeuristicallyTryResolvingStringAsIDPrefix ¶ added in v1.29.0
func (mr *MockImageServerMockRecorder) HeuristicallyTryResolvingStringAsIDPrefix(arg0 interface{}) *gomock.Call
HeuristicallyTryResolvingStringAsIDPrefix indicates an expected call of HeuristicallyTryResolvingStringAsIDPrefix.
func (*MockImageServerMockRecorder) ImageStatusByID ¶ added in v1.29.0
func (mr *MockImageServerMockRecorder) ImageStatusByID(arg0, arg1 interface{}) *gomock.Call
ImageStatusByID indicates an expected call of ImageStatusByID.
func (*MockImageServerMockRecorder) ImageStatusByName ¶ added in v1.29.0
func (mr *MockImageServerMockRecorder) ImageStatusByName(arg0, arg1 interface{}) *gomock.Call
ImageStatusByName indicates an expected call of ImageStatusByName.
func (*MockImageServerMockRecorder) ListImages ¶
func (mr *MockImageServerMockRecorder) ListImages(arg0 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) UntagImage ¶
func (mr *MockImageServerMockRecorder) UntagImage(arg0, arg1 interface{}) *gomock.Call
UntagImage indicates an expected call of UntagImage.
func (*MockImageServerMockRecorder) UpdatePinnedImagesList ¶ added in v1.29.4
func (mr *MockImageServerMockRecorder) UpdatePinnedImagesList(arg0 interface{}) *gomock.Call
UpdatePinnedImagesList indicates an expected call of UpdatePinnedImagesList.
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 string, arg4 storage0.StorageImageID, arg5, arg6, arg7 string, arg8 uint32, arg9 *types0.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 string, arg3 references.RegistryImageReference, arg4, arg5, arg6, arg7, arg8 string, arg9 uint32, arg10 *types0.IDMappingOptions, arg11 []string, arg12 bool) (storage0.ContainerInfo, error)
CreatePodSandbox mocks base method.
func (*MockRuntimeServer) DeleteContainer ¶ added in v1.15.0
func (m *MockRuntimeServer) DeleteContainer(arg0 context.Context, arg1 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) 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 context.Context, arg1 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 interface{}) *gomock.Call
CreatePodSandbox indicates an expected call of CreatePodSandbox.
func (*MockRuntimeServerMockRecorder) DeleteContainer ¶ added in v1.15.0
func (mr *MockRuntimeServerMockRecorder) DeleteContainer(arg0, arg1 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) 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, arg1 interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer.
type MockStorageTransport ¶ added in v1.29.0
type MockStorageTransport struct {
// contains filtered or unexported fields
}
MockStorageTransport is a mock of StorageTransport interface.
func NewMockStorageTransport ¶ added in v1.29.0
func NewMockStorageTransport(ctrl *gomock.Controller) *MockStorageTransport
NewMockStorageTransport creates a new mock instance.
func (*MockStorageTransport) EXPECT ¶ added in v1.29.0
func (m *MockStorageTransport) EXPECT() *MockStorageTransportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorageTransport) ResolveReference ¶ added in v1.29.0
func (m *MockStorageTransport) ResolveReference(arg0 types.ImageReference) (types.ImageReference, *storage.Image, error)
ResolveReference mocks base method.
type MockStorageTransportMockRecorder ¶ added in v1.29.0
type MockStorageTransportMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageTransportMockRecorder is the mock recorder for MockStorageTransport.
func (*MockStorageTransportMockRecorder) ResolveReference ¶ added in v1.29.0
func (mr *MockStorageTransportMockRecorder) ResolveReference(arg0 interface{}) *gomock.Call
ResolveReference indicates an expected call of ResolveReference.