sourceproviders_test

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package sourceproviders_test is a generated GoMock package.

Index

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL