downloader_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: 4 Imported by: 0

Documentation

Overview

Package downloader_test is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDownloader

type MockDownloader struct {
	// contains filtered or unexported fields
}

MockDownloader is a mock of Downloader interface.

func NewMockDownloader

func NewMockDownloader(ctrl *gomock.Controller) *MockDownloader

NewMockDownloader creates a new mock instance.

func (*MockDownloader) Download

func (m *MockDownloader) Download(ctx context.Context, uri, destPath string) error

Download mocks base method.

func (*MockDownloader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDownloader) FetchStream

func (m *MockDownloader) FetchStream(ctx context.Context, uri string) (io.ReadCloser, error)

FetchStream mocks base method.

type MockDownloaderMockRecorder

type MockDownloaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockDownloaderMockRecorder is the mock recorder for MockDownloader.

func (*MockDownloaderMockRecorder) Download

func (mr *MockDownloaderMockRecorder) Download(ctx, uri, destPath any) *gomock.Call

Download indicates an expected call of Download.

func (*MockDownloaderMockRecorder) FetchStream

func (mr *MockDownloaderMockRecorder) FetchStream(ctx, uri any) *gomock.Call

FetchStream indicates an expected call of FetchStream.

Jump to

Keyboard shortcuts

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