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.
Index ¶
- type MockBuildEnv
- type MockBuildEnvMockRecorder
- type MockBuildpack
- func (m *MockBuildpack) Build(arg0 buildpack.Plan, arg1 buildpack.BuildConfig) (buildpack.BuildResult, error)
- func (m *MockBuildpack) ConfigFile() *buildpack.Descriptor
- func (m *MockBuildpack) Detect(arg0 *buildpack.DetectConfig) buildpack.DetectRun
- func (m *MockBuildpack) EXPECT() *MockBuildpackMockRecorder
- type MockBuildpackMockRecorder
- type MockBuildpackStore
- type MockBuildpackStoreMockRecorder
- type MockLayerFactory
- func (m *MockLayerFactory) DirLayer(arg0, arg1 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)
- type MockLayerFactoryMockRecorder
- func (mr *MockLayerFactoryMockRecorder) DirLayer(arg0, arg1 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
- 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 MockResolver
- type MockResolverMockRecorder
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) WithPlatform ¶
func (m *MockBuildEnv) WithPlatform(arg0 string) ([]string, error)
WithPlatform 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) WithPlatform ¶
func (mr *MockBuildEnvMockRecorder) WithPlatform(arg0 interface{}) *gomock.Call
WithPlatform indicates an expected call of WithPlatform
type MockBuildpack ¶ added in v0.10.0
type MockBuildpack struct {
// contains filtered or unexported fields
}
MockBuildpack is a mock of Buildpack interface
func NewMockBuildpack ¶ added in v0.10.0
func NewMockBuildpack(ctrl *gomock.Controller) *MockBuildpack
NewMockBuildpack creates a new mock instance
func (*MockBuildpack) Build ¶ added in v0.10.0
func (m *MockBuildpack) Build(arg0 buildpack.Plan, arg1 buildpack.BuildConfig) (buildpack.BuildResult, error)
Build mocks base method
func (*MockBuildpack) ConfigFile ¶ added in v0.11.0
func (m *MockBuildpack) ConfigFile() *buildpack.Descriptor
ConfigFile mocks base method
func (*MockBuildpack) Detect ¶ added in v0.11.0
func (m *MockBuildpack) Detect(arg0 *buildpack.DetectConfig) buildpack.DetectRun
Detect mocks base method
func (*MockBuildpack) EXPECT ¶ added in v0.10.0
func (m *MockBuildpack) EXPECT() *MockBuildpackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBuildpackMockRecorder ¶ added in v0.10.0
type MockBuildpackMockRecorder struct {
// contains filtered or unexported fields
}
MockBuildpackMockRecorder is the mock recorder for MockBuildpack
func (*MockBuildpackMockRecorder) Build ¶ added in v0.10.0
func (mr *MockBuildpackMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockBuildpackMockRecorder) ConfigFile ¶ added in v0.11.0
func (mr *MockBuildpackMockRecorder) ConfigFile() *gomock.Call
ConfigFile indicates an expected call of ConfigFile
func (*MockBuildpackMockRecorder) Detect ¶ added in v0.11.0
func (mr *MockBuildpackMockRecorder) Detect(arg0 interface{}) *gomock.Call
Detect indicates an expected call of Detect
type MockBuildpackStore ¶ added in v0.10.0
type MockBuildpackStore struct {
// contains filtered or unexported fields
}
MockBuildpackStore is a mock of BuildpackStore interface
func NewMockBuildpackStore ¶ added in v0.10.0
func NewMockBuildpackStore(ctrl *gomock.Controller) *MockBuildpackStore
NewMockBuildpackStore creates a new mock instance
func (*MockBuildpackStore) EXPECT ¶ added in v0.10.0
func (m *MockBuildpackStore) EXPECT() *MockBuildpackStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBuildpackStoreMockRecorder ¶ added in v0.10.0
type MockBuildpackStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockBuildpackStoreMockRecorder is the mock recorder for MockBuildpackStore
func (*MockBuildpackStoreMockRecorder) Lookup ¶ added in v0.10.0
func (mr *MockBuildpackStoreMockRecorder) Lookup(arg0, arg1 interface{}) *gomock.Call
Lookup indicates an expected call of Lookup
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
func (m *MockLayerFactory) EXPECT() *MockLayerFactoryMockRecorder
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
ProcessTypesLayer mocks base method
func (*MockLayerFactory) SliceLayers ¶ added in v0.8.1
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 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 MockResolver ¶ added in v0.11.0
type MockResolver struct {
// contains filtered or unexported fields
}
MockResolver is a mock of Resolver interface
func NewMockResolver ¶ added in v0.11.0
func NewMockResolver(ctrl *gomock.Controller) *MockResolver
NewMockResolver creates a new mock instance
func (*MockResolver) EXPECT ¶ added in v0.11.0
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockResolver) Resolve ¶ added in v0.11.0
func (m *MockResolver) Resolve(arg0 []buildpack.GroupBuildpack, arg1 *sync.Map) ([]buildpack.GroupBuildpack, []platform.BuildPlanEntry, error)
Resolve mocks base method
type MockResolverMockRecorder ¶ added in v0.11.0
type MockResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockResolverMockRecorder is the mock recorder for MockResolver
func (*MockResolverMockRecorder) Resolve ¶ added in v0.11.0
func (mr *MockResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve