Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeRepository
- func (fake *FakeRepository) Authenticate(credentials map[string]string) (apiErr error)
- func (fake *FakeRepository) AuthenticateArgsForCall(i int) map[string]string
- func (fake *FakeRepository) AuthenticateCallCount() int
- func (fake *FakeRepository) AuthenticateReturns(result1 error)
- func (fake *FakeRepository) Authorize(token string) (string, error)
- func (fake *FakeRepository) AuthorizeArgsForCall(i int) string
- func (fake *FakeRepository) AuthorizeCallCount() int
- func (fake *FakeRepository) AuthorizeReturns(result1 string, result2 error)
- func (fake *FakeRepository) DumpRequest(arg1 *http.Request)
- func (fake *FakeRepository) DumpRequestArgsForCall(i int) *http.Request
- func (fake *FakeRepository) DumpRequestCallCount() int
- func (fake *FakeRepository) DumpResponse(arg1 *http.Response)
- func (fake *FakeRepository) DumpResponseArgsForCall(i int) *http.Response
- func (fake *FakeRepository) DumpResponseCallCount() int
- func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error)
- func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
- func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) RefreshAuthToken() (updatedToken string, apiErr error)
- func (fake *FakeRepository) RefreshAuthTokenCallCount() int
- func (fake *FakeRepository) RefreshAuthTokenReturns(result1 string, result2 error)
- type FakeTokenRefresher
- func (fake *FakeTokenRefresher) Invocations() map[string][][]interface{}
- func (fake *FakeTokenRefresher) RefreshAuthToken() (updatedToken string, apiErr error)
- func (fake *FakeTokenRefresher) RefreshAuthTokenCallCount() int
- func (fake *FakeTokenRefresher) RefreshAuthTokenReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct { DumpRequestStub func(*http.Request) DumpResponseStub func(*http.Response) RefreshAuthTokenStub func() (updatedToken string, apiErr error) AuthenticateStub func(credentials map[string]string) (apiErr error) AuthorizeStub func(token string) (string, error) GetLoginPromptsAndSaveUAAServerURLStub func() (map[string]coreconfig.AuthPrompt, error) // contains filtered or unexported fields }
func (*FakeRepository) Authenticate ¶
func (fake *FakeRepository) Authenticate(credentials map[string]string) (apiErr error)
func (*FakeRepository) AuthenticateArgsForCall ¶
func (fake *FakeRepository) AuthenticateArgsForCall(i int) map[string]string
func (*FakeRepository) AuthenticateCallCount ¶
func (fake *FakeRepository) AuthenticateCallCount() int
func (*FakeRepository) AuthenticateReturns ¶
func (fake *FakeRepository) AuthenticateReturns(result1 error)
func (*FakeRepository) Authorize ¶
func (fake *FakeRepository) Authorize(token string) (string, error)
func (*FakeRepository) AuthorizeArgsForCall ¶
func (fake *FakeRepository) AuthorizeArgsForCall(i int) string
func (*FakeRepository) AuthorizeCallCount ¶
func (fake *FakeRepository) AuthorizeCallCount() int
func (*FakeRepository) AuthorizeReturns ¶
func (fake *FakeRepository) AuthorizeReturns(result1 string, result2 error)
func (*FakeRepository) DumpRequest ¶
func (fake *FakeRepository) DumpRequest(arg1 *http.Request)
func (*FakeRepository) DumpRequestArgsForCall ¶
func (fake *FakeRepository) DumpRequestArgsForCall(i int) *http.Request
func (*FakeRepository) DumpRequestCallCount ¶
func (fake *FakeRepository) DumpRequestCallCount() int
func (*FakeRepository) DumpResponse ¶
func (fake *FakeRepository) DumpResponse(arg1 *http.Response)
func (*FakeRepository) DumpResponseArgsForCall ¶
func (fake *FakeRepository) DumpResponseArgsForCall(i int) *http.Response
func (*FakeRepository) DumpResponseCallCount ¶
func (fake *FakeRepository) DumpResponseCallCount() int
func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURL ¶
func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURL() (map[string]coreconfig.AuthPrompt, error)
func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount ¶
func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLCallCount() int
func (*FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns ¶
func (fake *FakeRepository) GetLoginPromptsAndSaveUAAServerURLReturns(result1 map[string]coreconfig.AuthPrompt, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) RefreshAuthToken ¶
func (fake *FakeRepository) RefreshAuthToken() (updatedToken string, apiErr error)
func (*FakeRepository) RefreshAuthTokenCallCount ¶
func (fake *FakeRepository) RefreshAuthTokenCallCount() int
func (*FakeRepository) RefreshAuthTokenReturns ¶
func (fake *FakeRepository) RefreshAuthTokenReturns(result1 string, result2 error)
type FakeTokenRefresher ¶
type FakeTokenRefresher struct { RefreshAuthTokenStub func() (updatedToken string, apiErr error) // contains filtered or unexported fields }
func (*FakeTokenRefresher) Invocations ¶
func (fake *FakeTokenRefresher) Invocations() map[string][][]interface{}
func (*FakeTokenRefresher) RefreshAuthToken ¶
func (fake *FakeTokenRefresher) RefreshAuthToken() (updatedToken string, apiErr error)
func (*FakeTokenRefresher) RefreshAuthTokenCallCount ¶
func (fake *FakeTokenRefresher) RefreshAuthTokenCallCount() int
func (*FakeTokenRefresher) RefreshAuthTokenReturns ¶
func (fake *FakeTokenRefresher) RefreshAuthTokenReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.