Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeDownloader
- func (fake *FakeDownloader) Download(productFiles []go_pivnet.ProductFile, productSlug string, releaseID int) ([]string, error)
- func (fake *FakeDownloader) DownloadArgsForCall(i int) ([]go_pivnet.ProductFile, string, int)
- func (fake *FakeDownloader) DownloadCallCount() int
- func (fake *FakeDownloader) DownloadReturns(result1 []string, result2 error)
- func (fake *FakeDownloader) Invocations() map[string][][]interface{}
- type FakeFileSummer
- func (fake *FakeFileSummer) Invocations() map[string][][]interface{}
- func (fake *FakeFileSummer) SumFile(filepath string) (string, error)
- func (fake *FakeFileSummer) SumFileArgsForCall(i int) string
- func (fake *FakeFileSummer) SumFileCallCount() int
- func (fake *FakeFileSummer) SumFileReturns(result1 string, result2 error)
- type FakeFileWriter
- func (fake *FakeFileWriter) Invocations() map[string][][]interface{}
- func (fake *FakeFileWriter) WriteMetadataJSONFile(mdata metadata.Metadata) error
- func (fake *FakeFileWriter) WriteMetadataJSONFileArgsForCall(i int) metadata.Metadata
- func (fake *FakeFileWriter) WriteMetadataJSONFileCallCount() int
- func (fake *FakeFileWriter) WriteMetadataJSONFileReturns(result1 error)
- func (fake *FakeFileWriter) WriteMetadataYAMLFile(mdata metadata.Metadata) error
- func (fake *FakeFileWriter) WriteMetadataYAMLFileArgsForCall(i int) metadata.Metadata
- func (fake *FakeFileWriter) WriteMetadataYAMLFileCallCount() int
- func (fake *FakeFileWriter) WriteMetadataYAMLFileReturns(result1 error)
- func (fake *FakeFileWriter) WriteVersionFile(versionWithFingerprint string) error
- func (fake *FakeFileWriter) WriteVersionFileArgsForCall(i int) string
- func (fake *FakeFileWriter) WriteVersionFileCallCount() int
- func (fake *FakeFileWriter) WriteVersionFileReturns(result1 error)
- type FakeFilter
- func (fake *FakeFilter) Invocations() map[string][][]interface{}
- func (fake *FakeFilter) ProductFileKeysByGlobs(productFiles []go_pivnet.ProductFile, globs []string) ([]go_pivnet.ProductFile, error)
- func (fake *FakeFilter) ProductFileKeysByGlobsArgsForCall(i int) ([]go_pivnet.ProductFile, []string)
- func (fake *FakeFilter) ProductFileKeysByGlobsCallCount() int
- func (fake *FakeFilter) ProductFileKeysByGlobsReturns(result1 []go_pivnet.ProductFile, result2 error)
- type FakePivnetClient
- func (fake *FakePivnetClient) AcceptEULA(productSlug string, releaseID int) error
- func (fake *FakePivnetClient) AcceptEULAArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) AcceptEULACallCount() int
- func (fake *FakePivnetClient) AcceptEULAReturns(result1 error)
- func (fake *FakePivnetClient) AcceptEULAReturnsOnCall(i int, result1 error)
- func (fake *FakePivnetClient) DependencySpecifiers(productSlug string, releaseID int) ([]pivnet.DependencySpecifier, error)
- func (fake *FakePivnetClient) DependencySpecifiersArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) DependencySpecifiersCallCount() int
- func (fake *FakePivnetClient) DependencySpecifiersReturns(result1 []pivnet.DependencySpecifier, result2 error)
- func (fake *FakePivnetClient) DependencySpecifiersReturnsOnCall(i int, result1 []pivnet.DependencySpecifier, result2 error)
- func (fake *FakePivnetClient) FileGroupsForRelease(productSlug string, releaseID int) ([]pivnet.FileGroup, error)
- func (fake *FakePivnetClient) FileGroupsForReleaseArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) FileGroupsForReleaseCallCount() int
- func (fake *FakePivnetClient) FileGroupsForReleaseReturns(result1 []pivnet.FileGroup, result2 error)
- func (fake *FakePivnetClient) FileGroupsForReleaseReturnsOnCall(i int, result1 []pivnet.FileGroup, result2 error)
- func (fake *FakePivnetClient) GetRelease(productSlug string, version string) (pivnet.Release, error)
- func (fake *FakePivnetClient) GetReleaseArgsForCall(i int) (string, string)
- func (fake *FakePivnetClient) GetReleaseCallCount() int
- func (fake *FakePivnetClient) GetReleaseReturns(result1 pivnet.Release, result2 error)
- func (fake *FakePivnetClient) GetReleaseReturnsOnCall(i int, result1 pivnet.Release, result2 error)
- func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
- func (fake *FakePivnetClient) ProductFileForRelease(productSlug string, releaseID int, productFileID int) (pivnet.ProductFile, error)
- func (fake *FakePivnetClient) ProductFileForReleaseArgsForCall(i int) (string, int, int)
- func (fake *FakePivnetClient) ProductFileForReleaseCallCount() int
- func (fake *FakePivnetClient) ProductFileForReleaseReturns(result1 pivnet.ProductFile, result2 error)
- func (fake *FakePivnetClient) ProductFileForReleaseReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)
- func (fake *FakePivnetClient) ProductFilesForRelease(productSlug string, releaseID int) ([]pivnet.ProductFile, error)
- func (fake *FakePivnetClient) ProductFilesForReleaseArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) ProductFilesForReleaseCallCount() int
- func (fake *FakePivnetClient) ProductFilesForReleaseReturns(result1 []pivnet.ProductFile, result2 error)
- func (fake *FakePivnetClient) ProductFilesForReleaseReturnsOnCall(i int, result1 []pivnet.ProductFile, result2 error)
- func (fake *FakePivnetClient) ReleaseDependencies(productSlug string, releaseID int) ([]pivnet.ReleaseDependency, error)
- func (fake *FakePivnetClient) ReleaseDependenciesArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) ReleaseDependenciesCallCount() int
- func (fake *FakePivnetClient) ReleaseDependenciesReturns(result1 []pivnet.ReleaseDependency, result2 error)
- func (fake *FakePivnetClient) ReleaseDependenciesReturnsOnCall(i int, result1 []pivnet.ReleaseDependency, result2 error)
- func (fake *FakePivnetClient) ReleaseUpgradePaths(productSlug string, releaseID int) ([]pivnet.ReleaseUpgradePath, error)
- func (fake *FakePivnetClient) ReleaseUpgradePathsArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) ReleaseUpgradePathsCallCount() int
- func (fake *FakePivnetClient) ReleaseUpgradePathsReturns(result1 []pivnet.ReleaseUpgradePath, result2 error)
- func (fake *FakePivnetClient) ReleaseUpgradePathsReturnsOnCall(i int, result1 []pivnet.ReleaseUpgradePath, result2 error)
- func (fake *FakePivnetClient) UpgradePathSpecifiers(productSlug string, releaseID int) ([]pivnet.UpgradePathSpecifier, error)
- func (fake *FakePivnetClient) UpgradePathSpecifiersArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) UpgradePathSpecifiersCallCount() int
- func (fake *FakePivnetClient) UpgradePathSpecifiersReturns(result1 []pivnet.UpgradePathSpecifier, result2 error)
- func (fake *FakePivnetClient) UpgradePathSpecifiersReturnsOnCall(i int, result1 []pivnet.UpgradePathSpecifier, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDownloader ¶
type FakeDownloader struct { DownloadStub func(productFiles []go_pivnet.ProductFile, productSlug string, releaseID int) ([]string, error) // contains filtered or unexported fields }
func (*FakeDownloader) Download ¶
func (fake *FakeDownloader) Download(productFiles []go_pivnet.ProductFile, productSlug string, releaseID int) ([]string, error)
func (*FakeDownloader) DownloadArgsForCall ¶
func (fake *FakeDownloader) DownloadArgsForCall(i int) ([]go_pivnet.ProductFile, string, int)
func (*FakeDownloader) DownloadCallCount ¶
func (fake *FakeDownloader) DownloadCallCount() int
func (*FakeDownloader) DownloadReturns ¶
func (fake *FakeDownloader) DownloadReturns(result1 []string, result2 error)
func (*FakeDownloader) Invocations ¶
func (fake *FakeDownloader) Invocations() map[string][][]interface{}
type FakeFileSummer ¶
type FakeFileSummer struct { SumFileStub func(filepath 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(filepath string) (string, error)
func (*FakeFileSummer) SumFileArgsForCall ¶
func (fake *FakeFileSummer) SumFileArgsForCall(i int) string
func (*FakeFileSummer) SumFileCallCount ¶
func (fake *FakeFileSummer) SumFileCallCount() int
func (*FakeFileSummer) SumFileReturns ¶
func (fake *FakeFileSummer) SumFileReturns(result1 string, result2 error)
type FakeFileWriter ¶
type FakeFileWriter struct { WriteMetadataJSONFileStub func(mdata metadata.Metadata) error WriteMetadataYAMLFileStub func(mdata metadata.Metadata) error WriteVersionFileStub func(versionWithFingerprint string) error // contains filtered or unexported fields }
func (*FakeFileWriter) Invocations ¶
func (fake *FakeFileWriter) Invocations() map[string][][]interface{}
func (*FakeFileWriter) WriteMetadataJSONFile ¶
func (fake *FakeFileWriter) WriteMetadataJSONFile(mdata metadata.Metadata) error
func (*FakeFileWriter) WriteMetadataJSONFileArgsForCall ¶
func (fake *FakeFileWriter) WriteMetadataJSONFileArgsForCall(i int) metadata.Metadata
func (*FakeFileWriter) WriteMetadataJSONFileCallCount ¶
func (fake *FakeFileWriter) WriteMetadataJSONFileCallCount() int
func (*FakeFileWriter) WriteMetadataJSONFileReturns ¶
func (fake *FakeFileWriter) WriteMetadataJSONFileReturns(result1 error)
func (*FakeFileWriter) WriteMetadataYAMLFile ¶
func (fake *FakeFileWriter) WriteMetadataYAMLFile(mdata metadata.Metadata) error
func (*FakeFileWriter) WriteMetadataYAMLFileArgsForCall ¶
func (fake *FakeFileWriter) WriteMetadataYAMLFileArgsForCall(i int) metadata.Metadata
func (*FakeFileWriter) WriteMetadataYAMLFileCallCount ¶
func (fake *FakeFileWriter) WriteMetadataYAMLFileCallCount() int
func (*FakeFileWriter) WriteMetadataYAMLFileReturns ¶
func (fake *FakeFileWriter) WriteMetadataYAMLFileReturns(result1 error)
func (*FakeFileWriter) WriteVersionFile ¶
func (fake *FakeFileWriter) WriteVersionFile(versionWithFingerprint string) error
func (*FakeFileWriter) WriteVersionFileArgsForCall ¶
func (fake *FakeFileWriter) WriteVersionFileArgsForCall(i int) string
func (*FakeFileWriter) WriteVersionFileCallCount ¶
func (fake *FakeFileWriter) WriteVersionFileCallCount() int
func (*FakeFileWriter) WriteVersionFileReturns ¶
func (fake *FakeFileWriter) WriteVersionFileReturns(result1 error)
type FakeFilter ¶
type FakeFilter struct { ProductFileKeysByGlobsStub func(productFiles []go_pivnet.ProductFile, globs []string) ([]go_pivnet.ProductFile, error) // contains filtered or unexported fields }
func (*FakeFilter) Invocations ¶
func (fake *FakeFilter) Invocations() map[string][][]interface{}
func (*FakeFilter) ProductFileKeysByGlobs ¶ added in v0.27.1
func (fake *FakeFilter) ProductFileKeysByGlobs(productFiles []go_pivnet.ProductFile, globs []string) ([]go_pivnet.ProductFile, error)
func (*FakeFilter) ProductFileKeysByGlobsArgsForCall ¶ added in v0.27.1
func (fake *FakeFilter) ProductFileKeysByGlobsArgsForCall(i int) ([]go_pivnet.ProductFile, []string)
func (*FakeFilter) ProductFileKeysByGlobsCallCount ¶ added in v0.27.1
func (fake *FakeFilter) ProductFileKeysByGlobsCallCount() int
func (*FakeFilter) ProductFileKeysByGlobsReturns ¶ added in v0.27.1
func (fake *FakeFilter) ProductFileKeysByGlobsReturns(result1 []go_pivnet.ProductFile, result2 error)
type FakePivnetClient ¶
type FakePivnetClient struct { GetReleaseStub func(productSlug string, version string) (pivnet.Release, error) AcceptEULAStub func(productSlug string, releaseID int) error FileGroupsForReleaseStub func(productSlug string, releaseID int) ([]pivnet.FileGroup, error) ProductFilesForReleaseStub func(productSlug string, releaseID int) ([]pivnet.ProductFile, error) ProductFileForReleaseStub func(productSlug string, releaseID int, productFileID int) (pivnet.ProductFile, error) ReleaseDependenciesStub func(productSlug string, releaseID int) ([]pivnet.ReleaseDependency, error) DependencySpecifiersStub func(productSlug string, releaseID int) ([]pivnet.DependencySpecifier, error) ReleaseUpgradePathsStub func(productSlug string, releaseID int) ([]pivnet.ReleaseUpgradePath, error) UpgradePathSpecifiersStub func(productSlug string, releaseID int) ([]pivnet.UpgradePathSpecifier, error) // contains filtered or unexported fields }
func (*FakePivnetClient) AcceptEULA ¶
func (fake *FakePivnetClient) AcceptEULA(productSlug string, releaseID int) error
func (*FakePivnetClient) AcceptEULAArgsForCall ¶
func (fake *FakePivnetClient) AcceptEULAArgsForCall(i int) (string, int)
func (*FakePivnetClient) AcceptEULACallCount ¶
func (fake *FakePivnetClient) AcceptEULACallCount() int
func (*FakePivnetClient) AcceptEULAReturns ¶
func (fake *FakePivnetClient) AcceptEULAReturns(result1 error)
func (*FakePivnetClient) AcceptEULAReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) AcceptEULAReturnsOnCall(i int, result1 error)
func (*FakePivnetClient) DependencySpecifiers ¶ added in v0.28.0
func (fake *FakePivnetClient) DependencySpecifiers(productSlug string, releaseID int) ([]pivnet.DependencySpecifier, error)
func (*FakePivnetClient) DependencySpecifiersArgsForCall ¶ added in v0.28.0
func (fake *FakePivnetClient) DependencySpecifiersArgsForCall(i int) (string, int)
func (*FakePivnetClient) DependencySpecifiersCallCount ¶ added in v0.28.0
func (fake *FakePivnetClient) DependencySpecifiersCallCount() int
func (*FakePivnetClient) DependencySpecifiersReturns ¶ added in v0.28.0
func (fake *FakePivnetClient) DependencySpecifiersReturns(result1 []pivnet.DependencySpecifier, result2 error)
func (*FakePivnetClient) DependencySpecifiersReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) DependencySpecifiersReturnsOnCall(i int, result1 []pivnet.DependencySpecifier, result2 error)
func (*FakePivnetClient) FileGroupsForRelease ¶ added in v0.27.0
func (fake *FakePivnetClient) FileGroupsForRelease(productSlug string, releaseID int) ([]pivnet.FileGroup, error)
func (*FakePivnetClient) FileGroupsForReleaseArgsForCall ¶ added in v0.27.0
func (fake *FakePivnetClient) FileGroupsForReleaseArgsForCall(i int) (string, int)
func (*FakePivnetClient) FileGroupsForReleaseCallCount ¶ added in v0.27.0
func (fake *FakePivnetClient) FileGroupsForReleaseCallCount() int
func (*FakePivnetClient) FileGroupsForReleaseReturns ¶ added in v0.27.0
func (fake *FakePivnetClient) FileGroupsForReleaseReturns(result1 []pivnet.FileGroup, result2 error)
func (*FakePivnetClient) FileGroupsForReleaseReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) FileGroupsForReleaseReturnsOnCall(i int, result1 []pivnet.FileGroup, result2 error)
func (*FakePivnetClient) GetRelease ¶
func (fake *FakePivnetClient) GetRelease(productSlug string, version string) (pivnet.Release, error)
func (*FakePivnetClient) GetReleaseArgsForCall ¶
func (fake *FakePivnetClient) GetReleaseArgsForCall(i int) (string, string)
func (*FakePivnetClient) GetReleaseCallCount ¶
func (fake *FakePivnetClient) GetReleaseCallCount() int
func (*FakePivnetClient) GetReleaseReturns ¶
func (fake *FakePivnetClient) GetReleaseReturns(result1 pivnet.Release, result2 error)
func (*FakePivnetClient) GetReleaseReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) GetReleaseReturnsOnCall(i int, result1 pivnet.Release, result2 error)
func (*FakePivnetClient) Invocations ¶
func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
func (*FakePivnetClient) ProductFileForRelease ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFileForRelease(productSlug string, releaseID int, productFileID int) (pivnet.ProductFile, error)
func (*FakePivnetClient) ProductFileForReleaseArgsForCall ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFileForReleaseArgsForCall(i int) (string, int, int)
func (*FakePivnetClient) ProductFileForReleaseCallCount ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFileForReleaseCallCount() int
func (*FakePivnetClient) ProductFileForReleaseReturns ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFileForReleaseReturns(result1 pivnet.ProductFile, result2 error)
func (*FakePivnetClient) ProductFileForReleaseReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) ProductFileForReleaseReturnsOnCall(i int, result1 pivnet.ProductFile, result2 error)
func (*FakePivnetClient) ProductFilesForRelease ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFilesForRelease(productSlug string, releaseID int) ([]pivnet.ProductFile, error)
func (*FakePivnetClient) ProductFilesForReleaseArgsForCall ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFilesForReleaseArgsForCall(i int) (string, int)
func (*FakePivnetClient) ProductFilesForReleaseCallCount ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFilesForReleaseCallCount() int
func (*FakePivnetClient) ProductFilesForReleaseReturns ¶ added in v0.26.0
func (fake *FakePivnetClient) ProductFilesForReleaseReturns(result1 []pivnet.ProductFile, result2 error)
func (*FakePivnetClient) ProductFilesForReleaseReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) ProductFilesForReleaseReturnsOnCall(i int, result1 []pivnet.ProductFile, result2 error)
func (*FakePivnetClient) ReleaseDependencies ¶
func (fake *FakePivnetClient) ReleaseDependencies(productSlug string, releaseID int) ([]pivnet.ReleaseDependency, error)
func (*FakePivnetClient) ReleaseDependenciesArgsForCall ¶
func (fake *FakePivnetClient) ReleaseDependenciesArgsForCall(i int) (string, int)
func (*FakePivnetClient) ReleaseDependenciesCallCount ¶
func (fake *FakePivnetClient) ReleaseDependenciesCallCount() int
func (*FakePivnetClient) ReleaseDependenciesReturns ¶
func (fake *FakePivnetClient) ReleaseDependenciesReturns(result1 []pivnet.ReleaseDependency, result2 error)
func (*FakePivnetClient) ReleaseDependenciesReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) ReleaseDependenciesReturnsOnCall(i int, result1 []pivnet.ReleaseDependency, result2 error)
func (*FakePivnetClient) ReleaseUpgradePaths ¶ added in v0.20.0
func (fake *FakePivnetClient) ReleaseUpgradePaths(productSlug string, releaseID int) ([]pivnet.ReleaseUpgradePath, error)
func (*FakePivnetClient) ReleaseUpgradePathsArgsForCall ¶ added in v0.20.0
func (fake *FakePivnetClient) ReleaseUpgradePathsArgsForCall(i int) (string, int)
func (*FakePivnetClient) ReleaseUpgradePathsCallCount ¶ added in v0.20.0
func (fake *FakePivnetClient) ReleaseUpgradePathsCallCount() int
func (*FakePivnetClient) ReleaseUpgradePathsReturns ¶ added in v0.20.0
func (fake *FakePivnetClient) ReleaseUpgradePathsReturns(result1 []pivnet.ReleaseUpgradePath, result2 error)
func (*FakePivnetClient) ReleaseUpgradePathsReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) ReleaseUpgradePathsReturnsOnCall(i int, result1 []pivnet.ReleaseUpgradePath, result2 error)
func (*FakePivnetClient) UpgradePathSpecifiers ¶ added in v0.30.6
func (fake *FakePivnetClient) UpgradePathSpecifiers(productSlug string, releaseID int) ([]pivnet.UpgradePathSpecifier, error)
func (*FakePivnetClient) UpgradePathSpecifiersArgsForCall ¶ added in v0.30.6
func (fake *FakePivnetClient) UpgradePathSpecifiersArgsForCall(i int) (string, int)
func (*FakePivnetClient) UpgradePathSpecifiersCallCount ¶ added in v0.30.6
func (fake *FakePivnetClient) UpgradePathSpecifiersCallCount() int
func (*FakePivnetClient) UpgradePathSpecifiersReturns ¶ added in v0.30.6
func (fake *FakePivnetClient) UpgradePathSpecifiersReturns(result1 []pivnet.UpgradePathSpecifier, result2 error)
func (*FakePivnetClient) UpgradePathSpecifiersReturnsOnCall ¶ added in v0.30.6
func (fake *FakePivnetClient) UpgradePathSpecifiersReturnsOnCall(i int, result1 []pivnet.UpgradePathSpecifier, result2 error)
Click to show internal directories.
Click to hide internal directories.