Documentation ¶
Overview ¶
Package testmocks is a generated GoMock package.
Package testmocks is a generated GoMock package.
Index ¶
- type MockInspectImageWriterFactory
- type MockInspectImageWriterFactoryMockRecorder
- type MockPackClient
- func (m *MockPackClient) Build(arg0 context.Context, arg1 client.BuildOptions) error
- func (m *MockPackClient) CreateBuilder(arg0 context.Context, arg1 client.CreateBuilderOptions) error
- func (m *MockPackClient) DownloadSBOM(arg0 string, arg1 client.DownloadSBOMOptions) error
- func (m *MockPackClient) EXPECT() *MockPackClientMockRecorder
- func (m *MockPackClient) InspectBuilder(arg0 string, arg1 bool, arg2 ...client.BuilderInspectionModifier) (*client.BuilderInfo, error)
- func (m *MockPackClient) InspectBuildpack(arg0 client.InspectBuildpackOptions) (*client.BuildpackInfo, error)
- func (m *MockPackClient) InspectExtension(arg0 client.InspectExtensionOptions) (*client.ExtensionInfo, error)
- func (m *MockPackClient) InspectImage(arg0 string, arg1 bool) (*client.ImageInfo, error)
- func (m *MockPackClient) NewBuildpack(arg0 context.Context, arg1 client.NewBuildpackOptions) error
- func (m *MockPackClient) PackageBuildpack(arg0 context.Context, arg1 client.PackageBuildpackOptions) error
- func (m *MockPackClient) PullBuildpack(arg0 context.Context, arg1 client.PullBuildpackOptions) error
- func (m *MockPackClient) Rebase(arg0 context.Context, arg1 client.RebaseOptions) error
- func (m *MockPackClient) RegisterBuildpack(arg0 context.Context, arg1 client.RegisterBuildpackOptions) error
- func (m *MockPackClient) YankBuildpack(arg0 client.YankBuildpackOptions) error
- type MockPackClientMockRecorder
- func (mr *MockPackClientMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) CreateBuilder(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) DownloadSBOM(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) InspectBuilder(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) InspectBuildpack(arg0 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) InspectExtension(arg0 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) InspectImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) NewBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PackageBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PullBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) Rebase(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) RegisterBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) YankBuildpack(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInspectImageWriterFactory ¶ added in v0.16.0
type MockInspectImageWriterFactory struct {
// contains filtered or unexported fields
}
MockInspectImageWriterFactory is a mock of InspectImageWriterFactory interface.
func NewMockInspectImageWriterFactory ¶ added in v0.16.0
func NewMockInspectImageWriterFactory(ctrl *gomock.Controller) *MockInspectImageWriterFactory
NewMockInspectImageWriterFactory creates a new mock instance.
func (*MockInspectImageWriterFactory) EXPECT ¶ added in v0.16.0
func (m *MockInspectImageWriterFactory) EXPECT() *MockInspectImageWriterFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInspectImageWriterFactory) Writer ¶ added in v0.16.0
func (m *MockInspectImageWriterFactory) Writer(arg0 string, arg1 bool) (writer.InspectImageWriter, error)
Writer mocks base method.
type MockInspectImageWriterFactoryMockRecorder ¶ added in v0.16.0
type MockInspectImageWriterFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInspectImageWriterFactoryMockRecorder is the mock recorder for MockInspectImageWriterFactory.
func (*MockInspectImageWriterFactoryMockRecorder) Writer ¶ added in v0.16.0
func (mr *MockInspectImageWriterFactoryMockRecorder) Writer(arg0, arg1 interface{}) *gomock.Call
Writer indicates an expected call of Writer.
type MockPackClient ¶
type MockPackClient struct {
// contains filtered or unexported fields
}
MockPackClient is a mock of PackClient interface.
func NewMockPackClient ¶
func NewMockPackClient(ctrl *gomock.Controller) *MockPackClient
NewMockPackClient creates a new mock instance.
func (*MockPackClient) Build ¶
func (m *MockPackClient) Build(arg0 context.Context, arg1 client.BuildOptions) error
Build mocks base method.
func (*MockPackClient) CreateBuilder ¶
func (m *MockPackClient) CreateBuilder(arg0 context.Context, arg1 client.CreateBuilderOptions) error
CreateBuilder mocks base method.
func (*MockPackClient) DownloadSBOM ¶ added in v0.24.0
func (m *MockPackClient) DownloadSBOM(arg0 string, arg1 client.DownloadSBOMOptions) error
DownloadSBOM mocks base method.
func (*MockPackClient) EXPECT ¶
func (m *MockPackClient) EXPECT() *MockPackClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPackClient) InspectBuilder ¶
func (m *MockPackClient) InspectBuilder(arg0 string, arg1 bool, arg2 ...client.BuilderInspectionModifier) (*client.BuilderInfo, error)
InspectBuilder mocks base method.
func (*MockPackClient) InspectBuildpack ¶ added in v0.14.0
func (m *MockPackClient) InspectBuildpack(arg0 client.InspectBuildpackOptions) (*client.BuildpackInfo, error)
InspectBuildpack mocks base method.
func (*MockPackClient) InspectExtension ¶ added in v0.29.0
func (m *MockPackClient) InspectExtension(arg0 client.InspectExtensionOptions) (*client.ExtensionInfo, error)
InspectExtension mocks base method.
func (*MockPackClient) InspectImage ¶
InspectImage mocks base method.
func (*MockPackClient) NewBuildpack ¶ added in v0.18.0
func (m *MockPackClient) NewBuildpack(arg0 context.Context, arg1 client.NewBuildpackOptions) error
NewBuildpack mocks base method.
func (*MockPackClient) PackageBuildpack ¶ added in v0.9.0
func (m *MockPackClient) PackageBuildpack(arg0 context.Context, arg1 client.PackageBuildpackOptions) error
PackageBuildpack mocks base method.
func (*MockPackClient) PullBuildpack ¶ added in v0.16.0
func (m *MockPackClient) PullBuildpack(arg0 context.Context, arg1 client.PullBuildpackOptions) error
PullBuildpack mocks base method.
func (*MockPackClient) Rebase ¶
func (m *MockPackClient) Rebase(arg0 context.Context, arg1 client.RebaseOptions) error
Rebase mocks base method.
func (*MockPackClient) RegisterBuildpack ¶ added in v0.13.0
func (m *MockPackClient) RegisterBuildpack(arg0 context.Context, arg1 client.RegisterBuildpackOptions) error
RegisterBuildpack mocks base method.
func (*MockPackClient) YankBuildpack ¶ added in v0.13.0
func (m *MockPackClient) YankBuildpack(arg0 client.YankBuildpackOptions) error
YankBuildpack mocks base method.
type MockPackClientMockRecorder ¶
type MockPackClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPackClientMockRecorder is the mock recorder for MockPackClient.
func (*MockPackClientMockRecorder) Build ¶
func (mr *MockPackClientMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build.
func (*MockPackClientMockRecorder) CreateBuilder ¶
func (mr *MockPackClientMockRecorder) CreateBuilder(arg0, arg1 interface{}) *gomock.Call
CreateBuilder indicates an expected call of CreateBuilder.
func (*MockPackClientMockRecorder) DownloadSBOM ¶ added in v0.24.0
func (mr *MockPackClientMockRecorder) DownloadSBOM(arg0, arg1 interface{}) *gomock.Call
DownloadSBOM indicates an expected call of DownloadSBOM.
func (*MockPackClientMockRecorder) InspectBuilder ¶
func (mr *MockPackClientMockRecorder) InspectBuilder(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
InspectBuilder indicates an expected call of InspectBuilder.
func (*MockPackClientMockRecorder) InspectBuildpack ¶ added in v0.14.0
func (mr *MockPackClientMockRecorder) InspectBuildpack(arg0 interface{}) *gomock.Call
InspectBuildpack indicates an expected call of InspectBuildpack.
func (*MockPackClientMockRecorder) InspectExtension ¶ added in v0.29.0
func (mr *MockPackClientMockRecorder) InspectExtension(arg0 interface{}) *gomock.Call
InspectExtension indicates an expected call of InspectExtension.
func (*MockPackClientMockRecorder) InspectImage ¶
func (mr *MockPackClientMockRecorder) InspectImage(arg0, arg1 interface{}) *gomock.Call
InspectImage indicates an expected call of InspectImage.
func (*MockPackClientMockRecorder) NewBuildpack ¶ added in v0.18.0
func (mr *MockPackClientMockRecorder) NewBuildpack(arg0, arg1 interface{}) *gomock.Call
NewBuildpack indicates an expected call of NewBuildpack.
func (*MockPackClientMockRecorder) PackageBuildpack ¶ added in v0.9.0
func (mr *MockPackClientMockRecorder) PackageBuildpack(arg0, arg1 interface{}) *gomock.Call
PackageBuildpack indicates an expected call of PackageBuildpack.
func (*MockPackClientMockRecorder) PullBuildpack ¶ added in v0.16.0
func (mr *MockPackClientMockRecorder) PullBuildpack(arg0, arg1 interface{}) *gomock.Call
PullBuildpack indicates an expected call of PullBuildpack.
func (*MockPackClientMockRecorder) Rebase ¶
func (mr *MockPackClientMockRecorder) Rebase(arg0, arg1 interface{}) *gomock.Call
Rebase indicates an expected call of Rebase.
func (*MockPackClientMockRecorder) RegisterBuildpack ¶ added in v0.13.0
func (mr *MockPackClientMockRecorder) RegisterBuildpack(arg0, arg1 interface{}) *gomock.Call
RegisterBuildpack indicates an expected call of RegisterBuildpack.
func (*MockPackClientMockRecorder) YankBuildpack ¶ added in v0.13.0
func (mr *MockPackClientMockRecorder) YankBuildpack(arg0 interface{}) *gomock.Call
YankBuildpack indicates an expected call of YankBuildpack.