Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) Token(arg1 string) (string, error)
- func (fake *FakeClient) TokenArgsForCall(i int) string
- func (fake *FakeClient) TokenCallCount() int
- func (fake *FakeClient) TokenCalls(stub func(string) (string, error))
- func (fake *FakeClient) TokenReturns(result1 string, result2 error)
- func (fake *FakeClient) TokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) WithAPIKey(arg1 string)
- func (fake *FakeClient) WithAPIKeyArgsForCall(i int) string
- func (fake *FakeClient) WithAPIKeyCallCount() int
- func (fake *FakeClient) WithAPIKeyCalls(stub func(string))
- func (fake *FakeClient) WithShortExpiration(arg1 int)
- func (fake *FakeClient) WithShortExpirationArgsForCall(i int) int
- func (fake *FakeClient) WithShortExpirationCallCount() int
- func (fake *FakeClient) WithShortExpirationCalls(stub func(int))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { TokenStub func(string) (string, error) WithAPIKeyStub func(string) WithShortExpirationStub func(int) // contains filtered or unexported fields }
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) TokenArgsForCall ¶
func (fake *FakeClient) TokenArgsForCall(i int) string
func (*FakeClient) TokenCallCount ¶
func (fake *FakeClient) TokenCallCount() int
func (*FakeClient) TokenCalls ¶
func (fake *FakeClient) TokenCalls(stub func(string) (string, error))
func (*FakeClient) TokenReturns ¶
func (fake *FakeClient) TokenReturns(result1 string, result2 error)
func (*FakeClient) TokenReturnsOnCall ¶
func (fake *FakeClient) TokenReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) WithAPIKey ¶
func (fake *FakeClient) WithAPIKey(arg1 string)
func (*FakeClient) WithAPIKeyArgsForCall ¶
func (fake *FakeClient) WithAPIKeyArgsForCall(i int) string
func (*FakeClient) WithAPIKeyCallCount ¶
func (fake *FakeClient) WithAPIKeyCallCount() int
func (*FakeClient) WithAPIKeyCalls ¶
func (fake *FakeClient) WithAPIKeyCalls(stub func(string))
func (*FakeClient) WithShortExpiration ¶ added in v1.0.0
func (fake *FakeClient) WithShortExpiration(arg1 int)
func (*FakeClient) WithShortExpirationArgsForCall ¶ added in v1.0.0
func (fake *FakeClient) WithShortExpirationArgsForCall(i int) int
func (*FakeClient) WithShortExpirationCallCount ¶ added in v1.0.0
func (fake *FakeClient) WithShortExpirationCallCount() int
func (*FakeClient) WithShortExpirationCalls ¶ added in v1.0.0
func (fake *FakeClient) WithShortExpirationCalls(stub func(int))
Click to show internal directories.
Click to hide internal directories.