Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockPluginService
- func (m *MockPluginService) Build(ctx context.Context, opts plugins.BuildOptions) (*plugins.BuildResult, error)
- func (m *MockPluginService) DeleteBuild(ctx context.Context, tag string) error
- func (m *MockPluginService) EXPECT() *MockPluginServiceMockRecorder
- func (m *MockPluginService) GetContent(ctx context.Context, opts plugins.ContentOptions) (*plugins.PluginContent, error)
- func (m *MockPluginService) ListBuilds(ctx context.Context) ([]plugins.LocalBuild, error)
- func (m *MockPluginService) Push(ctx context.Context, opts plugins.PushOptions) error
- func (m *MockPluginService) Validate(ctx context.Context, path string) (*plugins.ValidationResult, error)
- type MockPluginServiceMockRecorder
- func (mr *MockPluginServiceMockRecorder) Build(ctx, opts any) *gomock.Call
- func (mr *MockPluginServiceMockRecorder) DeleteBuild(ctx, tag any) *gomock.Call
- func (mr *MockPluginServiceMockRecorder) GetContent(ctx, opts any) *gomock.Call
- func (mr *MockPluginServiceMockRecorder) ListBuilds(ctx any) *gomock.Call
- func (mr *MockPluginServiceMockRecorder) Push(ctx, opts any) *gomock.Call
- func (mr *MockPluginServiceMockRecorder) Validate(ctx, path any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPluginService ¶
type MockPluginService struct {
// contains filtered or unexported fields
}
MockPluginService is a mock of PluginService interface.
func NewMockPluginService ¶
func NewMockPluginService(ctrl *gomock.Controller) *MockPluginService
NewMockPluginService creates a new mock instance.
func (*MockPluginService) Build ¶
func (m *MockPluginService) Build(ctx context.Context, opts plugins.BuildOptions) (*plugins.BuildResult, error)
Build mocks base method.
func (*MockPluginService) DeleteBuild ¶
func (m *MockPluginService) DeleteBuild(ctx context.Context, tag string) error
DeleteBuild mocks base method.
func (*MockPluginService) EXPECT ¶
func (m *MockPluginService) EXPECT() *MockPluginServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginService) GetContent ¶
func (m *MockPluginService) GetContent(ctx context.Context, opts plugins.ContentOptions) (*plugins.PluginContent, error)
GetContent mocks base method.
func (*MockPluginService) ListBuilds ¶
func (m *MockPluginService) ListBuilds(ctx context.Context) ([]plugins.LocalBuild, error)
ListBuilds mocks base method.
func (*MockPluginService) Push ¶
func (m *MockPluginService) Push(ctx context.Context, opts plugins.PushOptions) error
Push mocks base method.
func (*MockPluginService) Validate ¶
func (m *MockPluginService) Validate(ctx context.Context, path string) (*plugins.ValidationResult, error)
Validate mocks base method.
type MockPluginServiceMockRecorder ¶
type MockPluginServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginServiceMockRecorder is the mock recorder for MockPluginService.
func (*MockPluginServiceMockRecorder) Build ¶
func (mr *MockPluginServiceMockRecorder) Build(ctx, opts any) *gomock.Call
Build indicates an expected call of Build.
func (*MockPluginServiceMockRecorder) DeleteBuild ¶
func (mr *MockPluginServiceMockRecorder) DeleteBuild(ctx, tag any) *gomock.Call
DeleteBuild indicates an expected call of DeleteBuild.
func (*MockPluginServiceMockRecorder) GetContent ¶
func (mr *MockPluginServiceMockRecorder) GetContent(ctx, opts any) *gomock.Call
GetContent indicates an expected call of GetContent.
func (*MockPluginServiceMockRecorder) ListBuilds ¶
func (mr *MockPluginServiceMockRecorder) ListBuilds(ctx any) *gomock.Call
ListBuilds indicates an expected call of ListBuilds.