Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeFilter
- func (fake *FakeFilter) Invocations() map[string][][]interface{}
- func (fake *FakeFilter) ReleasesByReleaseType(releases []pivnet.Release, releaseType pivnet.ReleaseType) ([]pivnet.Release, error)
- func (fake *FakeFilter) ReleasesByReleaseTypeArgsForCall(i int) ([]pivnet.Release, pivnet.ReleaseType)
- func (fake *FakeFilter) ReleasesByReleaseTypeCallCount() int
- func (fake *FakeFilter) ReleasesByReleaseTypeReturns(result1 []pivnet.Release, result2 error)
- func (fake *FakeFilter) ReleasesByVersion(releases []pivnet.Release, version string) ([]pivnet.Release, error)
- func (fake *FakeFilter) ReleasesByVersionArgsForCall(i int) ([]pivnet.Release, string)
- func (fake *FakeFilter) ReleasesByVersionCallCount() int
- func (fake *FakeFilter) ReleasesByVersionReturns(result1 []pivnet.Release, result2 error)
- type FakePivnetClient
- func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
- func (fake *FakePivnetClient) ProductVersions(productSlug string, releases []pivnet.Release) ([]string, error)
- func (fake *FakePivnetClient) ProductVersionsArgsForCall(i int) (string, []pivnet.Release)
- func (fake *FakePivnetClient) ProductVersionsCallCount() int
- func (fake *FakePivnetClient) ProductVersionsReturns(result1 []string, result2 error)
- func (fake *FakePivnetClient) ReleaseETag(productSlug string, releaseID int) (string, error)
- func (fake *FakePivnetClient) ReleaseETagArgsForCall(i int) (string, int)
- func (fake *FakePivnetClient) ReleaseETagCallCount() int
- func (fake *FakePivnetClient) ReleaseETagReturns(result1 string, result2 error)
- func (fake *FakePivnetClient) ReleaseTypes() ([]pivnet.ReleaseType, error)
- func (fake *FakePivnetClient) ReleaseTypesCallCount() int
- func (fake *FakePivnetClient) ReleaseTypesReturns(result1 []pivnet.ReleaseType, result2 error)
- func (fake *FakePivnetClient) ReleasesForProductSlug(arg1 string) ([]pivnet.Release, error)
- func (fake *FakePivnetClient) ReleasesForProductSlugArgsForCall(i int) string
- func (fake *FakePivnetClient) ReleasesForProductSlugCallCount() int
- func (fake *FakePivnetClient) ReleasesForProductSlugReturns(result1 []pivnet.Release, result2 error)
- type FakeSorter
- func (fake *FakeSorter) Invocations() map[string][][]interface{}
- func (fake *FakeSorter) SortBySemver(arg1 []pivnet.Release) ([]pivnet.Release, error)
- func (fake *FakeSorter) SortBySemverArgsForCall(i int) []pivnet.Release
- func (fake *FakeSorter) SortBySemverCallCount() int
- func (fake *FakeSorter) SortBySemverReturns(result1 []pivnet.Release, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFilter ¶
type FakeFilter struct { ReleasesByReleaseTypeStub func(releases []pivnet.Release, releaseType pivnet.ReleaseType) ([]pivnet.Release, error) ReleasesByVersionStub func(releases []pivnet.Release, version string) ([]pivnet.Release, error) // contains filtered or unexported fields }
func (*FakeFilter) Invocations ¶
func (fake *FakeFilter) Invocations() map[string][][]interface{}
func (*FakeFilter) ReleasesByReleaseType ¶
func (fake *FakeFilter) ReleasesByReleaseType(releases []pivnet.Release, releaseType pivnet.ReleaseType) ([]pivnet.Release, error)
func (*FakeFilter) ReleasesByReleaseTypeArgsForCall ¶
func (fake *FakeFilter) ReleasesByReleaseTypeArgsForCall(i int) ([]pivnet.Release, pivnet.ReleaseType)
func (*FakeFilter) ReleasesByReleaseTypeCallCount ¶
func (fake *FakeFilter) ReleasesByReleaseTypeCallCount() int
func (*FakeFilter) ReleasesByReleaseTypeReturns ¶
func (fake *FakeFilter) ReleasesByReleaseTypeReturns(result1 []pivnet.Release, result2 error)
func (*FakeFilter) ReleasesByVersion ¶
func (fake *FakeFilter) ReleasesByVersion(releases []pivnet.Release, version string) ([]pivnet.Release, error)
func (*FakeFilter) ReleasesByVersionArgsForCall ¶
func (fake *FakeFilter) ReleasesByVersionArgsForCall(i int) ([]pivnet.Release, string)
func (*FakeFilter) ReleasesByVersionCallCount ¶
func (fake *FakeFilter) ReleasesByVersionCallCount() int
func (*FakeFilter) ReleasesByVersionReturns ¶
func (fake *FakeFilter) ReleasesByVersionReturns(result1 []pivnet.Release, result2 error)
type FakePivnetClient ¶
type FakePivnetClient struct { ReleaseTypesStub func() ([]pivnet.ReleaseType, error) ReleasesForProductSlugStub func(string) ([]pivnet.Release, error) ProductVersionsStub func(productSlug string, releases []pivnet.Release) ([]string, error) ReleaseETagStub func(productSlug string, releaseID int) (string, error) // contains filtered or unexported fields }
func (*FakePivnetClient) Invocations ¶
func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
func (*FakePivnetClient) ProductVersions ¶
func (fake *FakePivnetClient) ProductVersions(productSlug string, releases []pivnet.Release) ([]string, error)
func (*FakePivnetClient) ProductVersionsArgsForCall ¶
func (fake *FakePivnetClient) ProductVersionsArgsForCall(i int) (string, []pivnet.Release)
func (*FakePivnetClient) ProductVersionsCallCount ¶
func (fake *FakePivnetClient) ProductVersionsCallCount() int
func (*FakePivnetClient) ProductVersionsReturns ¶
func (fake *FakePivnetClient) ProductVersionsReturns(result1 []string, result2 error)
func (*FakePivnetClient) ReleaseETag ¶
func (fake *FakePivnetClient) ReleaseETag(productSlug string, releaseID int) (string, error)
func (*FakePivnetClient) ReleaseETagArgsForCall ¶
func (fake *FakePivnetClient) ReleaseETagArgsForCall(i int) (string, int)
func (*FakePivnetClient) ReleaseETagCallCount ¶
func (fake *FakePivnetClient) ReleaseETagCallCount() int
func (*FakePivnetClient) ReleaseETagReturns ¶
func (fake *FakePivnetClient) ReleaseETagReturns(result1 string, result2 error)
func (*FakePivnetClient) ReleaseTypes ¶
func (fake *FakePivnetClient) ReleaseTypes() ([]pivnet.ReleaseType, error)
func (*FakePivnetClient) ReleaseTypesCallCount ¶
func (fake *FakePivnetClient) ReleaseTypesCallCount() int
func (*FakePivnetClient) ReleaseTypesReturns ¶
func (fake *FakePivnetClient) ReleaseTypesReturns(result1 []pivnet.ReleaseType, result2 error)
func (*FakePivnetClient) ReleasesForProductSlug ¶
func (fake *FakePivnetClient) ReleasesForProductSlug(arg1 string) ([]pivnet.Release, error)
func (*FakePivnetClient) ReleasesForProductSlugArgsForCall ¶
func (fake *FakePivnetClient) ReleasesForProductSlugArgsForCall(i int) string
func (*FakePivnetClient) ReleasesForProductSlugCallCount ¶
func (fake *FakePivnetClient) ReleasesForProductSlugCallCount() int
func (*FakePivnetClient) ReleasesForProductSlugReturns ¶
func (fake *FakePivnetClient) ReleasesForProductSlugReturns(result1 []pivnet.Release, result2 error)
type FakeSorter ¶
type FakeSorter struct { SortBySemverStub func([]pivnet.Release) ([]pivnet.Release, error) // contains filtered or unexported fields }
func (*FakeSorter) Invocations ¶
func (fake *FakeSorter) Invocations() map[string][][]interface{}
func (*FakeSorter) SortBySemver ¶
func (fake *FakeSorter) SortBySemver(arg1 []pivnet.Release) ([]pivnet.Release, error)
func (*FakeSorter) SortBySemverArgsForCall ¶
func (fake *FakeSorter) SortBySemverArgsForCall(i int) []pivnet.Release
func (*FakeSorter) SortBySemverCallCount ¶
func (fake *FakeSorter) SortBySemverCallCount() int
func (*FakeSorter) SortBySemverReturns ¶
func (fake *FakeSorter) SortBySemverReturns(result1 []pivnet.Release, result2 error)
Click to show internal directories.
Click to hide internal directories.