Documentation
¶
Overview ¶
Package sourceproviders_test is a generated GoMock package.
Index ¶
- type MockSourceManager
- func (m *MockSourceManager) EXPECT() *MockSourceManagerMockRecorder
- func (m *MockSourceManager) FetchComponent(ctx context.Context, component components.Component, destDirPath string) error
- func (m *MockSourceManager) FetchFiles(ctx context.Context, component components.Component, destDirPath string) error
- type MockSourceManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSourceManager ¶
type MockSourceManager struct {
// contains filtered or unexported fields
}
MockSourceManager is a mock of SourceManager interface.
func NewMockSourceManager ¶
func NewMockSourceManager(ctrl *gomock.Controller) *MockSourceManager
NewMockSourceManager creates a new mock instance.
func NewNoOpMockSourceManager ¶
func NewNoOpMockSourceManager(ctrl *gomock.Controller) *MockSourceManager
NewNoOpMockSourceManager creates a new instance of MockSourceManager that never errors and does not create any files on the filesystem.
func (*MockSourceManager) EXPECT ¶
func (m *MockSourceManager) EXPECT() *MockSourceManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSourceManager) FetchComponent ¶
func (m *MockSourceManager) FetchComponent(ctx context.Context, component components.Component, destDirPath string) error
FetchComponent mocks base method.
func (*MockSourceManager) FetchFiles ¶
func (m *MockSourceManager) FetchFiles(ctx context.Context, component components.Component, destDirPath string) error
FetchFiles mocks base method.
type MockSourceManagerMockRecorder ¶
type MockSourceManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockSourceManagerMockRecorder is the mock recorder for MockSourceManager.
func (*MockSourceManagerMockRecorder) FetchComponent ¶
func (mr *MockSourceManagerMockRecorder) FetchComponent(ctx, component, destDirPath any) *gomock.Call
FetchComponent indicates an expected call of FetchComponent.
func (*MockSourceManagerMockRecorder) FetchFiles ¶
func (mr *MockSourceManagerMockRecorder) FetchFiles(ctx, component, destDirPath any) *gomock.Call
FetchFiles indicates an expected call of FetchFiles.