testmock

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Package testmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuildEnv

type MockBuildEnv struct {
	// contains filtered or unexported fields
}

MockBuildEnv is a mock of BuildEnv interface.

func NewMockBuildEnv

func NewMockBuildEnv(ctrl *gomock.Controller) *MockBuildEnv

NewMockBuildEnv creates a new mock instance.

func (*MockBuildEnv) AddEnvDir

func (m *MockBuildEnv) AddEnvDir(arg0 string, arg1 env.ActionType) error

AddEnvDir mocks base method.

func (*MockBuildEnv) AddRootDir

func (m *MockBuildEnv) AddRootDir(arg0 string) error

AddRootDir mocks base method.

func (*MockBuildEnv) EXPECT

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

func (*MockBuildEnv) List

func (m *MockBuildEnv) List() []string

List mocks base method.

func (*MockBuildEnv) WithOverrides added in v0.16.0

func (m *MockBuildEnv) WithOverrides(arg0, arg1 string) ([]string, error)

WithOverrides mocks base method.

type MockBuildEnvMockRecorder

type MockBuildEnvMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuildEnvMockRecorder is the mock recorder for MockBuildEnv.

func (*MockBuildEnvMockRecorder) AddEnvDir

func (mr *MockBuildEnvMockRecorder) AddEnvDir(arg0, arg1 interface{}) *gomock.Call

AddEnvDir indicates an expected call of AddEnvDir.

func (*MockBuildEnvMockRecorder) AddRootDir

