Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeRequestLoggerOutput
- func (fake *FakeRequestLoggerOutput) DisplayHeader(name string, value string) error
- func (fake *FakeRequestLoggerOutput) DisplayHeaderArgsForCall(i int) (string, string)
- func (fake *FakeRequestLoggerOutput) DisplayHeaderCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayHeaderReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayHost(name string) error
- func (fake *FakeRequestLoggerOutput) DisplayHostArgsForCall(i int) string
- func (fake *FakeRequestLoggerOutput) DisplayHostCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayHostReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayHostReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayJSONBody(body []byte) error
- func (fake *FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall(i int) []byte
- func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayRequestHeader(method string, uri string, httpProtocol string) error
- func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall(i int) (string, string, string)
- func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayResponseHeader(httpProtocol string, status string) error
- func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall(i int) (string, string)
- func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayType(name string, requestDate time.Time) error
- func (fake *FakeRequestLoggerOutput) DisplayTypeArgsForCall(i int) (string, time.Time)
- func (fake *FakeRequestLoggerOutput) DisplayTypeCallCount() int
- func (fake *FakeRequestLoggerOutput) DisplayTypeReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) DisplayTypeReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) HandleInternalError(err error)
- func (fake *FakeRequestLoggerOutput) HandleInternalErrorArgsForCall(i int) error
- func (fake *FakeRequestLoggerOutput) HandleInternalErrorCallCount() int
- func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{}
- func (fake *FakeRequestLoggerOutput) Start() error
- func (fake *FakeRequestLoggerOutput) StartCallCount() int
- func (fake *FakeRequestLoggerOutput) StartReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeRequestLoggerOutput) Stop() error
- func (fake *FakeRequestLoggerOutput) StopCallCount() int
- func (fake *FakeRequestLoggerOutput) StopReturns(result1 error)
- func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error)
- type FakeTokenCache
- func (fake *FakeTokenCache) AccessToken() string
- func (fake *FakeTokenCache) AccessTokenCallCount() int
- func (fake *FakeTokenCache) AccessTokenReturns(result1 string)
- func (fake *FakeTokenCache) AccessTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
- func (fake *FakeTokenCache) RefreshToken() string
- func (fake *FakeTokenCache) RefreshTokenCallCount() int
- func (fake *FakeTokenCache) RefreshTokenReturns(result1 string)
- func (fake *FakeTokenCache) RefreshTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeTokenCache) SetAccessToken(token string)
- func (fake *FakeTokenCache) SetAccessTokenArgsForCall(i int) string
- func (fake *FakeTokenCache) SetAccessTokenCallCount() int
- func (fake *FakeTokenCache) SetRefreshToken(token string)
- func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string
- func (fake *FakeTokenCache) SetRefreshTokenCallCount() int
- type FakeUAAClient
- func (fake *FakeUAAClient) Invocations() map[string][][]interface{}
- func (fake *FakeUAAClient) RefreshAccessToken(refreshToken string) (uaa.RefreshToken, error)
- func (fake *FakeUAAClient) RefreshAccessTokenArgsForCall(i int) string
- func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int
- func (fake *FakeUAAClient) RefreshAccessTokenReturns(result1 uaa.RefreshToken, result2 error)
- func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.RefreshToken, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRequestLoggerOutput ¶
type FakeRequestLoggerOutput struct { DisplayJSONBodyStub func(body []byte) error DisplayHeaderStub func(name string, value string) error DisplayHostStub func(name string) error DisplayRequestHeaderStub func(method string, uri string, httpProtocol string) error DisplayResponseHeaderStub func(httpProtocol string, status string) error DisplayTypeStub func(name string, requestDate time.Time) error HandleInternalErrorStub func(err error) StartStub func() error StopStub func() error // contains filtered or unexported fields }
func (*FakeRequestLoggerOutput) DisplayHeader ¶
func (fake *FakeRequestLoggerOutput) DisplayHeader(name string, value string) error
func (*FakeRequestLoggerOutput) DisplayHeaderArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayHeaderArgsForCall(i int) (string, string)
func (*FakeRequestLoggerOutput) DisplayHeaderCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayHeaderCallCount() int
func (*FakeRequestLoggerOutput) DisplayHeaderReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayHeaderReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayHeaderReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) DisplayHost ¶
func (fake *FakeRequestLoggerOutput) DisplayHost(name string) error
func (*FakeRequestLoggerOutput) DisplayHostArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayHostArgsForCall(i int) string
func (*FakeRequestLoggerOutput) DisplayHostCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayHostCallCount() int
func (*FakeRequestLoggerOutput) DisplayHostReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayHostReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayHostReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayHostReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) DisplayJSONBody ¶
func (fake *FakeRequestLoggerOutput) DisplayJSONBody(body []byte) error
func (*FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayJSONBodyArgsForCall(i int) []byte
func (*FakeRequestLoggerOutput) DisplayJSONBodyCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayJSONBodyCallCount() int
func (*FakeRequestLoggerOutput) DisplayJSONBodyReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayJSONBodyReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) DisplayRequestHeader ¶
func (fake *FakeRequestLoggerOutput) DisplayRequestHeader(method string, uri string, httpProtocol string) error
func (*FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderArgsForCall(i int) (string, string, string)
func (*FakeRequestLoggerOutput) DisplayRequestHeaderCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderCallCount() int
func (*FakeRequestLoggerOutput) DisplayRequestHeaderReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayRequestHeaderReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) DisplayResponseHeader ¶
func (fake *FakeRequestLoggerOutput) DisplayResponseHeader(httpProtocol string, status string) error
func (*FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderArgsForCall(i int) (string, string)
func (*FakeRequestLoggerOutput) DisplayResponseHeaderCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderCallCount() int
func (*FakeRequestLoggerOutput) DisplayResponseHeaderReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayResponseHeaderReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) DisplayType ¶
func (fake *FakeRequestLoggerOutput) DisplayType(name string, requestDate time.Time) error
func (*FakeRequestLoggerOutput) DisplayTypeArgsForCall ¶
func (fake *FakeRequestLoggerOutput) DisplayTypeArgsForCall(i int) (string, time.Time)
func (*FakeRequestLoggerOutput) DisplayTypeCallCount ¶
func (fake *FakeRequestLoggerOutput) DisplayTypeCallCount() int
func (*FakeRequestLoggerOutput) DisplayTypeReturns ¶
func (fake *FakeRequestLoggerOutput) DisplayTypeReturns(result1 error)
func (*FakeRequestLoggerOutput) DisplayTypeReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) DisplayTypeReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) HandleInternalError ¶
func (fake *FakeRequestLoggerOutput) HandleInternalError(err error)
func (*FakeRequestLoggerOutput) HandleInternalErrorArgsForCall ¶
func (fake *FakeRequestLoggerOutput) HandleInternalErrorArgsForCall(i int) error
func (*FakeRequestLoggerOutput) HandleInternalErrorCallCount ¶
func (fake *FakeRequestLoggerOutput) HandleInternalErrorCallCount() int
func (*FakeRequestLoggerOutput) Invocations ¶
func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{}
func (*FakeRequestLoggerOutput) Start ¶
func (fake *FakeRequestLoggerOutput) Start() error
func (*FakeRequestLoggerOutput) StartCallCount ¶
func (fake *FakeRequestLoggerOutput) StartCallCount() int
func (*FakeRequestLoggerOutput) StartReturns ¶
func (fake *FakeRequestLoggerOutput) StartReturns(result1 error)
func (*FakeRequestLoggerOutput) StartReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) StartReturnsOnCall(i int, result1 error)
func (*FakeRequestLoggerOutput) Stop ¶
func (fake *FakeRequestLoggerOutput) Stop() error
func (*FakeRequestLoggerOutput) StopCallCount ¶
func (fake *FakeRequestLoggerOutput) StopCallCount() int
func (*FakeRequestLoggerOutput) StopReturns ¶
func (fake *FakeRequestLoggerOutput) StopReturns(result1 error)
func (*FakeRequestLoggerOutput) StopReturnsOnCall ¶
func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error)
type FakeTokenCache ¶
type FakeTokenCache struct { AccessTokenStub func() string RefreshTokenStub func() string SetAccessTokenStub func(token string) SetRefreshTokenStub func(token string) // contains filtered or unexported fields }
func (*FakeTokenCache) AccessToken ¶
func (fake *FakeTokenCache) AccessToken() string
func (*FakeTokenCache) AccessTokenCallCount ¶
func (fake *FakeTokenCache) AccessTokenCallCount() int
func (*FakeTokenCache) AccessTokenReturns ¶
func (fake *FakeTokenCache) AccessTokenReturns(result1 string)
func (*FakeTokenCache) AccessTokenReturnsOnCall ¶
func (fake *FakeTokenCache) AccessTokenReturnsOnCall(i int, result1 string)
func (*FakeTokenCache) Invocations ¶
func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
func (*FakeTokenCache) RefreshToken ¶
func (fake *FakeTokenCache) RefreshToken() string
func (*FakeTokenCache) RefreshTokenCallCount ¶
func (fake *FakeTokenCache) RefreshTokenCallCount() int
func (*FakeTokenCache) RefreshTokenReturns ¶
func (fake *FakeTokenCache) RefreshTokenReturns(result1 string)
func (*FakeTokenCache) RefreshTokenReturnsOnCall ¶
func (fake *FakeTokenCache) RefreshTokenReturnsOnCall(i int, result1 string)
func (*FakeTokenCache) SetAccessToken ¶
func (fake *FakeTokenCache) SetAccessToken(token string)
func (*FakeTokenCache) SetAccessTokenArgsForCall ¶
func (fake *FakeTokenCache) SetAccessTokenArgsForCall(i int) string
func (*FakeTokenCache) SetAccessTokenCallCount ¶
func (fake *FakeTokenCache) SetAccessTokenCallCount() int
func (*FakeTokenCache) SetRefreshToken ¶
func (fake *FakeTokenCache) SetRefreshToken(token string)
func (*FakeTokenCache) SetRefreshTokenArgsForCall ¶
func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string
func (*FakeTokenCache) SetRefreshTokenCallCount ¶
func (fake *FakeTokenCache) SetRefreshTokenCallCount() int
type FakeUAAClient ¶
type FakeUAAClient struct { RefreshAccessTokenStub func(refreshToken string) (uaa.RefreshToken, error) // contains filtered or unexported fields }
func (*FakeUAAClient) Invocations ¶
func (fake *FakeUAAClient) Invocations() map[string][][]interface{}
func (*FakeUAAClient) RefreshAccessToken ¶
func (fake *FakeUAAClient) RefreshAccessToken(refreshToken string) (uaa.RefreshToken, error)
func (*FakeUAAClient) RefreshAccessTokenArgsForCall ¶
func (fake *FakeUAAClient) RefreshAccessTokenArgsForCall(i int) string
func (*FakeUAAClient) RefreshAccessTokenCallCount ¶
func (fake *FakeUAAClient) RefreshAccessTokenCallCount() int
func (*FakeUAAClient) RefreshAccessTokenReturns ¶
func (fake *FakeUAAClient) RefreshAccessTokenReturns(result1 uaa.RefreshToken, result2 error)
func (*FakeUAAClient) RefreshAccessTokenReturnsOnCall ¶
func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.RefreshToken, result2 error)
Click to show internal directories.
Click to hide internal directories.