Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) DecodeToken(arg1 string, arg2 ...string) error
- func (fake *FakeClient) DecodeTokenArgsForCall(i int) (string, []string)
- func (fake *FakeClient) DecodeTokenCallCount() int
- func (fake *FakeClient) DecodeTokenCalls(stub func(string, ...string) error)
- func (fake *FakeClient) DecodeTokenReturns(result1 error)
- func (fake *FakeClient) DecodeTokenReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) FetchIssuer() (string, error)
- func (fake *FakeClient) FetchIssuerCallCount() int
- func (fake *FakeClient) FetchIssuerCalls(stub func() (string, error))
- func (fake *FakeClient) FetchIssuerReturns(result1 string, result2 error)
- func (fake *FakeClient) FetchIssuerReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) FetchKey() (string, error)
- func (fake *FakeClient) FetchKeyCallCount() int
- func (fake *FakeClient) FetchKeyCalls(stub func() (string, error))
- func (fake *FakeClient) FetchKeyReturns(result1 string, result2 error)
- func (fake *FakeClient) FetchKeyReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) FetchToken(arg1 bool) (*schema.Token, error)
- func (fake *FakeClient) FetchTokenArgsForCall(i int) bool
- func (fake *FakeClient) FetchTokenCallCount() int
- func (fake *FakeClient) FetchTokenCalls(stub func(bool) (*schema.Token, error))
- func (fake *FakeClient) FetchTokenReturns(result1 *schema.Token, result2 error)
- func (fake *FakeClient) FetchTokenReturnsOnCall(i int, result1 *schema.Token, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) RegisterOauthClient(arg1 *schema.OauthClient) (*schema.OauthClient, error)
- func (fake *FakeClient) RegisterOauthClientArgsForCall(i int) *schema.OauthClient
- func (fake *FakeClient) RegisterOauthClientCallCount() int
- func (fake *FakeClient) RegisterOauthClientCalls(stub func(*schema.OauthClient) (*schema.OauthClient, error))
- func (fake *FakeClient) RegisterOauthClientReturns(result1 *schema.OauthClient, result2 error)
- func (fake *FakeClient) RegisterOauthClientReturnsOnCall(i int, result1 *schema.OauthClient, result2 error)
- type FakeSigningMethod
- func (fake *FakeSigningMethod) Alg() string
- func (fake *FakeSigningMethod) AlgCallCount() int
- func (fake *FakeSigningMethod) AlgCalls(stub func() string)
- func (fake *FakeSigningMethod) AlgReturns(result1 string)
- func (fake *FakeSigningMethod) AlgReturnsOnCall(i int, result1 string)
- func (fake *FakeSigningMethod) Invocations() map[string][][]interface{}
- func (fake *FakeSigningMethod) Sign(arg1 string, arg2 interface{}) (string, error)
- func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})
- func (fake *FakeSigningMethod) SignCallCount() int
- func (fake *FakeSigningMethod) SignCalls(stub func(string, interface{}) (string, error))
- func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)
- func (fake *FakeSigningMethod) SignReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeSigningMethod) Verify(arg1 string, arg2 string, arg3 interface{}) error
- func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})
- func (fake *FakeSigningMethod) VerifyCallCount() int
- func (fake *FakeSigningMethod) VerifyCalls(stub func(string, string, interface{}) error)
- func (fake *FakeSigningMethod) VerifyReturns(result1 error)
- func (fake *FakeSigningMethod) VerifyReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { DecodeTokenStub func(string, ...string) error FetchIssuerStub func() (string, error) FetchKeyStub func() (string, error) FetchTokenStub func(bool) (*schema.Token, error) RegisterOauthClientStub func(*schema.OauthClient) (*schema.OauthClient, error) // contains filtered or unexported fields }
func (*FakeClient) DecodeToken ¶
func (fake *FakeClient) DecodeToken(arg1 string, arg2 ...string) error
func (*FakeClient) DecodeTokenArgsForCall ¶
func (fake *FakeClient) DecodeTokenArgsForCall(i int) (string, []string)
func (*FakeClient) DecodeTokenCallCount ¶
func (fake *FakeClient) DecodeTokenCallCount() int
func (*FakeClient) DecodeTokenCalls ¶
func (fake *FakeClient) DecodeTokenCalls(stub func(string, ...string) error)
func (*FakeClient) DecodeTokenReturns ¶
func (fake *FakeClient) DecodeTokenReturns(result1 error)
func (*FakeClient) DecodeTokenReturnsOnCall ¶
func (fake *FakeClient) DecodeTokenReturnsOnCall(i int, result1 error)
func (*FakeClient) FetchIssuer ¶
func (fake *FakeClient) FetchIssuer() (string, error)
func (*FakeClient) FetchIssuerCallCount ¶
func (fake *FakeClient) FetchIssuerCallCount() int
func (*FakeClient) FetchIssuerCalls ¶
func (fake *FakeClient) FetchIssuerCalls(stub func() (string, error))
func (*FakeClient) FetchIssuerReturns ¶
func (fake *FakeClient) FetchIssuerReturns(result1 string, result2 error)
func (*FakeClient) FetchIssuerReturnsOnCall ¶
func (fake *FakeClient) FetchIssuerReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) FetchKey ¶
func (fake *FakeClient) FetchKey() (string, error)
func (*FakeClient) FetchKeyCallCount ¶
func (fake *FakeClient) FetchKeyCallCount() int
func (*FakeClient) FetchKeyCalls ¶
func (fake *FakeClient) FetchKeyCalls(stub func() (string, error))
func (*FakeClient) FetchKeyReturns ¶
func (fake *FakeClient) FetchKeyReturns(result1 string, result2 error)
func (*FakeClient) FetchKeyReturnsOnCall ¶
func (fake *FakeClient) FetchKeyReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) FetchToken ¶
func (fake *FakeClient) FetchToken(arg1 bool) (*schema.Token, error)
func (*FakeClient) FetchTokenArgsForCall ¶
func (fake *FakeClient) FetchTokenArgsForCall(i int) bool
func (*FakeClient) FetchTokenCallCount ¶
func (fake *FakeClient) FetchTokenCallCount() int
func (*FakeClient) FetchTokenCalls ¶
func (fake *FakeClient) FetchTokenCalls(stub func(bool) (*schema.Token, error))
func (*FakeClient) FetchTokenReturns ¶
func (fake *FakeClient) FetchTokenReturns(result1 *schema.Token, result2 error)
func (*FakeClient) FetchTokenReturnsOnCall ¶
func (fake *FakeClient) FetchTokenReturnsOnCall(i int, result1 *schema.Token, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) RegisterOauthClient ¶
func (fake *FakeClient) RegisterOauthClient(arg1 *schema.OauthClient) (*schema.OauthClient, error)
func (*FakeClient) RegisterOauthClientArgsForCall ¶
func (fake *FakeClient) RegisterOauthClientArgsForCall(i int) *schema.OauthClient
func (*FakeClient) RegisterOauthClientCallCount ¶
func (fake *FakeClient) RegisterOauthClientCallCount() int
func (*FakeClient) RegisterOauthClientCalls ¶
func (fake *FakeClient) RegisterOauthClientCalls(stub func(*schema.OauthClient) (*schema.OauthClient, error))
func (*FakeClient) RegisterOauthClientReturns ¶
func (fake *FakeClient) RegisterOauthClientReturns(result1 *schema.OauthClient, result2 error)
func (*FakeClient) RegisterOauthClientReturnsOnCall ¶
func (fake *FakeClient) RegisterOauthClientReturnsOnCall(i int, result1 *schema.OauthClient, result2 error)
type FakeSigningMethod ¶
type FakeSigningMethod struct { AlgStub func() string SignStub func(string, interface{}) (string, error) VerifyStub func(string, string, interface{}) error // contains filtered or unexported fields }
func (*FakeSigningMethod) Alg ¶
func (fake *FakeSigningMethod) Alg() string
func (*FakeSigningMethod) AlgCallCount ¶
func (fake *FakeSigningMethod) AlgCallCount() int
func (*FakeSigningMethod) AlgCalls ¶
func (fake *FakeSigningMethod) AlgCalls(stub func() string)
func (*FakeSigningMethod) AlgReturns ¶
func (fake *FakeSigningMethod) AlgReturns(result1 string)
func (*FakeSigningMethod) AlgReturnsOnCall ¶
func (fake *FakeSigningMethod) AlgReturnsOnCall(i int, result1 string)
func (*FakeSigningMethod) Invocations ¶
func (fake *FakeSigningMethod) Invocations() map[string][][]interface{}
func (*FakeSigningMethod) Sign ¶
func (fake *FakeSigningMethod) Sign(arg1 string, arg2 interface{}) (string, error)
func (*FakeSigningMethod) SignArgsForCall ¶
func (fake *FakeSigningMethod) SignArgsForCall(i int) (string, interface{})
func (*FakeSigningMethod) SignCallCount ¶
func (fake *FakeSigningMethod) SignCallCount() int
func (*FakeSigningMethod) SignCalls ¶
func (fake *FakeSigningMethod) SignCalls(stub func(string, interface{}) (string, error))
func (*FakeSigningMethod) SignReturns ¶
func (fake *FakeSigningMethod) SignReturns(result1 string, result2 error)
func (*FakeSigningMethod) SignReturnsOnCall ¶
func (fake *FakeSigningMethod) SignReturnsOnCall(i int, result1 string, result2 error)
func (*FakeSigningMethod) Verify ¶
func (fake *FakeSigningMethod) Verify(arg1 string, arg2 string, arg3 interface{}) error
func (*FakeSigningMethod) VerifyArgsForCall ¶
func (fake *FakeSigningMethod) VerifyArgsForCall(i int) (string, string, interface{})
func (*FakeSigningMethod) VerifyCallCount ¶
func (fake *FakeSigningMethod) VerifyCallCount() int
func (*FakeSigningMethod) VerifyCalls ¶
func (fake *FakeSigningMethod) VerifyCalls(stub func(string, string, interface{}) error)
func (*FakeSigningMethod) VerifyReturns ¶
func (fake *FakeSigningMethod) VerifyReturns(result1 error)
func (*FakeSigningMethod) VerifyReturnsOnCall ¶
func (fake *FakeSigningMethod) VerifyReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.