Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) ClientCredentials() (*auth.Token, error)
- func (fake *FakeAuthenticator) ClientCredentialsCallCount() int
- func (fake *FakeAuthenticator) ClientCredentialsCalls(stub func() (*auth.Token, error))
- func (fake *FakeAuthenticator) ClientCredentialsReturns(result1 *auth.Token, result2 error)
- func (fake *FakeAuthenticator) ClientCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- func (fake *FakeAuthenticator) PasswordCredentials(arg1 string, arg2 string) (*auth.Token, error)
- func (fake *FakeAuthenticator) PasswordCredentialsArgsForCall(i int) (string, string)
- func (fake *FakeAuthenticator) PasswordCredentialsCallCount() int
- func (fake *FakeAuthenticator) PasswordCredentialsCalls(stub func(string, string) (*auth.Token, error))
- func (fake *FakeAuthenticator) PasswordCredentialsReturns(result1 *auth.Token, result2 error)
- func (fake *FakeAuthenticator) PasswordCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)
- type FakeClient
- func (fake *FakeClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeClient) DoCallCount() int
- func (fake *FakeClient) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeClient) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { ClientCredentialsStub func() (*auth.Token, error) PasswordCredentialsStub func(string, string) (*auth.Token, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) ClientCredentials ¶
func (fake *FakeAuthenticator) ClientCredentials() (*auth.Token, error)
func (*FakeAuthenticator) ClientCredentialsCallCount ¶
func (fake *FakeAuthenticator) ClientCredentialsCallCount() int
func (*FakeAuthenticator) ClientCredentialsCalls ¶
func (fake *FakeAuthenticator) ClientCredentialsCalls(stub func() (*auth.Token, error))
func (*FakeAuthenticator) ClientCredentialsReturns ¶
func (fake *FakeAuthenticator) ClientCredentialsReturns(result1 *auth.Token, result2 error)
func (*FakeAuthenticator) ClientCredentialsReturnsOnCall ¶
func (fake *FakeAuthenticator) ClientCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)
func (*FakeAuthenticator) Invocations ¶
func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
func (*FakeAuthenticator) PasswordCredentials ¶
func (*FakeAuthenticator) PasswordCredentialsArgsForCall ¶
func (fake *FakeAuthenticator) PasswordCredentialsArgsForCall(i int) (string, string)
func (*FakeAuthenticator) PasswordCredentialsCallCount ¶
func (fake *FakeAuthenticator) PasswordCredentialsCallCount() int
func (*FakeAuthenticator) PasswordCredentialsCalls ¶
func (*FakeAuthenticator) PasswordCredentialsReturns ¶
func (fake *FakeAuthenticator) PasswordCredentialsReturns(result1 *auth.Token, result2 error)
func (*FakeAuthenticator) PasswordCredentialsReturnsOnCall ¶
func (fake *FakeAuthenticator) PasswordCredentialsReturnsOnCall(i int, result1 *auth.Token, result2 error)
type FakeClient ¶
type FakeClient struct { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeClient) DoArgsForCall ¶
func (fake *FakeClient) DoArgsForCall(i int) *http.Request
func (*FakeClient) DoCallCount ¶
func (fake *FakeClient) DoCallCount() int
func (*FakeClient) DoReturns ¶
func (fake *FakeClient) DoReturns(result1 *http.Response, result2 error)
func (*FakeClient) DoReturnsOnCall ¶
func (fake *FakeClient) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.