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 ¶
- type MockBuildEnv
- type MockBuildEnvMockRecorder
- func (mr *MockBuildEnvMockRecorder) AddEnvDir(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBuildEnvMockRecorder) AddRootDir(arg0 interface{}) *gomock.Call
- func (mr *MockBuildEnvMockRecorder) List() *gomock.Call
- func (mr *MockBuildEnvMockRecorder) WithOverrides(arg0, arg1 interface{}) *gomock.Call
- type MockBuildExecutor
- type MockBuildExecutorMockRecorder
- type MockBuildpackAPIVerifier
- type MockBuildpackAPIVerifierMockRecorder
- type MockCacheHandler
- type MockCacheHandlerMockRecorder
- type MockConfigHandler
- func (m *MockConfigHandler) EXPECT() *MockConfigHandlerMockRecorder
- func (m *MockConfigHandler) ReadAnalyzed(arg0 string, arg1 log.Logger) (files.Analyzed, error)
- func (m *MockConfigHandler) ReadGroup(arg0 string) (buildpack.Group, error)
- func (m *MockConfigHandler) ReadOrder(arg0 string) (buildpack.Order, buildpack.Order, error)
- func (m *MockConfigHandler) ReadPlan(arg0 string) (files.Plan, error)
- func (m *MockConfigHandler) ReadRun(arg0 string, arg1 log.Logger) (files.Run, error)
- type MockConfigHandlerMockRecorder
- func (mr *MockConfigHandlerMockRecorder) ReadAnalyzed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConfigHandlerMockRecorder) ReadGroup(arg0 interface{}) *gomock.Call
- func (mr *MockConfigHandlerMockRecorder) ReadOrder(arg0 interface{}) *gomock.Call
- func (mr *MockConfigHandlerMockRecorder) ReadPlan(arg0 interface{}) *gomock.Call
- func (mr *MockConfigHandlerMockRecorder) ReadRun(arg0, arg1 interface{}) *gomock.Call
- type MockDescriptor
- type MockDescriptorMockRecorder
- type MockDetectExecutor
- type MockDetectExecutorMockRecorder
- type MockDetectResolver
- type MockDetectResolverMockRecorder
- type MockDirStore
- func (m *MockDirStore) EXPECT() *MockDirStoreMockRecorder
- func (m *MockDirStore) Lookup(arg0, arg1, arg2 string) (buildpack.Descriptor, error)
- func (m *MockDirStore) LookupBp(arg0, arg1 string) (*buildpack.BpDescriptor, error)
- func (m *MockDirStore) LookupExt(arg0, arg1 string) (*buildpack.ExtDescriptor, error)
- type MockDirStoreMockRecorder
- type MockDockerfileApplier
- func (m *MockDockerfileApplier) Apply(arg0 extend.Dockerfile, arg1 v1.Image, arg2 extend.Options, arg3 log.Logger) (v1.Image, error)
- func (m *MockDockerfileApplier) Cleanup() error
- func (m *MockDockerfileApplier) EXPECT() *MockDockerfileApplierMockRecorder
- func (m *MockDockerfileApplier) ImageFor(arg0 string) (v1.Image, error)
- type MockDockerfileApplierMockRecorder
- type MockGenerateExecutor
- type MockGenerateExecutorMockRecorder
- type MockHandler
- type MockHandlerMockRecorder
- type MockLayerFactory
- func (m *MockLayerFactory) DirLayer(arg0, arg1, arg2 string) (layers.Layer, error)
- func (m *MockLayerFactory) EXPECT() *MockLayerFactoryMockRecorder
- func (m *MockLayerFactory) LauncherLayer(arg0 string) (layers.Layer, error)
- func (m *MockLayerFactory) ProcessTypesLayer(arg0 launch.Metadata) (layers.Layer, error)
- func (m *MockLayerFactory) SliceLayers(arg0 string, arg1 []layers.Slice) ([]layers.Layer, error)
- func (m *MockLayerFactory) TarLayer(arg0, arg1, arg2 string) (layers.Layer, error)
- type MockLayerFactoryMockRecorder
- func (mr *MockLayerFactoryMockRecorder) DirLayer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockLayerFactoryMockRecorder) LauncherLayer(arg0 interface{}) *gomock.Call
- func (mr *MockLayerFactoryMockRecorder) ProcessTypesLayer(arg0 interface{}) *gomock.Call
- func (mr *MockLayerFactoryMockRecorder) SliceLayers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockLayerFactoryMockRecorder) TarLayer(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockMetadataRestorer
- type MockMetadataRestorerMockRecorder
- type MockReference
- type MockReferenceMockRecorder
- func (mr *MockReferenceMockRecorder) Context() *gomock.Call
- func (mr *MockReferenceMockRecorder) Identifier() *gomock.Call
- func (mr *MockReferenceMockRecorder) Name() *gomock.Call
- func (mr *MockReferenceMockRecorder) Scope(arg0 interface{}) *gomock.Call
- func (mr *MockReferenceMockRecorder) String() *gomock.Call
- type MockRegistryHandler
- type MockRegistryHandlerMockRecorder
- type MockSBOMRestorer
- func (m *MockSBOMRestorer) EXPECT() *MockSBOMRestorerMockRecorder
- func (m *MockSBOMRestorer) RestoreFromCache(arg0 layer.Cache, arg1 string) error
- func (m *MockSBOMRestorer) RestoreFromPrevious(arg0 imgutil.Image, arg1 string) error
- func (m *MockSBOMRestorer) RestoreToBuildpackLayers(arg0 []buildpack.GroupElement) error
- type MockSBOMRestorerMockRecorder
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 ¶
func (m *MockBuildEnv) EXPECT() *MockBuildEnvMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBuildEnv) WithOverrides ¶
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 ¶
func (mr *MockBuildEnvMockRecorder) WithOverrides(arg0, arg1 interface{}) *gomock.Call
WithOverrides indicates an expected call of WithOverrides.
type MockBuildExecutor ¶
type MockBuildExecutor struct {
// contains filtered or unexported fields
}
MockBuildExecutor is a mock of BuildExecutor interface.
func NewMockBuildExecutor ¶
func NewMockBuildExecutor(ctrl *gomock.Controller) *MockBuildExecutor
NewMockBuildExecutor creates a new mock instance.
func (*MockBuildExecutor) Build ¶
func (m *MockBuildExecutor) Build(arg0 buildpack.BpDescriptor, arg1 buildpack.BuildInputs, arg2 log.Logger) (buildpack.BuildOutputs, error)
Build mocks base method.
func (*MockBuildExecutor) EXPECT ¶
func (m *MockBuildExecutor) EXPECT() *MockBuildExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBuildExecutorMockRecorder ¶
type MockBuildExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockBuildExecutorMockRecorder is the mock recorder for MockBuildExecutor.
func (*MockBuildExecutorMockRecorder) Build ¶
func (mr *MockBuildExecutorMockRecorder) Build(arg0, arg1, arg2 interface{}) *gomock.Call
Build indicates an expected call of Build.
type MockBuildpackAPIVerifier ¶
type MockBuildpackAPIVerifier struct {
// contains filtered or unexported fields
}
MockBuildpackAPIVerifier is a mock of BuildpackAPIVerifier interface.
func NewMockBuildpackAPIVerifier ¶
func NewMockBuildpackAPIVerifier(ctrl *gomock.Controller) *MockBuildpackAPIVerifier
NewMockBuildpackAPIVerifier creates a new mock instance.
func (*MockBuildpackAPIVerifier) EXPECT ¶
func (m *MockBuildpackAPIVerifier) EXPECT() *MockBuildpackAPIVerifierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBuildpackAPIVerifier) VerifyBuildpackAPI ¶
func (m *MockBuildpackAPIVerifier) VerifyBuildpackAPI(arg0, arg1, arg2 string, arg3 log.Logger) error
VerifyBuildpackAPI mocks base method.
type MockBuildpackAPIVerifierMockRecorder ¶
type MockBuildpackAPIVerifierMockRecorder struct {
// contains filtered or unexported fields
}
MockBuildpackAPIVerifierMockRecorder is the mock recorder for MockBuildpackAPIVerifier.
func (*MockBuildpackAPIVerifierMockRecorder) VerifyBuildpackAPI ¶
func (mr *MockBuildpackAPIVerifierMockRecorder) VerifyBuildpackAPI(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
VerifyBuildpackAPI indicates an expected call of VerifyBuildpackAPI.
type MockCacheHandler ¶
type MockCacheHandler struct {
// contains filtered or unexported fields
}
MockCacheHandler is a mock of CacheHandler interface.
func NewMockCacheHandler ¶
func NewMockCacheHandler(ctrl *gomock.Controller) *MockCacheHandler
NewMockCacheHandler creates a new mock instance.
func (*MockCacheHandler) EXPECT ¶
func (m *MockCacheHandler) EXPECT() *MockCacheHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCacheHandlerMockRecorder ¶
type MockCacheHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheHandlerMockRecorder is the mock recorder for MockCacheHandler.
func (*MockCacheHandlerMockRecorder) InitCache ¶
func (mr *MockCacheHandlerMockRecorder) InitCache(arg0, arg1, arg2 interface{}) *gomock.Call
InitCache indicates an expected call of InitCache.
type MockConfigHandler ¶
type MockConfigHandler struct {
// contains filtered or unexported fields
}
MockConfigHandler is a mock of ConfigHandler interface.
func NewMockConfigHandler ¶
func NewMockConfigHandler(ctrl *gomock.Controller) *MockConfigHandler
NewMockConfigHandler creates a new mock instance.
func (*MockConfigHandler) EXPECT ¶
func (m *MockConfigHandler) EXPECT() *MockConfigHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigHandler) ReadAnalyzed ¶
ReadAnalyzed mocks base method.
func (*MockConfigHandler) ReadGroup ¶
func (m *MockConfigHandler) ReadGroup(arg0 string) (buildpack.Group, error)
ReadGroup mocks base method.
type MockConfigHandlerMockRecorder ¶
type MockConfigHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigHandlerMockRecorder is the mock recorder for MockConfigHandler.
func (*MockConfigHandlerMockRecorder) ReadAnalyzed ¶
func (mr *MockConfigHandlerMockRecorder) ReadAnalyzed(arg0, arg1 interface{}) *gomock.Call
ReadAnalyzed indicates an expected call of ReadAnalyzed.
func (*MockConfigHandlerMockRecorder) ReadGroup ¶
func (mr *MockConfigHandlerMockRecorder) ReadGroup(arg0 interface{}) *gomock.Call
ReadGroup indicates an expected call of ReadGroup.
func (*MockConfigHandlerMockRecorder) ReadOrder ¶
func (mr *MockConfigHandlerMockRecorder) ReadOrder(arg0 interface{}) *gomock.Call
ReadOrder indicates an expected call of ReadOrder.
func (*MockConfigHandlerMockRecorder) ReadPlan ¶
func (mr *MockConfigHandlerMockRecorder) ReadPlan(arg0 interface{}) *gomock.Call
ReadPlan indicates an expected call of ReadPlan.
func (*MockConfigHandlerMockRecorder) ReadRun ¶
func (mr *MockConfigHandlerMockRecorder) ReadRun(arg0, arg1 interface{}) *gomock.Call
ReadRun indicates an expected call of ReadRun.
type MockDescriptor ¶
type MockDescriptor struct {
// contains filtered or unexported fields
}
MockDescriptor is a mock of Descriptor interface.
func NewMockDescriptor ¶
func NewMockDescriptor(ctrl *gomock.Controller) *MockDescriptor
NewMockDescriptor creates a new mock instance.
func (*MockDescriptor) EXPECT ¶
func (m *MockDescriptor) EXPECT() *MockDescriptorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDescriptor) Homepage ¶
func (m *MockDescriptor) Homepage() string
Homepage mocks base method.
func (*MockDescriptor) TargetsList ¶
func (m *MockDescriptor) TargetsList() []buildpack.TargetMetadata
TargetsList mocks base method.
type MockDescriptorMockRecorder ¶
type MockDescriptorMockRecorder struct {
// contains filtered or unexported fields
}
MockDescriptorMockRecorder is the mock recorder for MockDescriptor.
func (*MockDescriptorMockRecorder) API ¶
func (mr *MockDescriptorMockRecorder) API() *gomock.Call
API indicates an expected call of API.
func (*MockDescriptorMockRecorder) Homepage ¶
func (mr *MockDescriptorMockRecorder) Homepage() *gomock.Call
Homepage indicates an expected call of Homepage.
func (*MockDescriptorMockRecorder) TargetsList ¶
func (mr *MockDescriptorMockRecorder) TargetsList() *gomock.Call
TargetsList indicates an expected call of TargetsList.
type MockDetectExecutor ¶
type MockDetectExecutor struct {
// contains filtered or unexported fields
}
MockDetectExecutor is a mock of DetectExecutor interface.
func NewMockDetectExecutor ¶
func NewMockDetectExecutor(ctrl *gomock.Controller) *MockDetectExecutor
NewMockDetectExecutor creates a new mock instance.
func (*MockDetectExecutor) Detect ¶
func (m *MockDetectExecutor) Detect(arg0 buildpack.Descriptor, arg1 buildpack.DetectInputs, arg2 log.Logger) buildpack.DetectOutputs
Detect mocks base method.
func (*MockDetectExecutor) EXPECT ¶
func (m *MockDetectExecutor) EXPECT() *MockDetectExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDetectExecutorMockRecorder ¶
type MockDetectExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockDetectExecutorMockRecorder is the mock recorder for MockDetectExecutor.
func (*MockDetectExecutorMockRecorder) Detect ¶
func (mr *MockDetectExecutorMockRecorder) Detect(arg0, arg1, arg2 interface{}) *gomock.Call
Detect indicates an expected call of Detect.
type MockDetectResolver ¶
type MockDetectResolver struct {
// contains filtered or unexported fields
}
MockDetectResolver is a mock of DetectResolver interface.
func NewMockDetectResolver ¶
func NewMockDetectResolver(ctrl *gomock.Controller) *MockDetectResolver
NewMockDetectResolver creates a new mock instance.
func (*MockDetectResolver) EXPECT ¶
func (m *MockDetectResolver) EXPECT() *MockDetectResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDetectResolver) Resolve ¶
func (m *MockDetectResolver) Resolve(arg0 []buildpack.GroupElement, arg1 *sync.Map) ([]buildpack.GroupElement, []files.BuildPlanEntry, error)
Resolve mocks base method.
type MockDetectResolverMockRecorder ¶
type MockDetectResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockDetectResolverMockRecorder is the mock recorder for MockDetectResolver.
func (*MockDetectResolverMockRecorder) Resolve ¶
func (mr *MockDetectResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve.
type MockDirStore ¶
type MockDirStore struct {
// contains filtered or unexported fields
}
MockDirStore is a mock of DirStore interface.
func NewMockDirStore ¶
func NewMockDirStore(ctrl *gomock.Controller) *MockDirStore
NewMockDirStore creates a new mock instance.
func (*MockDirStore) EXPECT ¶
func (m *MockDirStore) EXPECT() *MockDirStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDirStore) Lookup ¶
func (m *MockDirStore) Lookup(arg0, arg1, arg2 string) (buildpack.Descriptor, error)
Lookup mocks base method.
func (*MockDirStore) LookupBp ¶
func (m *MockDirStore) LookupBp(arg0, arg1 string) (*buildpack.BpDescriptor, error)
LookupBp mocks base method.
func (*MockDirStore) LookupExt ¶
func (m *MockDirStore) LookupExt(arg0, arg1 string) (*buildpack.ExtDescriptor, error)
LookupExt mocks base method.
type MockDirStoreMockRecorder ¶
type MockDirStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockDirStoreMockRecorder is the mock recorder for MockDirStore.
func (*MockDirStoreMockRecorder) Lookup ¶
func (mr *MockDirStoreMockRecorder) Lookup(arg0, arg1, arg2 interface{}) *gomock.Call
Lookup indicates an expected call of Lookup.
func (*MockDirStoreMockRecorder) LookupBp ¶
func (mr *MockDirStoreMockRecorder) LookupBp(arg0, arg1 interface{}) *gomock.Call
LookupBp indicates an expected call of LookupBp.
func (*MockDirStoreMockRecorder) LookupExt ¶
func (mr *MockDirStoreMockRecorder) LookupExt(arg0, arg1 interface{}) *gomock.Call
LookupExt indicates an expected call of LookupExt.
type MockDockerfileApplier ¶
type MockDockerfileApplier struct {
// contains filtered or unexported fields
}
MockDockerfileApplier is a mock of DockerfileApplier interface.
func NewMockDockerfileApplier ¶
func NewMockDockerfileApplier(ctrl *gomock.Controller) *MockDockerfileApplier
NewMockDockerfileApplier creates a new mock instance.
func (*MockDockerfileApplier) Apply ¶
func (m *MockDockerfileApplier) Apply(arg0 extend.Dockerfile, arg1 v1.Image, arg2 extend.Options, arg3 log.Logger) (v1.Image, error)
Apply mocks base method.
func (*MockDockerfileApplier) Cleanup ¶
func (m *MockDockerfileApplier) Cleanup() error
Cleanup mocks base method.
func (*MockDockerfileApplier) EXPECT ¶
func (m *MockDockerfileApplier) EXPECT() *MockDockerfileApplierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDockerfileApplierMockRecorder ¶
type MockDockerfileApplierMockRecorder struct {
// contains filtered or unexported fields
}
MockDockerfileApplierMockRecorder is the mock recorder for MockDockerfileApplier.
func (*MockDockerfileApplierMockRecorder) Apply ¶
func (mr *MockDockerfileApplierMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockDockerfileApplierMockRecorder) Cleanup ¶
func (mr *MockDockerfileApplierMockRecorder) Cleanup() *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockDockerfileApplierMockRecorder) ImageFor ¶
func (mr *MockDockerfileApplierMockRecorder) ImageFor(arg0 interface{}) *gomock.Call
ImageFor indicates an expected call of ImageFor.
type MockGenerateExecutor ¶
type MockGenerateExecutor struct {
// contains filtered or unexported fields
}
MockGenerateExecutor is a mock of GenerateExecutor interface.
func NewMockGenerateExecutor ¶
func NewMockGenerateExecutor(ctrl *gomock.Controller) *MockGenerateExecutor
NewMockGenerateExecutor creates a new mock instance.
func (*MockGenerateExecutor) EXPECT ¶
func (m *MockGenerateExecutor) EXPECT() *MockGenerateExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGenerateExecutor) Generate ¶
func (m *MockGenerateExecutor) Generate(arg0 buildpack.ExtDescriptor, arg1 buildpack.GenerateInputs, arg2 log.Logger) (buildpack.GenerateOutputs, error)
Generate mocks base method.
type MockGenerateExecutorMockRecorder ¶
type MockGenerateExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockGenerateExecutorMockRecorder is the mock recorder for MockGenerateExecutor.
func (*MockGenerateExecutorMockRecorder) Generate ¶
func (mr *MockGenerateExecutorMockRecorder) Generate(arg0, arg1, arg2 interface{}) *gomock.Call
Generate indicates an expected call of Generate.
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface.
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance.
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler.
func (*MockHandlerMockRecorder) InitImage ¶
func (mr *MockHandlerMockRecorder) InitImage(arg0 interface{}) *gomock.Call
InitImage indicates an expected call of InitImage.
func (*MockHandlerMockRecorder) Kind ¶
func (mr *MockHandlerMockRecorder) Kind() *gomock.Call
Kind indicates an expected call of Kind.
type MockLayerFactory ¶
type MockLayerFactory struct {
// contains filtered or unexported fields
}
MockLayerFactory is a mock of LayerFactory interface.
func NewMockLayerFactory ¶
func NewMockLayerFactory(ctrl *gomock.Controller) *MockLayerFactory
NewMockLayerFactory creates a new mock instance.
func (*MockLayerFactory) DirLayer ¶
func (m *MockLayerFactory) DirLayer(arg0, arg1, arg2 string) (layers.Layer, error)
DirLayer mocks base method.
func (*MockLayerFactory) EXPECT ¶
func (m *MockLayerFactory) EXPECT() *MockLayerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLayerFactory) LauncherLayer ¶
func (m *MockLayerFactory) LauncherLayer(arg0 string) (layers.Layer, error)
LauncherLayer mocks base method.
func (*MockLayerFactory) ProcessTypesLayer ¶
ProcessTypesLayer mocks base method.
func (*MockLayerFactory) SliceLayers ¶
SliceLayers mocks base method.
type MockLayerFactoryMockRecorder ¶
type MockLayerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockLayerFactoryMockRecorder is the mock recorder for MockLayerFactory.
func (*MockLayerFactoryMockRecorder) DirLayer ¶
func (mr *MockLayerFactoryMockRecorder) DirLayer(arg0, arg1, arg2 interface{}) *gomock.Call
DirLayer indicates an expected call of DirLayer.
func (*MockLayerFactoryMockRecorder) LauncherLayer ¶
func (mr *MockLayerFactoryMockRecorder) LauncherLayer(arg0 interface{}) *gomock.Call
LauncherLayer indicates an expected call of LauncherLayer.
func (*MockLayerFactoryMockRecorder) ProcessTypesLayer ¶
func (mr *MockLayerFactoryMockRecorder) ProcessTypesLayer(arg0 interface{}) *gomock.Call
ProcessTypesLayer indicates an expected call of ProcessTypesLayer.
func (*MockLayerFactoryMockRecorder) SliceLayers ¶
func (mr *MockLayerFactoryMockRecorder) SliceLayers(arg0, arg1 interface{}) *gomock.Call
SliceLayers indicates an expected call of SliceLayers.
func (*MockLayerFactoryMockRecorder) TarLayer ¶ added in v0.19.0
func (mr *MockLayerFactoryMockRecorder) TarLayer(arg0, arg1, arg2 interface{}) *gomock.Call
TarLayer indicates an expected call of TarLayer.
type MockMetadataRestorer ¶
type MockMetadataRestorer struct {
// contains filtered or unexported fields
}
MockMetadataRestorer is a mock of MetadataRestorer interface.
func NewMockMetadataRestorer ¶
func NewMockMetadataRestorer(ctrl *gomock.Controller) *MockMetadataRestorer
NewMockMetadataRestorer creates a new mock instance.
func (*MockMetadataRestorer) EXPECT ¶
func (m *MockMetadataRestorer) EXPECT() *MockMetadataRestorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetadataRestorer) Restore ¶
func (m *MockMetadataRestorer) Restore(arg0 []buildpack.GroupElement, arg1 files.LayersMetadata, arg2 platform.CacheMetadata, arg3 layer.SHAStore) error
Restore mocks base method.
type MockMetadataRestorerMockRecorder ¶
type MockMetadataRestorerMockRecorder struct {
// contains filtered or unexported fields
}
MockMetadataRestorerMockRecorder is the mock recorder for MockMetadataRestorer.
func (*MockMetadataRestorerMockRecorder) Restore ¶
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 ¶
func (m *MockReference) EXPECT() *MockReferenceMockRecorder
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) Scope ¶
func (m *MockReference) Scope(arg0 string) string
Scope 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 ¶
func (mr *MockReferenceMockRecorder) Name() *gomock.Call
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 ¶
type MockRegistryHandler struct {
// contains filtered or unexported fields
}
MockRegistryHandler is a mock of RegistryHandler interface.
func NewMockRegistryHandler ¶
func NewMockRegistryHandler(ctrl *gomock.Controller) *MockRegistryHandler
NewMockRegistryHandler creates a new mock instance.
func (*MockRegistryHandler) EXPECT ¶
func (m *MockRegistryHandler) EXPECT() *MockRegistryHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRegistryHandler) EnsureReadAccess ¶
func (m *MockRegistryHandler) EnsureReadAccess(arg0 ...string) error
EnsureReadAccess mocks base method.
func (*MockRegistryHandler) EnsureWriteAccess ¶
func (m *MockRegistryHandler) EnsureWriteAccess(arg0 ...string) error
EnsureWriteAccess mocks base method.
type MockRegistryHandlerMockRecorder ¶
type MockRegistryHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryHandlerMockRecorder is the mock recorder for MockRegistryHandler.
func (*MockRegistryHandlerMockRecorder) EnsureReadAccess ¶
func (mr *MockRegistryHandlerMockRecorder) EnsureReadAccess(arg0 ...interface{}) *gomock.Call
EnsureReadAccess indicates an expected call of EnsureReadAccess.
func (*MockRegistryHandlerMockRecorder) EnsureWriteAccess ¶
func (mr *MockRegistryHandlerMockRecorder) EnsureWriteAccess(arg0 ...interface{}) *gomock.Call
EnsureWriteAccess indicates an expected call of EnsureWriteAccess.
type MockSBOMRestorer ¶
type MockSBOMRestorer struct {
// contains filtered or unexported fields
}
MockSBOMRestorer is a mock of SBOMRestorer interface.
func NewMockSBOMRestorer ¶
func NewMockSBOMRestorer(ctrl *gomock.Controller) *MockSBOMRestorer
NewMockSBOMRestorer creates a new mock instance.
func (*MockSBOMRestorer) EXPECT ¶
func (m *MockSBOMRestorer) EXPECT() *MockSBOMRestorerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSBOMRestorer) RestoreFromCache ¶
func (m *MockSBOMRestorer) RestoreFromCache(arg0 layer.Cache, arg1 string) error
RestoreFromCache mocks base method.
func (*MockSBOMRestorer) RestoreFromPrevious ¶
func (m *MockSBOMRestorer) RestoreFromPrevious(arg0 imgutil.Image, arg1 string) error
RestoreFromPrevious mocks base method.
func (*MockSBOMRestorer) RestoreToBuildpackLayers ¶
func (m *MockSBOMRestorer) RestoreToBuildpackLayers(arg0 []buildpack.GroupElement) error
RestoreToBuildpackLayers mocks base method.
type MockSBOMRestorerMockRecorder ¶
type MockSBOMRestorerMockRecorder struct {
// contains filtered or unexported fields
}
MockSBOMRestorerMockRecorder is the mock recorder for MockSBOMRestorer.
func (*MockSBOMRestorerMockRecorder) RestoreFromCache ¶
func (mr *MockSBOMRestorerMockRecorder) RestoreFromCache(arg0, arg1 interface{}) *gomock.Call
RestoreFromCache indicates an expected call of RestoreFromCache.
func (*MockSBOMRestorerMockRecorder) RestoreFromPrevious ¶
func (mr *MockSBOMRestorerMockRecorder) RestoreFromPrevious(arg0, arg1 interface{}) *gomock.Call
RestoreFromPrevious indicates an expected call of RestoreFromPrevious.
func (*MockSBOMRestorerMockRecorder) RestoreToBuildpackLayers ¶
func (mr *MockSBOMRestorerMockRecorder) RestoreToBuildpackLayers(arg0 interface{}) *gomock.Call
RestoreToBuildpackLayers indicates an expected call of RestoreToBuildpackLayers.
Source Files ¶
- build_env.go
- build_executor.go
- buildpack_api_verifier.go
- cache_handler.go
- component_descriptor.go
- config_handler.go
- detect_executor.go
- detect_resolver.go
- dir_store.go
- dockerfile_applier.go
- generate_executor.go
- image_handler.go
- layer_factory.go
- metadata_restorer.go
- ref.go
- registry_handler.go
- sbom_restorer.go