Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeApi
- func (fake *FakeApi) Download(productFile *resource.ProductFile, fileName string) error
- func (fake *FakeApi) DownloadArgsForCall(i int) (*resource.ProductFile, string)
- func (fake *FakeApi) DownloadCallCount() int
- func (fake *FakeApi) DownloadReturns(result1 error)
- func (fake *FakeApi) GetLatestProductFile(productName string, fileType string) (*resource.ProductFile, error)
- func (fake *FakeApi) GetLatestProductFileArgsForCall(i int) (string, string)
- func (fake *FakeApi) GetLatestProductFileCallCount() int
- func (fake *FakeApi) GetLatestProductFileReturns(result1 *resource.ProductFile, result2 error)
- func (fake *FakeApi) GetProductFileForVersion(productName string, version string, fileType string) (*resource.ProductFile, error)
- func (fake *FakeApi) GetProductFileForVersionArgsForCall(i int) (string, string, string)
- func (fake *FakeApi) GetProductFileForVersionCallCount() int
- func (fake *FakeApi) GetProductFileForVersionReturns(result1 *resource.ProductFile, result2 error)
- func (fake *FakeApi) GetVersionsForProduct(productName string) ([]string, error)
- func (fake *FakeApi) GetVersionsForProductArgsForCall(i int) string
- func (fake *FakeApi) GetVersionsForProductCallCount() int
- func (fake *FakeApi) GetVersionsForProductReturns(result1 []string, result2 error)
- type FakeProductVersionFetcher
- func (fake *FakeProductVersionFetcher) FetchProductVersion(productPath string) (string, error)
- func (fake *FakeProductVersionFetcher) FetchProductVersionArgsForCall(i int) string
- func (fake *FakeProductVersionFetcher) FetchProductVersionCallCount() int
- func (fake *FakeProductVersionFetcher) FetchProductVersionReturns(result1 string, result2 error)
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 (*FakeApi) DownloadReturns ¶
func (*FakeApi) GetLatestProductFile ¶
func (*FakeApi) GetLatestProductFileArgsForCall ¶
func (*FakeApi) GetLatestProductFileCallCount ¶
func (*FakeApi) GetLatestProductFileReturns ¶
func (fake *FakeApi) GetLatestProductFileReturns(result1 *resource.ProductFile, result2 error)
func (*FakeApi) GetProductFileForVersion ¶
func (*FakeApi) GetProductFileForVersionArgsForCall ¶
func (*FakeApi) GetProductFileForVersionCallCount ¶
func (*FakeApi) GetProductFileForVersionReturns ¶
func (fake *FakeApi) GetProductFileForVersionReturns(result1 *resource.ProductFile, result2 error)
func (*FakeApi) GetVersionsForProduct ¶
func (*FakeApi) GetVersionsForProductArgsForCall ¶
func (*FakeApi) GetVersionsForProductCallCount ¶
func (*FakeApi) GetVersionsForProductReturns ¶
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)
Click to show internal directories.
Click to hide internal directories.