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) AddManifest(arg0 context.Context, arg1 client.ManifestAddOptions) error
- func (m *MockPackClient) AnnotateManifest(arg0 context.Context, arg1 client.ManifestAnnotateOptions) error
- 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) CreateManifest(arg0 context.Context, arg1 client.CreateManifestOptions) error
- func (m *MockPackClient) DeleteManifest(arg0 []string) 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) InspectManifest(arg0 string) 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) PackageExtension(arg0 context.Context, arg1 client.PackageBuildpackOptions) error
- func (m *MockPackClient) PullBuildpack(arg0 context.Context, arg1 client.PullBuildpackOptions) error
- func (m *MockPackClient) PushManifest(arg0 client.PushManifestOptions) 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) RemoveManifest(arg0 string, arg1 []string) error
- func (m *MockPackClient) YankBuildpack(arg0 client.YankBuildpackOptions) error
- type MockPackClientMockRecorder
- func (mr *MockPackClientMockRecorder) AddManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) AnnotateManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) CreateBuilder(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) CreateManifest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) DeleteManifest(arg0 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) InspectManifest(arg0 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) NewBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PackageBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PackageExtension(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PullBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) PushManifest(arg0 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) Rebase(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) RegisterBuildpack(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPackClientMockRecorder) RemoveManifest(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) AddManifest ¶ added in v0.34.0
func (m *MockPackClient) AddManifest(arg0 context.Context, arg1 client.ManifestAddOptions) error
AddManifest mocks base method.
func (*MockPackClient) AnnotateManifest ¶ added in v0.34.0
func (m *MockPackClient) AnnotateManifest(arg0 context.Context, arg1 client.ManifestAnnotateOptions) error
AnnotateManifest mocks base method.
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) CreateManifest ¶ added in v0.34.0
func (m *MockPackClient) CreateManifest(arg0 context.Context, arg1 client.CreateManifestOptions) error
CreateManifest mocks base method.
func (*MockPackClient) DeleteManifest ¶ added in v0.34.0
func (m *MockPackClient) DeleteManifest(arg0 []string) error
DeleteManifest 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) InspectManifest ¶ added in v0.34.0
func (m *MockPackClient) InspectManifest(arg0 string) error
InspectManifest 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) PackageExtension ¶ added in v0.30.0
func (m *MockPackClient) PackageExtension(arg0 context.Context, arg1 client.PackageBuildpackOptions) error
PackageExtension 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) PushManifest ¶ added in v0.34.0
func (m *MockPackClient) PushManifest(arg0 client.PushManifestOptions) error
PushManifest 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) RemoveManifest ¶ added in v0.34.0
func (m *MockPackClient) RemoveManifest(arg0 string, arg1 []string) error
RemoveManifest 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) AddManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) AddManifest(arg0, arg1 interface{}) *gomock.Call
AddManifest indicates an expected call of AddManifest.
func (*MockPackClientMockRecorder) AnnotateManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) AnnotateManifest(arg0, arg1 interface{}) *gomock.Call
AnnotateManifest indicates an expected call of AnnotateManifest.
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) CreateManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) CreateManifest(arg0, arg1 interface{}) *gomock.Call
CreateManifest indicates an expected call of CreateManifest.
func (*MockPackClientMockRecorder) DeleteManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) DeleteManifest(arg0 interface{}) *gomock.Call
DeleteManifest indicates an expected call of DeleteManifest.
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) InspectManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) InspectManifest(arg0 interface{}) *gomock.Call
InspectManifest indicates an expected call of InspectManifest.
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) PackageExtension ¶ added in v0.30.0
func (mr *MockPackClientMockRecorder) PackageExtension(arg0, arg1 interface{}) *gomock.Call
PackageExtension indicates an expected call of PackageExtension.
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) PushManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) PushManifest(arg0 interface{}) *gomock.Call
PushManifest indicates an expected call of PushManifest.
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) RemoveManifest ¶ added in v0.34.0
func (mr *MockPackClientMockRecorder) RemoveManifest(arg0, arg1 interface{}) *gomock.Call
RemoveManifest indicates an expected call of RemoveManifest.
func (*MockPackClientMockRecorder) YankBuildpack ¶ added in v0.13.0
func (mr *MockPackClientMockRecorder) YankBuildpack(arg0 interface{}) *gomock.Call
YankBuildpack indicates an expected call of YankBuildpack.