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.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDoer
- func (fake *FakeDoer) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeDoer) DoArgsForCall(i int) *http.Request
- func (fake *FakeDoer) DoCallCount() int
- func (fake *FakeDoer) DoCalls(stub func(*http.Request) (*http.Response, error))
- func (fake *FakeDoer) DoReturns(result1 *http.Response, result2 error)
- func (fake *FakeDoer) DoReturnsOnCall(i int, result1 *http.Response, result2 error)
- func (fake *FakeDoer) Invocations() map[string][][]interface{}
- type FakeKeys
- func (fake *FakeKeys) Fetch(arg1 string) (jose.JSONWebKey, error)
- func (fake *FakeKeys) FetchArgsForCall(i int) string
- func (fake *FakeKeys) FetchCallCount() int
- func (fake *FakeKeys) FetchCalls(stub func(string) (jose.JSONWebKey, error))
- func (fake *FakeKeys) FetchReturns(result1 jose.JSONWebKey, result2 error)
- func (fake *FakeKeys) FetchReturnsOnCall(i int, result1 jose.JSONWebKey, result2 error)
- func (fake *FakeKeys) Invocations() map[string][][]interface{}
- type FakeParseFunc
- func (fake *FakeParseFunc) ArgsForCall(i int) (string, jwta.Claims, jwta.Keyfunc)
- func (fake *FakeParseFunc) CallCount() int
- func (fake *FakeParseFunc) Calls(stub func(string, jwta.Claims, jwta.Keyfunc) (*jwta.Token, error))
- func (fake *FakeParseFunc) Invocations() map[string][][]interface{}
- func (fake *FakeParseFunc) Returns(result1 *jwta.Token, result2 error)
- func (fake *FakeParseFunc) ReturnsOnCall(i int, result1 *jwta.Token, result2 error)
- func (fake *FakeParseFunc) Spy(arg1 string, arg2 jwta.Claims, arg3 jwta.Keyfunc) (*jwta.Token, error)
- type FakeParser
- func (fake *FakeParser) Invocations() map[string][][]interface{}
- func (fake *FakeParser) ParseToken(arg1 context.Context, arg2 string) (jwt.Authorization, error)
- func (fake *FakeParser) ParseTokenArgsForCall(i int) (context.Context, string)
- func (fake *FakeParser) ParseTokenCallCount() int
- func (fake *FakeParser) ParseTokenCalls(stub func(context.Context, string) (jwt.Authorization, error))
- func (fake *FakeParser) ParseTokenReturns(result1 jwt.Authorization, result2 error)
- func (fake *FakeParser) ParseTokenReturnsOnCall(i int, result1 jwt.Authorization, result2 error)
- type FakeTokenCache
- func (fake *FakeTokenCache) AddToken(arg1 context.Context, arg2 string, arg3 string, arg4 time.Time)
- func (fake *FakeTokenCache) AddTokenArgsForCall(i int) (context.Context, string, string, time.Time)
- func (fake *FakeTokenCache) AddTokenCallCount() int
- func (fake *FakeTokenCache) AddTokenCalls(stub func(context.Context, string, string, time.Time))
- func (fake *FakeTokenCache) Clean(arg1 context.Context)
- func (fake *FakeTokenCache) CleanArgsForCall(i int) context.Context
- func (fake *FakeTokenCache) CleanCallCount() int
- func (fake *FakeTokenCache) CleanCalls(stub func(context.Context))
- func (fake *FakeTokenCache) FetchToken(arg1 context.Context, arg2 string) (string, bool)
- func (fake *FakeTokenCache) FetchTokenArgsForCall(i int) (context.Context, string)
- func (fake *FakeTokenCache) FetchTokenCallCount() int
- func (fake *FakeTokenCache) FetchTokenCalls(stub func(context.Context, string) (string, bool))
- func (fake *FakeTokenCache) FetchTokenReturns(result1 string, result2 bool)
- func (fake *FakeTokenCache) FetchTokenReturnsOnCall(i int, result1 string, result2 bool)
- func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
- type FakeTokener
- func (fake *FakeTokener) GetToken(arg1 context.Context) (string, error)
- func (fake *FakeTokener) GetTokenArgsForCall(i int) context.Context
- func (fake *FakeTokener) GetTokenCallCount() int
- func (fake *FakeTokener) GetTokenCalls(stub func(context.Context) (string, error))
- func (fake *FakeTokener) GetTokenReturns(result1 string, result2 error)
- func (fake *FakeTokener) GetTokenReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeTokener) Invocations() map[string][][]interface{}
- type FakeTokenerFactory
- func (fake *FakeTokenerFactory) ArgsForCall(i int) (string, string)
- func (fake *FakeTokenerFactory) CallCount() int
- func (fake *FakeTokenerFactory) Calls(stub func(string, string) jwt.Tokener)
- func (fake *FakeTokenerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeTokenerFactory) Returns(result1 jwt.Tokener)
- func (fake *FakeTokenerFactory) ReturnsOnCall(i int, result1 jwt.Tokener)
- func (fake *FakeTokenerFactory) Spy(arg1 string, arg2 string) jwt.Tokener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDoer ¶
type FakeDoer struct { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeDoer) DoCallCount ¶
func (*FakeDoer) DoReturnsOnCall ¶
func (*FakeDoer) Invocations ¶
type FakeKeys ¶
type FakeKeys struct { FetchStub func(string) (jose.JSONWebKey, error) // contains filtered or unexported fields }
func (*FakeKeys) FetchArgsForCall ¶
func (*FakeKeys) FetchCallCount ¶
func (*FakeKeys) FetchCalls ¶
func (fake *FakeKeys) FetchCalls(stub func(string) (jose.JSONWebKey, error))
func (*FakeKeys) FetchReturns ¶
func (fake *FakeKeys) FetchReturns(result1 jose.JSONWebKey, result2 error)
func (*FakeKeys) FetchReturnsOnCall ¶
func (fake *FakeKeys) FetchReturnsOnCall(i int, result1 jose.JSONWebKey, result2 error)
func (*FakeKeys) Invocations ¶
type FakeParseFunc ¶
type FakeParseFunc struct { Stub func(string, jwta.Claims, jwta.Keyfunc) (*jwta.Token, error) // contains filtered or unexported fields }
func (*FakeParseFunc) ArgsForCall ¶
func (*FakeParseFunc) CallCount ¶
func (fake *FakeParseFunc) CallCount() int
func (*FakeParseFunc) Invocations ¶
func (fake *FakeParseFunc) Invocations() map[string][][]interface{}
func (*FakeParseFunc) Returns ¶
func (fake *FakeParseFunc) Returns(result1 *jwta.Token, result2 error)
func (*FakeParseFunc) ReturnsOnCall ¶
func (fake *FakeParseFunc) ReturnsOnCall(i int, result1 *jwta.Token, result2 error)
type FakeParser ¶
type FakeParser struct { ParseTokenStub func(context.Context, string) (jwt.Authorization, error) // contains filtered or unexported fields }
func (*FakeParser) Invocations ¶
func (fake *FakeParser) Invocations() map[string][][]interface{}
func (*FakeParser) ParseToken ¶
func (fake *FakeParser) ParseToken(arg1 context.Context, arg2 string) (jwt.Authorization, error)
func (*FakeParser) ParseTokenArgsForCall ¶
func (fake *FakeParser) ParseTokenArgsForCall(i int) (context.Context, string)
func (*FakeParser) ParseTokenCallCount ¶
func (fake *FakeParser) ParseTokenCallCount() int
func (*FakeParser) ParseTokenCalls ¶
func (fake *FakeParser) ParseTokenCalls(stub func(context.Context, string) (jwt.Authorization, error))
func (*FakeParser) ParseTokenReturns ¶
func (fake *FakeParser) ParseTokenReturns(result1 jwt.Authorization, result2 error)
func (*FakeParser) ParseTokenReturnsOnCall ¶
func (fake *FakeParser) ParseTokenReturnsOnCall(i int, result1 jwt.Authorization, result2 error)
type FakeTokenCache ¶
type FakeTokenCache struct { AddTokenStub func(context.Context, string, string, time.Time) CleanStub func(context.Context) FetchTokenStub func(context.Context, string) (string, bool) // contains filtered or unexported fields }
func (*FakeTokenCache) AddTokenArgsForCall ¶
func (*FakeTokenCache) AddTokenCallCount ¶
func (fake *FakeTokenCache) AddTokenCallCount() int
func (*FakeTokenCache) AddTokenCalls ¶
func (*FakeTokenCache) Clean ¶
func (fake *FakeTokenCache) Clean(arg1 context.Context)
func (*FakeTokenCache) CleanArgsForCall ¶
func (fake *FakeTokenCache) CleanArgsForCall(i int) context.Context
func (*FakeTokenCache) CleanCallCount ¶
func (fake *FakeTokenCache) CleanCallCount() int
func (*FakeTokenCache) CleanCalls ¶
func (fake *FakeTokenCache) CleanCalls(stub func(context.Context))
func (*FakeTokenCache) FetchToken ¶
func (*FakeTokenCache) FetchTokenArgsForCall ¶
func (fake *FakeTokenCache) FetchTokenArgsForCall(i int) (context.Context, string)
func (*FakeTokenCache) FetchTokenCallCount ¶
func (fake *FakeTokenCache) FetchTokenCallCount() int
func (*FakeTokenCache) FetchTokenCalls ¶
func (*FakeTokenCache) FetchTokenReturns ¶
func (fake *FakeTokenCache) FetchTokenReturns(result1 string, result2 bool)
func (*FakeTokenCache) FetchTokenReturnsOnCall ¶
func (fake *FakeTokenCache) FetchTokenReturnsOnCall(i int, result1 string, result2 bool)
func (*FakeTokenCache) Invocations ¶
func (fake *FakeTokenCache) Invocations() map[string][][]interface{}
type FakeTokener ¶
type FakeTokener struct { GetTokenStub func(context.Context) (string, error) // contains filtered or unexported fields }
func (*FakeTokener) GetToken ¶
func (fake *FakeTokener) GetToken(arg1 context.Context) (string, error)
func (*FakeTokener) GetTokenArgsForCall ¶
func (fake *FakeTokener) GetTokenArgsForCall(i int) context.Context
func (*FakeTokener) GetTokenCallCount ¶
func (fake *FakeTokener) GetTokenCallCount() int
func (*FakeTokener) GetTokenCalls ¶
func (fake *FakeTokener) GetTokenCalls(stub func(context.Context) (string, error))
func (*FakeTokener) GetTokenReturns ¶
func (fake *FakeTokener) GetTokenReturns(result1 string, result2 error)
func (*FakeTokener) GetTokenReturnsOnCall ¶
func (fake *FakeTokener) GetTokenReturnsOnCall(i int, result1 string, result2 error)
func (*FakeTokener) Invocations ¶
func (fake *FakeTokener) Invocations() map[string][][]interface{}
type FakeTokenerFactory ¶
type FakeTokenerFactory struct { Stub func(string, string) jwt.Tokener // contains filtered or unexported fields }
func (*FakeTokenerFactory) ArgsForCall ¶
func (fake *FakeTokenerFactory) ArgsForCall(i int) (string, string)
func (*FakeTokenerFactory) CallCount ¶
func (fake *FakeTokenerFactory) CallCount() int
func (*FakeTokenerFactory) Calls ¶
func (fake *FakeTokenerFactory) Calls(stub func(string, string) jwt.Tokener)
func (*FakeTokenerFactory) Invocations ¶
func (fake *FakeTokenerFactory) Invocations() map[string][][]interface{}
func (*FakeTokenerFactory) Returns ¶
func (fake *FakeTokenerFactory) Returns(result1 jwt.Tokener)
func (*FakeTokenerFactory) ReturnsOnCall ¶
func (fake *FakeTokenerFactory) ReturnsOnCall(i int, result1 jwt.Tokener)
Click to show internal directories.
Click to hide internal directories.