Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) AcceptEULA(arg1 string, arg2 int) error
- func (fake *FakeClient) AcceptEULAArgsForCall(i int) (string, int)
- func (fake *FakeClient) AcceptEULACallCount() int
- func (fake *FakeClient) AcceptEULACalls(stub func(string, int) error)
- func (fake *FakeClient) AcceptEULAReturns(result1 error)
- func (fake *FakeClient) AcceptEULAReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) DownloadFile(arg1 string, arg2 int, arg3 *pivneta.ProductFile) error
- func (fake *FakeClient) DownloadFileArgsForCall(i int) (string, int, *pivneta.ProductFile)
- func (fake *FakeClient) DownloadFileCallCount() int
- func (fake *FakeClient) DownloadFileCalls(stub func(string, int, *pivneta.ProductFile) error)
- func (fake *FakeClient) DownloadFileReturns(result1 error)
- func (fake *FakeClient) DownloadFileReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) FindReleaseByVersionConstraint(arg1 string, arg2 *semver.Constraints) (*pivneta.Release, error)
- func (fake *FakeClient) FindReleaseByVersionConstraintArgsForCall(i int) (string, *semver.Constraints)
- func (fake *FakeClient) FindReleaseByVersionConstraintCallCount() int
- func (fake *FakeClient) FindReleaseByVersionConstraintCalls(stub func(string, *semver.Constraints) (*pivneta.Release, error))
- func (fake *FakeClient) FindReleaseByVersionConstraintReturns(result1 *pivneta.Release, result2 error)
- func (fake *FakeClient) FindReleaseByVersionConstraintReturnsOnCall(i int, result1 *pivneta.Release, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) ListFilesForRelease(arg1 string, arg2 int) ([]pivneta.ProductFile, error)
- func (fake *FakeClient) ListFilesForReleaseArgsForCall(i int) (string, int)
- func (fake *FakeClient) ListFilesForReleaseCallCount() int
- func (fake *FakeClient) ListFilesForReleaseCalls(stub func(string, int) ([]pivneta.ProductFile, error))
- func (fake *FakeClient) ListFilesForReleaseReturns(result1 []pivneta.ProductFile, result2 error)
- func (fake *FakeClient) ListFilesForReleaseReturnsOnCall(i int, result1 []pivneta.ProductFile, result2 error)
- type FakeWrapper
- func (fake *FakeWrapper) AcceptEULA(arg1 string, arg2 int) error
- func (fake *FakeWrapper) AcceptEULAArgsForCall(i int) (string, int)
- func (fake *FakeWrapper) AcceptEULACallCount() int
- func (fake *FakeWrapper) AcceptEULACalls(stub func(string, int) error)
- func (fake *FakeWrapper) AcceptEULAReturns(result1 error)
- func (fake *FakeWrapper) AcceptEULAReturnsOnCall(i int, result1 error)
- func (fake *FakeWrapper) DownloadProductFile(arg1 *download.FileInfo, arg2 string, arg3 int, arg4 int, arg5 io.Writer) error
- func (fake *FakeWrapper) DownloadProductFileArgsForCall(i int) (*download.FileInfo, string, int, int, io.Writer)
- func (fake *FakeWrapper) DownloadProductFileCallCount() int
- func (fake *FakeWrapper) DownloadProductFileCalls(stub func(*download.FileInfo, string, int, int, io.Writer) error)
- func (fake *FakeWrapper) DownloadProductFileReturns(result1 error)
- func (fake *FakeWrapper) DownloadProductFileReturnsOnCall(i int, result1 error)
- func (fake *FakeWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeWrapper) ListFilesForRelease(arg1 string, arg2 int) ([]pivneta.ProductFile, error)
- func (fake *FakeWrapper) ListFilesForReleaseArgsForCall(i int) (string, int)
- func (fake *FakeWrapper) ListFilesForReleaseCallCount() int
- func (fake *FakeWrapper) ListFilesForReleaseCalls(stub func(string, int) ([]pivneta.ProductFile, error))
- func (fake *FakeWrapper) ListFilesForReleaseReturns(result1 []pivneta.ProductFile, result2 error)
- func (fake *FakeWrapper) ListFilesForReleaseReturnsOnCall(i int, result1 []pivneta.ProductFile, result2 error)
- func (fake *FakeWrapper) ListReleases(arg1 string) ([]pivneta.Release, error)
- func (fake *FakeWrapper) ListReleasesArgsForCall(i int) string
- func (fake *FakeWrapper) ListReleasesCallCount() int
- func (fake *FakeWrapper) ListReleasesCalls(stub func(string) ([]pivneta.Release, error))
- func (fake *FakeWrapper) ListReleasesReturns(result1 []pivneta.Release, result2 error)
- func (fake *FakeWrapper) ListReleasesReturnsOnCall(i int, result1 []pivneta.Release, result2 error)
- func (fake *FakeWrapper) NewFileInfo(arg1 *os.File) (*download.FileInfo, error)
- func (fake *FakeWrapper) NewFileInfoArgsForCall(i int) *os.File
- func (fake *FakeWrapper) NewFileInfoCallCount() int
- func (fake *FakeWrapper) NewFileInfoCalls(stub func(*os.File) (*download.FileInfo, error))
- func (fake *FakeWrapper) NewFileInfoReturns(result1 *download.FileInfo, result2 error)
- func (fake *FakeWrapper) NewFileInfoReturnsOnCall(i int, result1 *download.FileInfo, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { AcceptEULAStub func(string, int) error DownloadFileStub func(string, int, *pivneta.ProductFile) error FindReleaseByVersionConstraintStub func(string, *semver.Constraints) (*pivneta.Release, error) ListFilesForReleaseStub func(string, int) ([]pivneta.ProductFile, error) // contains filtered or unexported fields }
func (*FakeClient) AcceptEULA ¶
func (fake *FakeClient) AcceptEULA(arg1 string, arg2 int) error
func (*FakeClient) AcceptEULAArgsForCall ¶
func (fake *FakeClient) AcceptEULAArgsForCall(i int) (string, int)
func (*FakeClient) AcceptEULACallCount ¶
func (fake *FakeClient) AcceptEULACallCount() int
func (*FakeClient) AcceptEULACalls ¶
func (fake *FakeClient) AcceptEULACalls(stub func(string, int) error)
func (*FakeClient) AcceptEULAReturns ¶
func (fake *FakeClient) AcceptEULAReturns(result1 error)
func (*FakeClient) AcceptEULAReturnsOnCall ¶
func (fake *FakeClient) AcceptEULAReturnsOnCall(i int, result1 error)
func (*FakeClient) DownloadFile ¶
func (fake *FakeClient) DownloadFile(arg1 string, arg2 int, arg3 *pivneta.ProductFile) error
func (*FakeClient) DownloadFileArgsForCall ¶
func (fake *FakeClient) DownloadFileArgsForCall(i int) (string, int, *pivneta.ProductFile)
func (*FakeClient) DownloadFileCallCount ¶
func (fake *FakeClient) DownloadFileCallCount() int
func (*FakeClient) DownloadFileCalls ¶
func (fake *FakeClient) DownloadFileCalls(stub func(string, int, *pivneta.ProductFile) error)
func (*FakeClient) DownloadFileReturns ¶
func (fake *FakeClient) DownloadFileReturns(result1 error)
func (*FakeClient) DownloadFileReturnsOnCall ¶
func (fake *FakeClient) DownloadFileReturnsOnCall(i int, result1 error)
func (*FakeClient) FindReleaseByVersionConstraint ¶
func (fake *FakeClient) FindReleaseByVersionConstraint(arg1 string, arg2 *semver.Constraints) (*pivneta.Release, error)
func (*FakeClient) FindReleaseByVersionConstraintArgsForCall ¶
func (fake *FakeClient) FindReleaseByVersionConstraintArgsForCall(i int) (string, *semver.Constraints)
func (*FakeClient) FindReleaseByVersionConstraintCallCount ¶
func (fake *FakeClient) FindReleaseByVersionConstraintCallCount() int
func (*FakeClient) FindReleaseByVersionConstraintCalls ¶
func (fake *FakeClient) FindReleaseByVersionConstraintCalls(stub func(string, *semver.Constraints) (*pivneta.Release, error))
func (*FakeClient) FindReleaseByVersionConstraintReturns ¶
func (fake *FakeClient) FindReleaseByVersionConstraintReturns(result1 *pivneta.Release, result2 error)
func (*FakeClient) FindReleaseByVersionConstraintReturnsOnCall ¶
func (fake *FakeClient) FindReleaseByVersionConstraintReturnsOnCall(i int, result1 *pivneta.Release, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) ListFilesForRelease ¶
func (fake *FakeClient) ListFilesForRelease(arg1 string, arg2 int) ([]pivneta.ProductFile, error)
func (*FakeClient) ListFilesForReleaseArgsForCall ¶
func (fake *FakeClient) ListFilesForReleaseArgsForCall(i int) (string, int)
func (*FakeClient) ListFilesForReleaseCallCount ¶
func (fake *FakeClient) ListFilesForReleaseCallCount() int
func (*FakeClient) ListFilesForReleaseCalls ¶
func (fake *FakeClient) ListFilesForReleaseCalls(stub func(string, int) ([]pivneta.ProductFile, error))
func (*FakeClient) ListFilesForReleaseReturns ¶
func (fake *FakeClient) ListFilesForReleaseReturns(result1 []pivneta.ProductFile, result2 error)
func (*FakeClient) ListFilesForReleaseReturnsOnCall ¶
func (fake *FakeClient) ListFilesForReleaseReturnsOnCall(i int, result1 []pivneta.ProductFile, result2 error)
type FakeWrapper ¶
type FakeWrapper struct { AcceptEULAStub func(string, int) error DownloadProductFileStub func(*download.FileInfo, string, int, int, io.Writer) error ListFilesForReleaseStub func(string, int) ([]pivneta.ProductFile, error) ListReleasesStub func(string) ([]pivneta.Release, error) NewFileInfoStub func(*os.File) (*download.FileInfo, error) // contains filtered or unexported fields }
func (*FakeWrapper) AcceptEULA ¶
func (fake *FakeWrapper) AcceptEULA(arg1 string, arg2 int) error
func (*FakeWrapper) AcceptEULAArgsForCall ¶
func (fake *FakeWrapper) AcceptEULAArgsForCall(i int) (string, int)
func (*FakeWrapper) AcceptEULACallCount ¶
func (fake *FakeWrapper) AcceptEULACallCount() int
func (*FakeWrapper) AcceptEULACalls ¶
func (fake *FakeWrapper) AcceptEULACalls(stub func(string, int) error)
func (*FakeWrapper) AcceptEULAReturns ¶
func (fake *FakeWrapper) AcceptEULAReturns(result1 error)
func (*FakeWrapper) AcceptEULAReturnsOnCall ¶
func (fake *FakeWrapper) AcceptEULAReturnsOnCall(i int, result1 error)
func (*FakeWrapper) DownloadProductFile ¶
func (*FakeWrapper) DownloadProductFileArgsForCall ¶
func (*FakeWrapper) DownloadProductFileCallCount ¶
func (fake *FakeWrapper) DownloadProductFileCallCount() int
func (*FakeWrapper) DownloadProductFileCalls ¶
func (*FakeWrapper) DownloadProductFileReturns ¶
func (fake *FakeWrapper) DownloadProductFileReturns(result1 error)
func (*FakeWrapper) DownloadProductFileReturnsOnCall ¶
func (fake *FakeWrapper) DownloadProductFileReturnsOnCall(i int, result1 error)
func (*FakeWrapper) Invocations ¶
func (fake *FakeWrapper) Invocations() map[string][][]interface{}
func (*FakeWrapper) ListFilesForRelease ¶
func (fake *FakeWrapper) ListFilesForRelease(arg1 string, arg2 int) ([]pivneta.ProductFile, error)
func (*FakeWrapper) ListFilesForReleaseArgsForCall ¶
func (fake *FakeWrapper) ListFilesForReleaseArgsForCall(i int) (string, int)
func (*FakeWrapper) ListFilesForReleaseCallCount ¶
func (fake *FakeWrapper) ListFilesForReleaseCallCount() int
func (*FakeWrapper) ListFilesForReleaseCalls ¶
func (fake *FakeWrapper) ListFilesForReleaseCalls(stub func(string, int) ([]pivneta.ProductFile, error))
func (*FakeWrapper) ListFilesForReleaseReturns ¶
func (fake *FakeWrapper) ListFilesForReleaseReturns(result1 []pivneta.ProductFile, result2 error)
func (*FakeWrapper) ListFilesForReleaseReturnsOnCall ¶
func (fake *FakeWrapper) ListFilesForReleaseReturnsOnCall(i int, result1 []pivneta.ProductFile, result2 error)
func (*FakeWrapper) ListReleases ¶
func (fake *FakeWrapper) ListReleases(arg1 string) ([]pivneta.Release, error)
func (*FakeWrapper) ListReleasesArgsForCall ¶
func (fake *FakeWrapper) ListReleasesArgsForCall(i int) string
func (*FakeWrapper) ListReleasesCallCount ¶
func (fake *FakeWrapper) ListReleasesCallCount() int
func (*FakeWrapper) ListReleasesCalls ¶
func (fake *FakeWrapper) ListReleasesCalls(stub func(string) ([]pivneta.Release, error))
func (*FakeWrapper) ListReleasesReturns ¶
func (fake *FakeWrapper) ListReleasesReturns(result1 []pivneta.Release, result2 error)
func (*FakeWrapper) ListReleasesReturnsOnCall ¶
func (fake *FakeWrapper) ListReleasesReturnsOnCall(i int, result1 []pivneta.Release, result2 error)
func (*FakeWrapper) NewFileInfo ¶
func (*FakeWrapper) NewFileInfoArgsForCall ¶
func (fake *FakeWrapper) NewFileInfoArgsForCall(i int) *os.File
func (*FakeWrapper) NewFileInfoCallCount ¶
func (fake *FakeWrapper) NewFileInfoCallCount() int
func (*FakeWrapper) NewFileInfoCalls ¶
func (*FakeWrapper) NewFileInfoReturns ¶
func (fake *FakeWrapper) NewFileInfoReturns(result1 *download.FileInfo, result2 error)
func (*FakeWrapper) NewFileInfoReturnsOnCall ¶
func (fake *FakeWrapper) NewFileInfoReturnsOnCall(i int, result1 *download.FileInfo, result2 error)
Click to show internal directories.
Click to hide internal directories.