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 FakeAccessToken
- func (fake *FakeAccessToken) Invocations() map[string][][]interface{}
- func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error)
- func (fake *FakeAccessToken) RefreshCallCount() int
- func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeAccessToken) RefreshReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- func (fake *FakeAccessToken) RefreshToken() uaa.Token
- func (fake *FakeAccessToken) RefreshTokenCallCount() int
- func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token)
- func (fake *FakeAccessToken) RefreshTokenReturnsOnCall(i int, result1 uaa.Token)
- func (fake *FakeAccessToken) Type() string
- func (fake *FakeAccessToken) TypeCallCount() int
- func (fake *FakeAccessToken) TypeReturns(result1 string)
- func (fake *FakeAccessToken) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeAccessToken) Value() string
- func (fake *FakeAccessToken) ValueCallCount() int
- func (fake *FakeAccessToken) ValueReturns(result1 string)
- func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string)
- type FakeToken
- func (fake *FakeToken) Invocations() map[string][][]interface{}
- func (fake *FakeToken) Type() string
- func (fake *FakeToken) TypeCallCount() int
- func (fake *FakeToken) TypeReturns(result1 string)
- func (fake *FakeToken) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeToken) Value() string
- func (fake *FakeToken) ValueCallCount() int
- func (fake *FakeToken) ValueReturns(result1 string)
- func (fake *FakeToken) ValueReturnsOnCall(i int, result1 string)
- type FakeUAA
- func (fake *FakeUAA) ClientCredentialsGrant() (uaa.Token, error)
- func (fake *FakeUAA) ClientCredentialsGrantCallCount() int
- func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.Token, result2 error)
- func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.Token, result2 error)
- func (fake *FakeUAA) Invocations() map[string][][]interface{}
- func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken
- func (fake *FakeUAA) NewStaleAccessTokenArgsForCall(i int) string
- func (fake *FakeUAA) NewStaleAccessTokenCallCount() int
- func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken)
- func (fake *FakeUAA) NewStaleAccessTokenReturnsOnCall(i int, result1 uaa.StaleAccessToken)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) Prompts() ([]uaa.Prompt, error)
- func (fake *FakeUAA) PromptsCallCount() int
- func (fake *FakeUAA) PromptsReturns(result1 []uaa.Prompt, result2 error)
- func (fake *FakeUAA) PromptsReturnsOnCall(i int, result1 []uaa.Prompt, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAccessToken ¶
type FakeAccessToken struct { TypeStub func() string ValueStub func() string RefreshTokenStub func() uaa.Token RefreshStub func() (uaa.AccessToken, error) // contains filtered or unexported fields }
func (*FakeAccessToken) Invocations ¶
func (fake *FakeAccessToken) Invocations() map[string][][]interface{}
func (*FakeAccessToken) Refresh ¶
func (fake *FakeAccessToken) Refresh() (uaa.AccessToken, error)
func (*FakeAccessToken) RefreshCallCount ¶
func (fake *FakeAccessToken) RefreshCallCount() int
func (*FakeAccessToken) RefreshReturns ¶
func (fake *FakeAccessToken) RefreshReturns(result1 uaa.AccessToken, result2 error)
func (*FakeAccessToken) RefreshReturnsOnCall ¶ added in v2.0.30
func (fake *FakeAccessToken) RefreshReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeAccessToken) RefreshToken ¶
func (fake *FakeAccessToken) RefreshToken() uaa.Token
func (*FakeAccessToken) RefreshTokenCallCount ¶
func (fake *FakeAccessToken) RefreshTokenCallCount() int
func (*FakeAccessToken) RefreshTokenReturns ¶
func (fake *FakeAccessToken) RefreshTokenReturns(result1 uaa.Token)
func (*FakeAccessToken) RefreshTokenReturnsOnCall ¶ added in v2.0.30
func (fake *FakeAccessToken) RefreshTokenReturnsOnCall(i int, result1 uaa.Token)
func (*FakeAccessToken) Type ¶
func (fake *FakeAccessToken) Type() string
func (*FakeAccessToken) TypeCallCount ¶
func (fake *FakeAccessToken) TypeCallCount() int
func (*FakeAccessToken) TypeReturns ¶
func (fake *FakeAccessToken) TypeReturns(result1 string)
func (*FakeAccessToken) TypeReturnsOnCall ¶ added in v2.0.30
func (fake *FakeAccessToken) TypeReturnsOnCall(i int, result1 string)
func (*FakeAccessToken) Value ¶
func (fake *FakeAccessToken) Value() string
func (*FakeAccessToken) ValueCallCount ¶
func (fake *FakeAccessToken) ValueCallCount() int
func (*FakeAccessToken) ValueReturns ¶
func (fake *FakeAccessToken) ValueReturns(result1 string)
func (*FakeAccessToken) ValueReturnsOnCall ¶ added in v2.0.30
func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string)
type FakeToken ¶
type FakeToken struct { TypeStub func() string ValueStub func() string // contains filtered or unexported fields }
func (*FakeToken) Invocations ¶
func (*FakeToken) TypeCallCount ¶
func (*FakeToken) TypeReturns ¶
func (*FakeToken) TypeReturnsOnCall ¶ added in v2.0.30
func (*FakeToken) ValueCallCount ¶
func (*FakeToken) ValueReturns ¶
func (*FakeToken) ValueReturnsOnCall ¶ added in v2.0.30
type FakeUAA ¶
type FakeUAA struct { NewStaleAccessTokenStub func(refreshValue string) uaa.StaleAccessToken PromptsStub func() ([]uaa.Prompt, error) ClientCredentialsGrantStub func() (uaa.Token, error) OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error) // contains filtered or unexported fields }
func (*FakeUAA) ClientCredentialsGrant ¶
func (*FakeUAA) ClientCredentialsGrantCallCount ¶
func (*FakeUAA) ClientCredentialsGrantReturns ¶
func (*FakeUAA) ClientCredentialsGrantReturnsOnCall ¶ added in v2.0.30
func (*FakeUAA) Invocations ¶
func (*FakeUAA) NewStaleAccessToken ¶
func (fake *FakeUAA) NewStaleAccessToken(refreshValue string) uaa.StaleAccessToken
func (*FakeUAA) NewStaleAccessTokenArgsForCall ¶
func (*FakeUAA) NewStaleAccessTokenCallCount ¶
func (*FakeUAA) NewStaleAccessTokenReturns ¶
func (fake *FakeUAA) NewStaleAccessTokenReturns(result1 uaa.StaleAccessToken)
func (*FakeUAA) NewStaleAccessTokenReturnsOnCall ¶ added in v2.0.30
func (fake *FakeUAA) NewStaleAccessTokenReturnsOnCall(i int, result1 uaa.StaleAccessToken)
func (*FakeUAA) OwnerPasswordCredentialsGrant ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.PromptAnswer) (uaa.AccessToken, error)
func (*FakeUAA) OwnerPasswordCredentialsGrantArgsForCall ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.PromptAnswer
func (*FakeUAA) OwnerPasswordCredentialsGrantCallCount ¶
func (*FakeUAA) OwnerPasswordCredentialsGrantReturns ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall ¶ added in v2.0.30
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeUAA) PromptsCallCount ¶
func (*FakeUAA) PromptsReturns ¶
Click to show internal directories.
Click to hide internal directories.