criostoragemock

package
v1.31.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package criostoragemock is a generated GoMock package.

Index

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

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

ImageStatusByID mocks base method.

func (*MockImageServer) ImageStatusByName added in v1.29.0

ImageStatusByName mocks base method.

func (*MockImageServer) IsRunningImageAllowed added in v1.31.0

IsRunningImageAllowed mocks base method.

func (*MockImageServer) ListImages

func (m *MockImageServer) ListImages(arg0 *types.SystemContext) ([]storage0.ImageResult, error)

ListImages mocks base method.

func (*MockImageServer) PrepareImage

PrepareImage mocks base method.

func (*MockImageServer) PullImage

PullImage mocks base method.

func (*MockImageServer) UntagImage

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) IsRunningImageAllowed added in v1.31.0

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

IsRunningImageAllowed indicates an expected call of IsRunningImageAllowed.

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

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

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

func (*MockStorageTransport) ResolveReference added in v1.29.0

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.

Jump to

Keyboard shortcuts

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