Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
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) IsValid() bool
- func (fake *FakeAccessToken) IsValidCallCount() int
- func (fake *FakeAccessToken) IsValidReturns(result1 bool)
- func (fake *FakeAccessToken) IsValidReturnsOnCall(i int, result1 bool)
- 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 FakeRefreshableAccessToken
- func (fake *FakeRefreshableAccessToken) Invocations() map[string][][]interface{}
- func (fake *FakeRefreshableAccessToken) IsValid() bool
- func (fake *FakeRefreshableAccessToken) IsValidCallCount() int
- func (fake *FakeRefreshableAccessToken) IsValidReturns(result1 bool)
- func (fake *FakeRefreshableAccessToken) IsValidReturnsOnCall(i int, result1 bool)
- func (fake *FakeRefreshableAccessToken) RefreshValue() string
- func (fake *FakeRefreshableAccessToken) RefreshValueCallCount() int
- func (fake *FakeRefreshableAccessToken) RefreshValueReturns(result1 string)
- func (fake *FakeRefreshableAccessToken) RefreshValueReturnsOnCall(i int, result1 string)
- func (fake *FakeRefreshableAccessToken) Type() string
- func (fake *FakeRefreshableAccessToken) TypeCallCount() int
- func (fake *FakeRefreshableAccessToken) TypeReturns(result1 string)
- func (fake *FakeRefreshableAccessToken) TypeReturnsOnCall(i int, result1 string)
- func (fake *FakeRefreshableAccessToken) Value() string
- func (fake *FakeRefreshableAccessToken) ValueCallCount() int
- func (fake *FakeRefreshableAccessToken) ValueReturns(result1 string)
- func (fake *FakeRefreshableAccessToken) ValueReturnsOnCall(i int, result1 string)
- type FakeToken
- func (fake *FakeToken) Invocations() map[string][][]interface{}
- func (fake *FakeToken) IsValid() bool
- func (fake *FakeToken) IsValidCallCount() int
- func (fake *FakeToken) IsValidReturns(result1 bool)
- func (fake *FakeToken) IsValidReturnsOnCall(i int, result1 bool)
- 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.AccessToken, error)
- func (fake *FakeUAA) ClientCredentialsGrantCallCount() int
- func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) Invocations() map[string][][]interface{}
- 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)
- func (fake *FakeUAA) RefreshTokenGrant(arg1 string) (uaa.AccessToken, error)
- func (fake *FakeUAA) RefreshTokenGrantArgsForCall(i int) string
- func (fake *FakeUAA) RefreshTokenGrantCallCount() int
- func (fake *FakeUAA) RefreshTokenGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) RefreshTokenGrantReturnsOnCall(i int, result1 uaa.AccessToken, 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 IsValidStub func() bool // contains filtered or unexported fields }
func (*FakeAccessToken) Invocations ¶
func (fake *FakeAccessToken) Invocations() map[string][][]interface{}
func (*FakeAccessToken) IsValid ¶
func (fake *FakeAccessToken) IsValid() bool
func (*FakeAccessToken) IsValidCallCount ¶
func (fake *FakeAccessToken) IsValidCallCount() int
func (*FakeAccessToken) IsValidReturns ¶
func (fake *FakeAccessToken) IsValidReturns(result1 bool)
func (*FakeAccessToken) IsValidReturnsOnCall ¶
func (fake *FakeAccessToken) IsValidReturnsOnCall(i int, result1 bool)
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 ¶
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 ¶
func (fake *FakeAccessToken) ValueReturnsOnCall(i int, result1 string)
type FakeRefreshableAccessToken ¶
type FakeRefreshableAccessToken struct { TypeStub func() string ValueStub func() string IsValidStub func() bool RefreshValueStub func() string // contains filtered or unexported fields }
func (*FakeRefreshableAccessToken) Invocations ¶
func (fake *FakeRefreshableAccessToken) Invocations() map[string][][]interface{}
func (*FakeRefreshableAccessToken) IsValid ¶
func (fake *FakeRefreshableAccessToken) IsValid() bool
func (*FakeRefreshableAccessToken) IsValidCallCount ¶
func (fake *FakeRefreshableAccessToken) IsValidCallCount() int
func (*FakeRefreshableAccessToken) IsValidReturns ¶
func (fake *FakeRefreshableAccessToken) IsValidReturns(result1 bool)
func (*FakeRefreshableAccessToken) IsValidReturnsOnCall ¶
func (fake *FakeRefreshableAccessToken) IsValidReturnsOnCall(i int, result1 bool)
func (*FakeRefreshableAccessToken) RefreshValue ¶
func (fake *FakeRefreshableAccessToken) RefreshValue() string
func (*FakeRefreshableAccessToken) RefreshValueCallCount ¶
func (fake *FakeRefreshableAccessToken) RefreshValueCallCount() int
func (*FakeRefreshableAccessToken) RefreshValueReturns ¶
func (fake *FakeRefreshableAccessToken) RefreshValueReturns(result1 string)
func (*FakeRefreshableAccessToken) RefreshValueReturnsOnCall ¶
func (fake *FakeRefreshableAccessToken) RefreshValueReturnsOnCall(i int, result1 string)
func (*FakeRefreshableAccessToken) Type ¶
func (fake *FakeRefreshableAccessToken) Type() string
func (*FakeRefreshableAccessToken) TypeCallCount ¶
func (fake *FakeRefreshableAccessToken) TypeCallCount() int
func (*FakeRefreshableAccessToken) TypeReturns ¶
func (fake *FakeRefreshableAccessToken) TypeReturns(result1 string)
func (*FakeRefreshableAccessToken) TypeReturnsOnCall ¶
func (fake *FakeRefreshableAccessToken) TypeReturnsOnCall(i int, result1 string)
func (*FakeRefreshableAccessToken) Value ¶
func (fake *FakeRefreshableAccessToken) Value() string
func (*FakeRefreshableAccessToken) ValueCallCount ¶
func (fake *FakeRefreshableAccessToken) ValueCallCount() int
func (*FakeRefreshableAccessToken) ValueReturns ¶
func (fake *FakeRefreshableAccessToken) ValueReturns(result1 string)
func (*FakeRefreshableAccessToken) ValueReturnsOnCall ¶
func (fake *FakeRefreshableAccessToken) ValueReturnsOnCall(i int, result1 string)
type FakeToken ¶
type FakeToken struct { TypeStub func() string ValueStub func() string IsValidStub func() bool // contains filtered or unexported fields }
func (*FakeToken) Invocations ¶
func (*FakeToken) IsValidCallCount ¶
func (*FakeToken) IsValidReturns ¶
func (*FakeToken) IsValidReturnsOnCall ¶
func (*FakeToken) TypeCallCount ¶
func (*FakeToken) TypeReturns ¶
func (*FakeToken) TypeReturnsOnCall ¶
func (*FakeToken) ValueCallCount ¶
func (*FakeToken) ValueReturns ¶
func (*FakeToken) ValueReturnsOnCall ¶
type FakeUAA ¶
type FakeUAA struct { PromptsStub func() ([]uaa.Prompt, error) RefreshTokenGrantStub func(string) (uaa.AccessToken, error) ClientCredentialsGrantStub func() (uaa.AccessToken, error) OwnerPasswordCredentialsGrantStub func([]uaa.PromptAnswer) (uaa.AccessToken, error) // contains filtered or unexported fields }
func (*FakeUAA) ClientCredentialsGrant ¶
func (fake *FakeUAA) ClientCredentialsGrant() (uaa.AccessToken, error)
func (*FakeUAA) ClientCredentialsGrantCallCount ¶
func (*FakeUAA) ClientCredentialsGrantReturns ¶
func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) ClientCredentialsGrantReturnsOnCall ¶
func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeUAA) Invocations ¶
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 ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeUAA) PromptsCallCount ¶
func (*FakeUAA) PromptsReturns ¶
func (*FakeUAA) PromptsReturnsOnCall ¶
func (*FakeUAA) RefreshTokenGrant ¶
func (fake *FakeUAA) RefreshTokenGrant(arg1 string) (uaa.AccessToken, error)
func (*FakeUAA) RefreshTokenGrantArgsForCall ¶
func (*FakeUAA) RefreshTokenGrantCallCount ¶
func (*FakeUAA) RefreshTokenGrantReturns ¶
func (fake *FakeUAA) RefreshTokenGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) RefreshTokenGrantReturnsOnCall ¶
func (fake *FakeUAA) RefreshTokenGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
Click to show internal directories.
Click to hide internal directories.