remoteresource_mock

package
Version: v0.0.0-...-a65a94f Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package remoteresource_mock has mock functions for remoteresource package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDownloadResult

func NewDownloadResult(files []string) *remoteresource.DownloadResult

func NewEmptyDownloadResult

func NewEmptyDownloadResult() *remoteresource.DownloadResult

Types

type RemoteResourceMock

type RemoteResourceMock struct {
	mock.Mock
}

func (RemoteResourceMock) DownloadRemoteResource

func (resourceMock RemoteResourceMock) DownloadRemoteResource(filesys filemanager.FileSystem, destinationDir string) (err error, result *remoteresource.DownloadResult)

func (RemoteResourceMock) ValidateLocationInfo

func (resourceMock RemoteResourceMock) ValidateLocationInfo() (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL