productfilefakes

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFileSummer

type FakeFileSummer struct {
	SumFileStub func(string) (string, error)
	// contains filtered or unexported fields
}

func (*FakeFileSummer) Invocations

func (fake *FakeFileSummer) Invocations() map[string][][]interface{}

func (*FakeFileSummer) SumFile

func (fake *FakeFileSummer) SumFile(arg1 string) (string, error)

func (*FakeFileSummer) SumFileArgsForCall

func (fake *FakeFileSummer) SumFileArgsForCall(i int) string

func (*FakeFileSummer) SumFileCallCount

func (fake *FakeFileSummer) SumFileCallCount() int

func (*FakeFileSummer) SumFileCalls

func (fake *FakeFileSummer) SumFileCalls(stub func(string) (string, error))

func (*FakeFileSummer) SumFileReturns

func (fake *FakeFileSummer) SumFileReturns(result1 string, result2 error)

func (*FakeFileSummer) SumFileReturnsOnCall

func (fake *FakeFileSummer) SumFileReturnsOnCall(i int, result1 string, result2 error)

type FakeFilter

type FakeFilter struct {
	ProductFileKeysByGlobsStub func([]pivnet.ProductFile, []string) ([]pivnet.ProductFile, error)
	// contains filtered or unexported fields
}

func (*FakeFilter) Invocations

func (fake *FakeFilter) Invocations() map[string][][]interface{}

func (*FakeFilter) ProductFileKeysByGlobs

func (fake *FakeFilter) ProductFileKeysByGlobs(arg1 []pivnet.ProductFile, arg2 []string) ([]pivnet.ProductFile, error)

func (*FakeFilter) ProductFileKeysByGlobsArgsForCall

func (fake *FakeFilter) ProductFileKeysByGlobsArgsForCall(i int) ([]pivnet.ProductFile, []string)

func (*FakeFilter) ProductFileKeysByGlobsCallCount

func (fake *FakeFilter) ProductFileKeysByGlobsCallCount() int

func (*FakeFilter) ProductFileKeysByGlobsCalls

func (fake *FakeFilter) ProductFileKeysByGlobsCalls(stub func([]pivnet.ProductFile, []string) ([]pivnet.ProductFile, error))

func (*FakeFilter) ProductFileKeysByGlobsReturns

func (fake *FakeFilter) ProductFileKeysByGlobsReturns(result1 []pivnet.ProductFile, result2 error)

func (*FakeFilter) ProductFileKeysByGlobsReturnsOnCall

func (fake *FakeFilter) ProductFileKeysByGlobsReturnsOnCall(i int, result1 []pivnet.ProductFile, result2 error)

type FakePivnetClient

type FakePivnetClient struct {
	AcceptEULAStub func(string, int) error

	AddProductFileToFileGroupStub func(string, int, int) error

	AddProductFileToReleaseStub func(string, int, int) error

	CreateProductFileStub func(pivnet.CreateProductFileConfig) (pivnet.ProductFile, error)

	DeleteProductFileStub func(string, int) (pivnet.ProductFile, error)

	DownloadProductFileStub func(*download.FileInfo, string, int, int, io.Writer) error

	ProductFileStub func(string, int) (pivnet.ProductFile, error)

	ProductFileForReleaseStub func(string, int, int) (pivnet.ProductFile, error)

	ProductFilesStub func(string) ([]pivnet.ProductFile, error)

	ProductFilesForReleaseStub func(string, int) ([]pivnet.ProductFile, error)

	ReleaseForVersionStub func(string, string) (pivnet.Release, error)

	RemoveProductFileFromFileGroupStub func(string, int, int) error

	RemoveProductFileFromReleaseStub func(string, int, int) error

	UpdateProductFileStub func(string, pivnet.ProductFile) (pivnet.ProductFile, error)
	// contains filtered or unexported fields
}

func (*FakePivnetClient) AcceptEULA

func (fake *FakePivnetClient) AcceptEULA(arg1 string, arg2 int) error

func (*FakePivnetClient) AcceptEULAArgsForCall

func (fake *FakePivnetClient) AcceptEULAArgsForCall(i int) (string, int)

func (*FakePivnetClient) AcceptEULACallCount

func (fake *FakePivnetClient) AcceptEULACallCount() int

func (*FakePivnetClient) AcceptEULACalls

func (fake *FakePivnetClient) AcceptEULACalls(stub func(string, int) error)

func (*FakePivnetClient) AcceptEULAReturns

func (fake *FakePivnetClient) AcceptEULAReturns(result1 error)

func (*FakePivnetClient) AcceptEULAReturnsOnCall

func (fake *FakePivnetClient) AcceptEULAReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) AddProductFileToFileGroup

func (fake *FakePivnetClient) AddProductFileToFileGroup(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) AddProductFileToFileGroupArgsForCall

func (fake *FakePivnetClient) AddProductFileToFileGroupArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) AddProductFileToFileGroupCallCount

func (fake *FakePivnetClient) AddProductFileToFileGroupCallCount() int

func (*FakePivnetClient) AddProductFileToFileGroupCalls

func (fake *FakePivnetClient) AddProductFileToFileGroupCalls(stub func(string, int, int) error)

func (*FakePivnetClient) AddProductFileToFileGroupReturns

func (fake *FakePivnetClient) AddProductFileToFileGroupReturns(result1 error)

func (*FakePivnetClient) AddProductFileToFileGroupReturnsOnCall

func (fake *FakePivnetClient) AddProductFileToFileGroupReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) AddProductFileToRelease

func (fake *FakePivnetClient) AddProductFileToRelease(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) AddProductFileToReleaseArgsForCall

func (fake *FakePivnetClient) AddProductFileToReleaseArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) AddProductFileToReleaseCallCount

func (fake *FakePivnetClient) AddProductFileToReleaseCallCount() int

func (*FakePivnetClient) AddProductFileToReleaseCalls

func (fake *FakePivnetClient) AddProductFileToReleaseCalls(stub func(string, int, int) error)

func (*FakePivnetClient) AddProductFileToReleaseReturns

func (fake *FakePivnetClient) AddProductFileToReleaseReturns(result1 error)

func (*FakePivnetClient) AddProductFileToReleaseReturnsOnCall

func (fake *FakePivnetClient) AddProductFileToReleaseReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) CreateProductFile

func (fake *FakePivnetClient) CreateProductFile(arg1 pivnet.CreateProductFileConfig) (pivnet.ProductFile, error)

func (*FakePivnetClient) CreateProductFileArgsForCall

func (fake *FakePivnetClient) CreateProductFileArgsForCall(i int) pivnet.CreateProductFileConfig

func (*FakePivnetClient) CreateProductFileCallCount

func (fake *FakePivnetClient) CreateProductFileCallCount() int

func (*FakePivnetClient) CreateProductFileCalls

func (fake *FakePivnetClient) CreateProductFileCalls(stub func(pivnet.CreateProductFileConfig) (pivnet.ProductFile, error))

func (*FakePivnetClient) CreateProductFileReturns

func (fake *FakePivnetClient) CreateProductFileReturns(result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) CreateProductFileReturnsOnCall

func (fake *FakePivnetClient) CreateProductFileReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) DeleteProductFile

func (fake *FakePivnetClient) DeleteProductFile(arg1 string, arg2 int) (pivnet.ProductFile, error)

func (*FakePivnetClient) DeleteProductFileArgsForCall

func (fake *FakePivnetClient) DeleteProductFileArgsForCall(i int) (string, int)

func (*FakePivnetClient) DeleteProductFileCallCount

func (fake *FakePivnetClient) DeleteProductFileCallCount() int

func (*FakePivnetClient) DeleteProductFileCalls

func (fake *FakePivnetClient) DeleteProductFileCalls(stub func(string, int) (pivnet.ProductFile, error))

func (*FakePivnetClient) DeleteProductFileReturns

func (fake *FakePivnetClient) DeleteProductFileReturns(result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) DeleteProductFileReturnsOnCall

func (fake *FakePivnetClient) DeleteProductFileReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) DownloadProductFile

func (fake *FakePivnetClient) DownloadProductFile(arg1 *download.FileInfo, arg2 string, arg3 int, arg4 int, arg5 io.Writer) error

func (*FakePivnetClient) DownloadProductFileArgsForCall

func (fake *FakePivnetClient) DownloadProductFileArgsForCall(i int) (*download.FileInfo, string, int, int, io.Writer)

func (*FakePivnetClient) DownloadProductFileCallCount

func (fake *FakePivnetClient) DownloadProductFileCallCount() int

func (*FakePivnetClient) DownloadProductFileCalls

func (fake *FakePivnetClient) DownloadProductFileCalls(stub func(*download.FileInfo, string, int, int, io.Writer) error)

func (*FakePivnetClient) DownloadProductFileReturns

func (fake *FakePivnetClient) DownloadProductFileReturns(result1 error)

func (*FakePivnetClient) DownloadProductFileReturnsOnCall

func (fake *FakePivnetClient) DownloadProductFileReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) Invocations

func (fake *FakePivnetClient) Invocations() map[string][][]interface{}

func (*FakePivnetClient) ProductFile

func (fake *FakePivnetClient) ProductFile(arg1 string, arg2 int) (pivnet.ProductFile, error)

func (*FakePivnetClient) ProductFileArgsForCall

func (fake *FakePivnetClient) ProductFileArgsForCall(i int) (string, int)

func (*FakePivnetClient) ProductFileCallCount

func (fake *FakePivnetClient) ProductFileCallCount() int

func (*FakePivnetClient) ProductFileCalls

func (fake *FakePivnetClient) ProductFileCalls(stub func(string, int) (pivnet.ProductFile, error))

func (*FakePivnetClient) ProductFileForRelease

func (fake *FakePivnetClient) ProductFileForRelease(arg1 string, arg2 int, arg3 int) (pivnet.ProductFile, error)

func (*FakePivnetClient) ProductFileForReleaseArgsForCall

func (fake *FakePivnetClient) ProductFileForReleaseArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) ProductFileForReleaseCallCount

func (fake *FakePivnetClient) ProductFileForReleaseCallCount() int

func (*FakePivnetClient) ProductFileForReleaseCalls

func (fake *FakePivnetClient) ProductFileForReleaseCalls(stub func(string, int, int) (pivnet.ProductFile, error))

func (*FakePivnetClient) ProductFileForReleaseReturns

func (fake *FakePivnetClient) ProductFileForReleaseReturns(result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFileForReleaseReturnsOnCall

func (fake *FakePivnetClient) ProductFileForReleaseReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFileReturns

func (fake *FakePivnetClient) ProductFileReturns(result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFileReturnsOnCall

func (fake *FakePivnetClient) ProductFileReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFiles

func (fake *FakePivnetClient) ProductFiles(arg1 string) ([]pivnet.ProductFile, error)

func (*FakePivnetClient) ProductFilesArgsForCall

func (fake *FakePivnetClient) ProductFilesArgsForCall(i int) string

func (*FakePivnetClient) ProductFilesCallCount

func (fake *FakePivnetClient) ProductFilesCallCount() int

func (*FakePivnetClient) ProductFilesCalls

func (fake *FakePivnetClient) ProductFilesCalls(stub func(string) ([]pivnet.ProductFile, error))

func (*FakePivnetClient) ProductFilesForRelease

func (fake *FakePivnetClient) ProductFilesForRelease(arg1 string, arg2 int) ([]pivnet.ProductFile, error)

func (*FakePivnetClient) ProductFilesForReleaseArgsForCall

func (fake *FakePivnetClient) ProductFilesForReleaseArgsForCall(i int) (string, int)

func (*FakePivnetClient) ProductFilesForReleaseCallCount

func (fake *FakePivnetClient) ProductFilesForReleaseCallCount() int

func (*FakePivnetClient) ProductFilesForReleaseCalls

func (fake *FakePivnetClient) ProductFilesForReleaseCalls(stub func(string, int) ([]pivnet.ProductFile, error))

func (*FakePivnetClient) ProductFilesForReleaseReturns

func (fake *FakePivnetClient) ProductFilesForReleaseReturns(result1 []pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFilesForReleaseReturnsOnCall

func (fake *FakePivnetClient) ProductFilesForReleaseReturnsOnCall(i int, result1 []pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFilesReturns

func (fake *FakePivnetClient) ProductFilesReturns(result1 []pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ProductFilesReturnsOnCall

func (fake *FakePivnetClient) ProductFilesReturnsOnCall(i int, result1 []pivnet.ProductFile, result2 error)

func (*FakePivnetClient) ReleaseForVersion

func (fake *FakePivnetClient) ReleaseForVersion(arg1 string, arg2 string) (pivnet.Release, error)

func (*FakePivnetClient) ReleaseForVersionArgsForCall

func (fake *FakePivnetClient) ReleaseForVersionArgsForCall(i int) (string, string)

func (*FakePivnetClient) ReleaseForVersionCallCount

func (fake *FakePivnetClient) ReleaseForVersionCallCount() int

func (*FakePivnetClient) ReleaseForVersionCalls

func (fake *FakePivnetClient) ReleaseForVersionCalls(stub func(string, string) (pivnet.Release, error))

func (*FakePivnetClient) ReleaseForVersionReturns

func (fake *FakePivnetClient) ReleaseForVersionReturns(result1 pivnet.Release, result2 error)

func (*FakePivnetClient) ReleaseForVersionReturnsOnCall

func (fake *FakePivnetClient) ReleaseForVersionReturnsOnCall(i int, result1 pivnet.Release, result2 error)

func (*FakePivnetClient) RemoveProductFileFromFileGroup

func (fake *FakePivnetClient) RemoveProductFileFromFileGroup(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) RemoveProductFileFromFileGroupArgsForCall

func (fake *FakePivnetClient) RemoveProductFileFromFileGroupArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) RemoveProductFileFromFileGroupCallCount

func (fake *FakePivnetClient) RemoveProductFileFromFileGroupCallCount() int

func (*FakePivnetClient) RemoveProductFileFromFileGroupCalls

func (fake *FakePivnetClient) RemoveProductFileFromFileGroupCalls(stub func(string, int, int) error)

func (*FakePivnetClient) RemoveProductFileFromFileGroupReturns

func (fake *FakePivnetClient) RemoveProductFileFromFileGroupReturns(result1 error)

func (*FakePivnetClient) RemoveProductFileFromFileGroupReturnsOnCall

func (fake *FakePivnetClient) RemoveProductFileFromFileGroupReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) RemoveProductFileFromRelease

func (fake *FakePivnetClient) RemoveProductFileFromRelease(arg1 string, arg2 int, arg3 int) error

func (*FakePivnetClient) RemoveProductFileFromReleaseArgsForCall

func (fake *FakePivnetClient) RemoveProductFileFromReleaseArgsForCall(i int) (string, int, int)

func (*FakePivnetClient) RemoveProductFileFromReleaseCallCount

func (fake *FakePivnetClient) RemoveProductFileFromReleaseCallCount() int

func (*FakePivnetClient) RemoveProductFileFromReleaseCalls

func (fake *FakePivnetClient) RemoveProductFileFromReleaseCalls(stub func(string, int, int) error)

func (*FakePivnetClient) RemoveProductFileFromReleaseReturns

func (fake *FakePivnetClient) RemoveProductFileFromReleaseReturns(result1 error)

func (*FakePivnetClient) RemoveProductFileFromReleaseReturnsOnCall

func (fake *FakePivnetClient) RemoveProductFileFromReleaseReturnsOnCall(i int, result1 error)

func (*FakePivnetClient) UpdateProductFile

func (fake *FakePivnetClient) UpdateProductFile(arg1 string, arg2 pivnet.ProductFile) (pivnet.ProductFile, error)

func (*FakePivnetClient) UpdateProductFileArgsForCall

func (fake *FakePivnetClient) UpdateProductFileArgsForCall(i int) (string, pivnet.ProductFile)

func (*FakePivnetClient) UpdateProductFileCallCount

func (fake *FakePivnetClient) UpdateProductFileCallCount() int

func (*FakePivnetClient) UpdateProductFileCalls

func (fake *FakePivnetClient) UpdateProductFileCalls(stub func(string, pivnet.ProductFile) (pivnet.ProductFile, error))

func (*FakePivnetClient) UpdateProductFileReturns

func (fake *FakePivnetClient) UpdateProductFileReturns(result1 pivnet.ProductFile, result2 error)

func (*FakePivnetClient) UpdateProductFileReturnsOnCall

func (fake *FakePivnetClient) UpdateProductFileReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)

Jump to

Keyboard shortcuts

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