fakes

package
v0.0.0-...-afc9d75 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeApi

type FakeApi struct {
	GetLatestProductFileStub func(productName string, fileType string) (*resource.ProductFile, error)

	GetProductFileForVersionStub func(productName, version string, fileType string) (*resource.ProductFile, error)

	GetVersionsForProductStub func(productName string) ([]string, error)

	DownloadStub func(productFile *resource.ProductFile, fileName string) error
	// contains filtered or unexported fields
}

func (*FakeApi) Download

func (fake *FakeApi) Download(productFile *resource.ProductFile, fileName string) error

func (*FakeApi) DownloadArgsForCall

func (fake *FakeApi) DownloadArgsForCall(i int) (*resource.ProductFile, string)

func (*FakeApi) DownloadCallCount

func (fake *FakeApi) DownloadCallCount() int

func (*FakeApi) DownloadReturns

func (fake *FakeApi) DownloadReturns(result1 error)

func (*FakeApi) GetLatestProductFile

func (fake *FakeApi) GetLatestProductFile(productName string, fileType string) (*resource.ProductFile, error)

func (*FakeApi) GetLatestProductFileArgsForCall

func (fake *FakeApi) GetLatestProductFileArgsForCall(i int) (string, string)

func (*FakeApi) GetLatestProductFileCallCount

func (fake *FakeApi) GetLatestProductFileCallCount() int

func (*FakeApi) GetLatestProductFileReturns

func (fake *FakeApi) GetLatestProductFileReturns(result1 *resource.ProductFile, result2 error)

func (*FakeApi) GetProductFileForVersion

func (fake *FakeApi) GetProductFileForVersion(productName string, version string, fileType string) (*resource.ProductFile, error)

func (*FakeApi) GetProductFileForVersionArgsForCall

func (fake *FakeApi) GetProductFileForVersionArgsForCall(i int) (string, string, string)

func (*FakeApi) GetProductFileForVersionCallCount

func (fake *FakeApi) GetProductFileForVersionCallCount() int

func (*FakeApi) GetProductFileForVersionReturns

func (fake *FakeApi) GetProductFileForVersionReturns(result1 *resource.ProductFile, result2 error)

func (*FakeApi) GetVersionsForProduct

func (fake *FakeApi) GetVersionsForProduct(productName string) ([]string, error)

func (*FakeApi) GetVersionsForProductArgsForCall

func (fake *FakeApi) GetVersionsForProductArgsForCall(i int) string

func (*FakeApi) GetVersionsForProductCallCount

func (fake *FakeApi) GetVersionsForProductCallCount() int

func (*FakeApi) GetVersionsForProductReturns

func (fake *FakeApi) GetVersionsForProductReturns(result1 []string, result2 error)

type FakeProductVersionFetcher

type FakeProductVersionFetcher struct {
	FetchProductVersionStub func(productPath string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeProductVersionFetcher) FetchProductVersion

func (fake *FakeProductVersionFetcher) FetchProductVersion(productPath string) (string, error)

func (*FakeProductVersionFetcher) FetchProductVersionArgsForCall

func (fake *FakeProductVersionFetcher) FetchProductVersionArgsForCall(i int) string

func (*FakeProductVersionFetcher) FetchProductVersionCallCount

func (fake *FakeProductVersionFetcher) FetchProductVersionCallCount() int

func (*FakeProductVersionFetcher) FetchProductVersionReturns

func (fake *FakeProductVersionFetcher) FetchProductVersionReturns(result1 string, result2 error)

Jump to

Keyboard shortcuts

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