sourceproviders_test

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 5 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, opts ...sourceproviders.FetchComponentOption) 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.

func (*MockSourceManager) ResolveSourceIdentity added in v0.2.0

func (m *MockSourceManager) ResolveSourceIdentity(ctx context.Context, component components.Component) (string, error)

ResolveSourceIdentity 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, opts ...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.

func (*MockSourceManagerMockRecorder) ResolveSourceIdentity added in v0.2.0

func (mr *MockSourceManagerMockRecorder) ResolveSourceIdentity(ctx, component any) *gomock.Call

ResolveSourceIdentity indicates an expected call of ResolveSourceIdentity.

Jump to

Keyboard shortcuts

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