Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakePivnetClient
- func (fake *FakePivnetClient) FindProductForSlug(arg1 string) (pivnet.Product, error)
- func (fake *FakePivnetClient) FindProductForSlugArgsForCall(i int) string
- func (fake *FakePivnetClient) FindProductForSlugCallCount() int
- func (fake *FakePivnetClient) FindProductForSlugCalls(stub func(string) (pivnet.Product, error))
- func (fake *FakePivnetClient) FindProductForSlugReturns(result1 pivnet.Product, result2 error)
- func (fake *FakePivnetClient) FindProductForSlugReturnsOnCall(i int, result1 pivnet.Product, result2 error)
- func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
- func (fake *FakePivnetClient) Products() ([]pivnet.Product, error)
- func (fake *FakePivnetClient) ProductsCallCount() int
- func (fake *FakePivnetClient) ProductsCalls(stub func() ([]pivnet.Product, error))
- func (fake *FakePivnetClient) ProductsReturns(result1 []pivnet.Product, result2 error)
- func (fake *FakePivnetClient) ProductsReturnsOnCall(i int, result1 []pivnet.Product, result2 error)
- func (fake *FakePivnetClient) SlugAlias(arg1 string) (pivnet.SlugAliasResponse, error)
- func (fake *FakePivnetClient) SlugAliasArgsForCall(i int) string
- func (fake *FakePivnetClient) SlugAliasCallCount() int
- func (fake *FakePivnetClient) SlugAliasCalls(stub func(string) (pivnet.SlugAliasResponse, error))
- func (fake *FakePivnetClient) SlugAliasReturns(result1 pivnet.SlugAliasResponse, result2 error)
- func (fake *FakePivnetClient) SlugAliasReturnsOnCall(i int, result1 pivnet.SlugAliasResponse, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePivnetClient ¶
type FakePivnetClient struct { FindProductForSlugStub func(string) (pivnet.Product, error) ProductsStub func() ([]pivnet.Product, error) SlugAliasStub func(string) (pivnet.SlugAliasResponse, error) // contains filtered or unexported fields }
func (*FakePivnetClient) FindProductForSlug ¶
func (fake *FakePivnetClient) FindProductForSlug(arg1 string) (pivnet.Product, error)
func (*FakePivnetClient) FindProductForSlugArgsForCall ¶
func (fake *FakePivnetClient) FindProductForSlugArgsForCall(i int) string
func (*FakePivnetClient) FindProductForSlugCallCount ¶
func (fake *FakePivnetClient) FindProductForSlugCallCount() int
func (*FakePivnetClient) FindProductForSlugCalls ¶ added in v0.0.69
func (fake *FakePivnetClient) FindProductForSlugCalls(stub func(string) (pivnet.Product, error))
func (*FakePivnetClient) FindProductForSlugReturns ¶
func (fake *FakePivnetClient) FindProductForSlugReturns(result1 pivnet.Product, result2 error)
func (*FakePivnetClient) FindProductForSlugReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) FindProductForSlugReturnsOnCall(i int, result1 pivnet.Product, result2 error)
func (*FakePivnetClient) Invocations ¶
func (fake *FakePivnetClient) Invocations() map[string][][]interface{}
func (*FakePivnetClient) Products ¶
func (fake *FakePivnetClient) Products() ([]pivnet.Product, error)
func (*FakePivnetClient) ProductsCallCount ¶
func (fake *FakePivnetClient) ProductsCallCount() int
func (*FakePivnetClient) ProductsCalls ¶ added in v0.0.69
func (fake *FakePivnetClient) ProductsCalls(stub func() ([]pivnet.Product, error))
func (*FakePivnetClient) ProductsReturns ¶
func (fake *FakePivnetClient) ProductsReturns(result1 []pivnet.Product, result2 error)
func (*FakePivnetClient) ProductsReturnsOnCall ¶ added in v0.0.57
func (fake *FakePivnetClient) ProductsReturnsOnCall(i int, result1 []pivnet.Product, result2 error)
func (*FakePivnetClient) SlugAlias ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAlias(arg1 string) (pivnet.SlugAliasResponse, error)
func (*FakePivnetClient) SlugAliasArgsForCall ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAliasArgsForCall(i int) string
func (*FakePivnetClient) SlugAliasCallCount ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAliasCallCount() int
func (*FakePivnetClient) SlugAliasCalls ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAliasCalls(stub func(string) (pivnet.SlugAliasResponse, error))
func (*FakePivnetClient) SlugAliasReturns ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAliasReturns(result1 pivnet.SlugAliasResponse, result2 error)
func (*FakePivnetClient) SlugAliasReturnsOnCall ¶ added in v0.0.69
func (fake *FakePivnetClient) SlugAliasReturnsOnCall(i int, result1 pivnet.SlugAliasResponse, result2 error)
Click to show internal directories.
Click to hide internal directories.