func (mr *MockBuildEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call

AddRootDir indicates an expected call of AddRootDir.

func (*MockBuildEnvMockRecorder) List

func (mr *MockBuildEnvMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockBuildEnvMockRecorder) WithOverrides added in v0.16.0

func (mr *MockBuildEnvMockRecorder) WithOverrides(arg0, arg1 interface{}) *gomock.Call

WithOverrides indicates an expected call of WithOverrides.

type MockBuildExecutor added in v0.15.0

type MockBuildExecutor struct {
	// contains filtered or unexported fields
}

MockBuildExecutor is a mock of BuildExecutor interface.

func NewMockBuildExecutor added in v0.15.0

func NewMockBuildExecutor(ctrl *gomock.Controller) *MockBuildExecutor

NewMockBuildExecutor creates a new mock instance.

func (*MockBuildExecutor) Build added in v0.15.0

Build mocks base method.

func (*MockBuildExecutor) EXPECT added in v0.15.0

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

type MockBuildExecutorMockRecorder added in v0.15.0

type MockBuildExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuildExecutorMockRecorder is the mock recorder for MockBuildExecutor.

func (*MockBuildExecutorMockRecorder) Build added in v0.15.0

func (mr *MockBuildExecutorMockRecorder) Build(arg0, arg1, arg2 interface{}) *gomock.Call

Build indicates an expected call of Build.

type MockBuildpackAPIVerifier added in v0.15.0

type MockBuildpackAPIVerifier struct {
	// contains filtered or unexported fields
}

MockBuildpackAPIVerifier is a mock of BuildpackAPIVerifier interface.

func NewMockBuildpackAPIVerifier added in v0.15.0

func NewMockBuildpackAPIVerifier(ctrl *gomock.Controller) *MockBuildpackAPIVerifier

NewMockBuildpackAPIVerifier creates a new mock instance.

func (*MockBuildpackAPIVerifier) EXPECT added in v0.15.0

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

func (*MockBuildpackAPIVerifier) VerifyBuildpackAPI added in v0.15.0

func (m *MockBuildpackAPIVerifier) VerifyBuildpackAPI(arg0, arg1, arg2 string, arg3 log.Logger) error

VerifyBuildpackAPI mocks base method.

type MockBuildpackAPIVerifierMockRecorder added in v0.15.0

type MockBuildpackAPIVerifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuildpackAPIVerifierMockRecorder is the mock recorder for MockBuildpackAPIVerifier.

func (*MockBuildpackAPIVerifierMockRecorder) VerifyBuildpackAPI added in v0.15.0

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

VerifyBuildpackAPI indicates an expected call of VerifyBuildpackAPI.

type MockCacheHandler added in v0.14.1

type MockCacheHandler struct {
	// contains filtered or unexported fields
}

MockCacheHandler is a mock of CacheHandler interface.

func NewMockCacheHandler added in v0.14.1

func NewMockCacheHandler(ctrl *gomock.Controller) *MockCacheHandler

NewMockCacheHandler creates a new mock instance.

func (*MockCacheHandler) EXPECT added in v0.14.1

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

func (*MockCacheHandler) InitCache added in v0.14.1

func (m *MockCacheHandler) InitCache(arg0, arg1 string) (lifecycle.Cache, error)

InitCache mocks base method.

type MockCacheHandlerMockRecorder added in v0.14.1

type MockCacheHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockCacheHandlerMockRecorder is the mock recorder for MockCacheHandler.

func (*MockCacheHandlerMockRecorder) InitCache added in v0.14.1

func (mr *MockCacheHandlerMockRecorder) InitCache(arg0, arg1 interface{}) *gomock.Call

InitCache indicates an expected call of InitCache.

type MockConfigHandler added in v0.14.1

type MockConfigHandler struct {
	// contains filtered or unexported fields
}

MockConfigHandler is a mock of ConfigHandler interface.

func NewMockConfigHandler added in v0.14.1

func NewMockConfigHandler(ctrl *gomock.Controller) *MockConfigHandler

NewMockConfigHandler creates a new mock instance.

func (*MockConfigHandler) EXPECT added in v0.14.1

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

func (*MockConfigHandler) ReadAnalyzed added in v0.15.0

func (m *MockConfigHandler) ReadAnalyzed(arg0 string) (platform.AnalyzedMetadata, error)

ReadAnalyzed mocks base method.

func (*MockConfigHandler) ReadGroup added in v0.14.1

ReadGroup mocks base method.

func (*MockConfigHandler) ReadOrder added in v0.15.0

func (m *MockConfigHandler) ReadOrder(arg0 string) (buildpack.Order, buildpack.Order, error)

ReadOrder mocks base method.

type MockConfigHandlerMockRecorder added in v0.14.1

type MockConfigHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockConfigHandlerMockRecorder is the mock recorder for MockConfigHandler.

func (*MockConfigHandlerMockRecorder) ReadAnalyzed added in v0.15.0

func (mr *MockConfigHandlerMockRecorder) ReadAnalyzed(arg0 interface{}) *gomock.Call

ReadAnalyzed indicates an expected call of ReadAnalyzed.

func (*MockConfigHandlerMockRecorder) ReadGroup added in v0.14.1

func (mr *MockConfigHandlerMockRecorder) ReadGroup(arg0 interface{}) *gomock.Call

ReadGroup indicates an expected call of ReadGroup.

func (*MockConfigHandlerMockRecorder) ReadOrder added in v0.15.0

func (mr *MockConfigHandlerMockRecorder) ReadOrder(arg0 interface{}) *gomock.Call

ReadOrder indicates an expected call of ReadOrder.

type MockDescriptor added in v0.15.0

type MockDescriptor struct {
	// contains filtered or unexported fields
}

MockDescriptor is a mock of Descriptor interface.

func NewMockDescriptor added in v0.15.0

func NewMockDescriptor(ctrl *gomock.Controller) *MockDescriptor

NewMockDescriptor creates a new mock instance.

func (*MockDescriptor) API added in v0.15.0

func (m *MockDescriptor) API() string

API mocks base method.

func (*MockDescriptor) EXPECT added in v0.15.0

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

func (*MockDescriptor) Homepage added in v0.15.0

func (m *MockDescriptor) Homepage() string

Homepage mocks base method.

type MockDescriptorMockRecorder added in v0.15.0

type MockDescriptorMockRecorder struct {
	// contains filtered or unexported fields
}

MockDescriptorMockRecorder is the mock recorder for MockDescriptor.

func (*MockDescriptorMockRecorder) API added in v0.15.0

API indicates an expected call of API.

func (*MockDescriptorMockRecorder) Homepage added in v0.15.0

func (mr *MockDescriptorMockRecorder) Homepage() *gomock.Call

Homepage indicates an expected call of Homepage.

type MockDetectExecutor added in v0.15.0

type MockDetectExecutor struct {
	// contains filtered or unexported fields
}

MockDetectExecutor is a mock of DetectExecutor interface.

func NewMockDetectExecutor added in v0.15.0

func NewMockDetectExecutor(ctrl *gomock.Controller) *MockDetectExecutor

NewMockDetectExecutor creates a new mock instance.

func (*MockDetectExecutor) Detect added in v0.15.0

Detect mocks base method.

func (*MockDetectExecutor) EXPECT added in v0.15.0

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

type MockDetectExecutorMockRecorder added in v0.15.0

type MockDetectExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockDetectExecutorMockRecorder is the mock recorder for MockDetectExecutor.

func (*MockDetectExecutorMockRecorder) Detect added in v0.15.0

func (mr *MockDetectExecutorMockRecorder) Detect(arg0, arg1, arg2 interface{}) *gomock.Call

Detect indicates an expected call of Detect.

type MockDetectResolver added in v0.15.0

type MockDetectResolver struct {
	// contains filtered or unexported fields
}

MockDetectResolver is a mock of DetectResolver interface.

func NewMockDetectResolver added in v0.15.0

func NewMockDetectResolver(ctrl *gomock.Controller) *MockDetectResolver

NewMockDetectResolver creates a new mock instance.

func (*MockDetectResolver) EXPECT added in v0.15.0

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

func (*MockDetectResolver) Resolve added in v0.15.0

Resolve mocks base method.

type MockDetectResolverMockRecorder added in v0.15.0

type MockDetectResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockDetectResolverMockRecorder is the mock recorder for MockDetectResolver.

func (*MockDetectResolverMockRecorder) Resolve added in v0.15.0

func (mr *MockDetectResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

type MockDirStore added in v0.15.0

type MockDirStore struct {
	// contains filtered or unexported fields
}

MockDirStore is a mock of DirStore interface.

func NewMockDirStore added in v0.15.0

func NewMockDirStore(ctrl *gomock.Controller) *MockDirStore

NewMockDirStore creates a new mock instance.

func (*MockDirStore) EXPECT added in v0.15.0

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

func (*MockDirStore) Lookup added in v0.15.0

func (m *MockDirStore) Lookup(arg0, arg1, arg2 string) (buildpack.Descriptor, error)

Lookup mocks base method.

func (*MockDirStore) LookupBp added in v0.15.0

func (m *MockDirStore) LookupBp(arg0, arg1 string) (*buildpack.BpDescriptor, error)

LookupBp mocks base method.

func (*MockDirStore) LookupExt added in v0.15.0

func (m *MockDirStore) LookupExt(arg0, arg1 string) (*buildpack.ExtDescriptor, error)

LookupExt mocks base method.

type MockDirStoreMockRecorder added in v0.15.0

type MockDirStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockDirStoreMockRecorder is the mock recorder for MockDirStore.

func (*MockDirStoreMockRecorder) Lookup added in v0.15.0

func (mr *MockDirStoreMockRecorder) Lookup(arg0, arg1, arg2 interface{}) *gomock.Call

Lookup indicates an expected call of Lookup.

func (*MockDirStoreMockRecorder) LookupBp added in v0.15.0

func (mr *MockDirStoreMockRecorder) LookupBp(arg0, arg1 interface{}) *gomock.Call

LookupBp indicates an expected call of LookupBp.

func (*MockDirStoreMockRecorder) LookupExt added in v0.15.0

func (mr *MockDirStoreMockRecorder) LookupExt(arg0, arg1 interface{}) *gomock.Call

LookupExt indicates an expected call of LookupExt.

type MockDockerfileApplier added in v0.15.0

type MockDockerfileApplier struct {
	// contains filtered or unexported fields
}

MockDockerfileApplier is a mock of DockerfileApplier interface.

func NewMockDockerfileApplier added in v0.15.0

func NewMockDockerfileApplier(ctrl *gomock.Controller) *MockDockerfileApplier

NewMockDockerfileApplier creates a new mock instance.

func (*MockDockerfileApplier) Apply added in v0.15.0

func (m *MockDockerfileApplier) Apply(arg0, arg1 string, arg2 []extend.Dockerfile, arg3 extend.Options) error

Apply mocks base method.

func (*MockDockerfileApplier) EXPECT added in v0.15.0

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

type MockDockerfileApplierMockRecorder added in v0.15.0

type MockDockerfileApplierMockRecorder struct {
	// contains filtered or unexported fields
}

MockDockerfileApplierMockRecorder is the mock recorder for MockDockerfileApplier.

func (*MockDockerfileApplierMockRecorder) Apply added in v0.15.0

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

Apply indicates an expected call of Apply.

type MockGenerateExecutor added in v0.15.0

type MockGenerateExecutor struct {
	// contains filtered or unexported fields
}

MockGenerateExecutor is a mock of GenerateExecutor interface.

func NewMockGenerateExecutor added in v0.15.0

func NewMockGenerateExecutor(ctrl *gomock.Controller) *MockGenerateExecutor

NewMockGenerateExecutor creates a new mock instance.

func (*MockGenerateExecutor) EXPECT added in v0.15.0

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

func (*MockGenerateExecutor) Generate added in v0.15.0

Generate mocks base method.

type MockGenerateExecutorMockRecorder added in v0.15.0

type MockGenerateExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockGenerateExecutorMockRecorder is the mock recorder for MockGenerateExecutor.

func (*MockGenerateExecutorMockRecorder) Generate added in v0.15.0

func (mr *MockGenerateExecutorMockRecorder) Generate(arg0, arg1, arg2 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

type MockImageHandler added in v0.14.1

type MockImageHandler struct {
	// contains filtered or unexported fields
}

MockImageHandler is a mock of ImageHandler interface.

func NewMockImageHandler added in v0.14.1

func NewMockImageHandler(ctrl *gomock.Controller) *MockImageHandler

NewMockImageHandler creates a new mock instance.

func (*MockImageHandler) Docker added in v0.14.1

func (m *MockImageHandler) Docker() bool

Docker mocks base method.

func (*MockImageHandler) EXPECT added in v0.14.1

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

func (*MockImageHandler) InitImage added in v0.14.1

func (m *MockImageHandler) InitImage(arg0 string) (imgutil.Image, error)

InitImage mocks base method.

type MockImageHandlerMockRecorder added in v0.14.1

type MockImageHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockImageHandlerMockRecorder is the mock recorder for MockImageHandler.

func (*MockImageHandlerMockRecorder) Docker added in v0.14.1

Docker indicates an expected call of Docker.

func (*MockImageHandlerMockRecorder) InitImage added in v0.14.1

func (mr *MockImageHandlerMockRecorder) InitImage(arg0 interface{}) *gomock.Call

InitImage indicates an expected call of InitImage.

type MockLayerFactory added in v0.8.1

type MockLayerFactory struct {
	// contains filtered or unexported fields
}

MockLayerFactory is a mock of LayerFactory interface.

func NewMockLayerFactory added in v0.8.1

func NewMockLayerFactory(ctrl *gomock.Controller) *MockLayerFactory

NewMockLayerFactory creates a new mock instance.

func (*MockLayerFactory) DirLayer added in v0.8.1

func (m *MockLayerFactory) DirLayer(arg0, arg1 string) (layers.Layer, error)

DirLayer mocks base method.

func (*MockLayerFactory) EXPECT added in v0.8.1

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

func (*MockLayerFactory) LauncherLayer added in v0.9.0

func (m *MockLayerFactory) LauncherLayer(arg0 string) (layers.Layer, error)

LauncherLayer mocks base method.

func (*MockLayerFactory) ProcessTypesLayer added in v0.9.0

func (m *MockLayerFactory) ProcessTypesLayer(arg0 launch.Metadata) (layers.Layer, error)

ProcessTypesLayer mocks base method.

func (*MockLayerFactory) SliceLayers added in v0.8.1

func (m *MockLayerFactory) SliceLayers(arg0 string, arg1 []layers.Slice) ([]layers.Layer, error)

SliceLayers mocks base method.

type MockLayerFactoryMockRecorder added in v0.8.1

type MockLayerFactoryMockRecorder struct {
	// contains filtered or unexported fields
}

MockLayerFactoryMockRecorder is the mock recorder for MockLayerFactory.

func (*MockLayerFactoryMockRecorder) DirLayer added in v0.8.1

func (mr *MockLayerFactoryMockRecorder) DirLayer(arg0, arg1 interface{}) *gomock.Call

DirLayer indicates an expected call of DirLayer.

func (*MockLayerFactoryMockRecorder) LauncherLayer added in v0.9.0

func (mr *MockLayerFactoryMockRecorder) LauncherLayer(arg0 interface{}) *gomock.Call

LauncherLayer indicates an expected call of LauncherLayer.

func (*MockLayerFactoryMockRecorder) ProcessTypesLayer added in v0.9.0

func (mr *MockLayerFactoryMockRecorder) ProcessTypesLayer(arg0 interface{}) *gomock.Call

ProcessTypesLayer indicates an expected call of ProcessTypesLayer.

func (*MockLayerFactoryMockRecorder) SliceLayers added in v0.8.1

func (mr *MockLayerFactoryMockRecorder) SliceLayers(arg0, arg1 interface{}) *gomock.Call

SliceLayers indicates an expected call of SliceLayers.

type MockMetadataRestorer added in v0.14.1

type MockMetadataRestorer struct {
	// contains filtered or unexported fields
}

MockMetadataRestorer is a mock of MetadataRestorer interface.

func NewMockMetadataRestorer added in v0.14.1

func NewMockMetadataRestorer(ctrl *gomock.Controller) *MockMetadataRestorer

NewMockMetadataRestorer creates a new mock instance.

func (*MockMetadataRestorer) EXPECT added in v0.14.1

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

func (*MockMetadataRestorer) Restore added in v0.14.1

Restore mocks base method.

type MockMetadataRestorerMockRecorder added in v0.14.1

type MockMetadataRestorerMockRecorder struct {
	// contains filtered or unexported fields
}

MockMetadataRestorerMockRecorder is the mock recorder for MockMetadataRestorer.

func (*MockMetadataRestorerMockRecorder) Restore added in v0.14.1

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

Restore indicates an expected call of Restore.

type MockReference

type MockReference struct {
	// contains filtered or unexported fields
}

MockReference is a mock of Reference interface

func NewMockReference

func NewMockReference(ctrl *gomock.Controller) *MockReference

NewMockReference creates a new mock instance

func (*MockReference) Context

func (m *MockReference) Context() name.Repository

Context mocks base method

func (*MockReference) EXPECT

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

func (*MockReference) Identifier

func (m *MockReference) Identifier() string

Identifier mocks base method

func (*MockReference) Name

func (m *MockReference) Name() string

Name mocks base method

func (*MockReference) Scope

func (m *MockReference) Scope(arg0 string) string

Scope mocks base method

func (*MockReference) String

func (m *MockReference) String() string

String mocks base method

type MockReferenceMockRecorder

type MockReferenceMockRecorder struct {
	// contains filtered or unexported fields
}

MockReferenceMockRecorder is the mock recorder for MockReference

func (*MockReferenceMockRecorder) Context

func (mr *MockReferenceMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockReferenceMockRecorder) Identifier

func (mr *MockReferenceMockRecorder) Identifier() *gomock.Call

Identifier indicates an expected call of Identifier

func (*MockReferenceMockRecorder) Name

Name indicates an expected call of Name

func (*MockReferenceMockRecorder) Scope

func (mr *MockReferenceMockRecorder) Scope(arg0 interface{}) *gomock.Call

Scope indicates an expected call of Scope

func (*MockReferenceMockRecorder) String

func (mr *MockReferenceMockRecorder) String() *gomock.Call

String indicates an expected call of String

type MockRegistryHandler added in v0.14.1

type MockRegistryHandler struct {
	// contains filtered or unexported fields
}

MockRegistryHandler is a mock of RegistryHandler interface.

func NewMockRegistryHandler added in v0.14.1

func NewMockRegistryHandler(ctrl *gomock.Controller) *MockRegistryHandler

NewMockRegistryHandler creates a new mock instance.

func (*MockRegistryHandler) EXPECT added in v0.14.1

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

func (*MockRegistryHandler) EnsureReadAccess added in v0.14.1

func (m *MockRegistryHandler) EnsureReadAccess(arg0 ...string) error

EnsureReadAccess mocks base method.

func (*MockRegistryHandler) EnsureWriteAccess added in v0.14.1

func (m *MockRegistryHandler) EnsureWriteAccess(arg0 ...string) error

EnsureWriteAccess mocks base method.

type MockRegistryHandlerMockRecorder added in v0.14.1

type MockRegistryHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegistryHandlerMockRecorder is the mock recorder for MockRegistryHandler.

func (*MockRegistryHandlerMockRecorder) EnsureReadAccess added in v0.14.1

func (mr *MockRegistryHandlerMockRecorder) EnsureReadAccess(arg0 ...interface{}) *gomock.Call

EnsureReadAccess indicates an expected call of EnsureReadAccess.

func (*MockRegistryHandlerMockRecorder) EnsureWriteAccess added in v0.14.1

func (mr *MockRegistryHandlerMockRecorder) EnsureWriteAccess(arg0 ...interface{}) *gomock.Call

EnsureWriteAccess indicates an expected call of EnsureWriteAccess.

type MockSBOMRestorer added in v0.14.1

type MockSBOMRestorer struct {
	// contains filtered or unexported fields
}

MockSBOMRestorer is a mock of SBOMRestorer interface.

func NewMockSBOMRestorer added in v0.14.1

func NewMockSBOMRestorer(ctrl *gomock.Controller) *MockSBOMRestorer

NewMockSBOMRestorer creates a new mock instance.

func (*MockSBOMRestorer) EXPECT added in v0.14.1

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

func (*MockSBOMRestorer) RestoreFromCache added in v0.14.1

func (m *MockSBOMRestorer) RestoreFromCache(arg0 layer.Cache, arg1 string) error

RestoreFromCache mocks base method.

func (*MockSBOMRestorer) RestoreFromPrevious added in v0.14.1

func (m *MockSBOMRestorer) RestoreFromPrevious(arg0 imgutil.Image, arg1 string) error

RestoreFromPrevious mocks base method.

func (*MockSBOMRestorer) RestoreToBuildpackLayers added in v0.14.1

func (m *MockSBOMRestorer) RestoreToBuildpackLayers(arg0 []buildpack.GroupElement) error

RestoreToBuildpackLayers mocks base method.

type MockSBOMRestorerMockRecorder added in v0.14.1

type MockSBOMRestorerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSBOMRestorerMockRecorder is the mock recorder for MockSBOMRestorer.

func (*MockSBOMRestorerMockRecorder) RestoreFromCache added in v0.14.1

func (mr *MockSBOMRestorerMockRecorder) RestoreFromCache(arg0, arg1 interface{}) *gomock.Call

RestoreFromCache indicates an expected call of RestoreFromCache.

func (*MockSBOMRestorerMockRecorder) RestoreFromPrevious added in v0.14.1

func (mr *MockSBOMRestorerMockRecorder) RestoreFromPrevious(arg0, arg1 interface{}) *gomock.Call

RestoreFromPrevious indicates an expected call of RestoreFromPrevious.

func (*MockSBOMRestorerMockRecorder) RestoreToBuildpackLayers added in v0.14.1

func (mr *MockSBOMRestorerMockRecorder) RestoreToBuildpackLayers(arg0 interface{}) *gomock.Call

RestoreToBuildpackLayers indicates an expected call of RestoreToBuildpackLayers.

Jump to

Keyboard shortcuts

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