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.
Index ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) Authenticate(arg1 *http.Request) (*web.User, security.Decision, error)
- func (fake *FakeAuthenticator) AuthenticateArgsForCall(i int) *http.Request
- func (fake *FakeAuthenticator) AuthenticateCallCount() int
- func (fake *FakeAuthenticator) AuthenticateCalls(stub func(*http.Request) (*web.User, security.Decision, error))
- func (fake *FakeAuthenticator) AuthenticateReturns(result1 *web.User, result2 security.Decision, result3 error)
- func (fake *FakeAuthenticator) AuthenticateReturnsOnCall(i int, result1 *web.User, result2 security.Decision, result3 error)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- type FakeAuthorizer
- func (fake *FakeAuthorizer) Authorize(arg1 *http.Request) (security.Decision, error)
- func (fake *FakeAuthorizer) AuthorizeArgsForCall(i int) *http.Request
- func (fake *FakeAuthorizer) AuthorizeCallCount() int
- func (fake *FakeAuthorizer) AuthorizeCalls(stub func(*http.Request) (security.Decision, error))
- func (fake *FakeAuthorizer) AuthorizeReturns(result1 security.Decision, result2 error)
- func (fake *FakeAuthorizer) AuthorizeReturnsOnCall(i int, result1 security.Decision, result2 error)
- func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
- type FakeEncrypter
- func (fake *FakeEncrypter) Decrypt(arg1 context.Context, arg2 []byte) ([]byte, error)
- func (fake *FakeEncrypter) DecryptArgsForCall(i int) (context.Context, []byte)
- func (fake *FakeEncrypter) DecryptCallCount() int
- func (fake *FakeEncrypter) DecryptCalls(stub func(context.Context, []byte) ([]byte, error))
- func (fake *FakeEncrypter) DecryptReturns(result1 []byte, result2 error)
- func (fake *FakeEncrypter) DecryptReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeEncrypter) Encrypt(arg1 context.Context, arg2 []byte) ([]byte, error)
- func (fake *FakeEncrypter) EncryptArgsForCall(i int) (context.Context, []byte)
- func (fake *FakeEncrypter) EncryptCallCount() int
- func (fake *FakeEncrypter) EncryptCalls(stub func(context.Context, []byte) ([]byte, error))
- func (fake *FakeEncrypter) EncryptReturns(result1 []byte, result2 error)
- func (fake *FakeEncrypter) EncryptReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeEncrypter) Invocations() map[string][][]interface{}
- type FakeKeyFetcher
- func (fake *FakeKeyFetcher) GetEncryptionKey(arg1 context.Context) ([]byte, error)
- func (fake *FakeKeyFetcher) GetEncryptionKeyArgsForCall(i int) context.Context
- func (fake *FakeKeyFetcher) GetEncryptionKeyCallCount() int
- func (fake *FakeKeyFetcher) GetEncryptionKeyCalls(stub func(context.Context) ([]byte, error))
- func (fake *FakeKeyFetcher) GetEncryptionKeyReturns(result1 []byte, result2 error)
- func (fake *FakeKeyFetcher) GetEncryptionKeyReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeKeyFetcher) Invocations() map[string][][]interface{}
- type FakeKeySetter
- func (fake *FakeKeySetter) Invocations() map[string][][]interface{}
- func (fake *FakeKeySetter) SetEncryptionKey(arg1 context.Context, arg2 []byte) error
- func (fake *FakeKeySetter) SetEncryptionKeyArgsForCall(i int) (context.Context, []byte)
- func (fake *FakeKeySetter) SetEncryptionKeyCallCount() int
- func (fake *FakeKeySetter) SetEncryptionKeyCalls(stub func(context.Context, []byte) error)
- func (fake *FakeKeySetter) SetEncryptionKeyReturns(result1 error)
- func (fake *FakeKeySetter) SetEncryptionKeyReturnsOnCall(i int, result1 error)
- type FakeTokenVerifier
- func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
- func (fake *FakeTokenVerifier) Verify(arg1 context.Context, arg2 string) (web.TokenData, error)
- func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) (context.Context, string)
- func (fake *FakeTokenVerifier) VerifyCallCount() int
- func (fake *FakeTokenVerifier) VerifyCalls(stub func(context.Context, string) (web.TokenData, error))
- func (fake *FakeTokenVerifier) VerifyReturns(result1 web.TokenData, result2 error)
- func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 web.TokenData, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { AuthenticateStub func(*http.Request) (*web.User, security.Decision, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) Authenticate ¶
func (*FakeAuthenticator) AuthenticateArgsForCall ¶
func (fake *FakeAuthenticator) AuthenticateArgsForCall(i int) *http.Request
func (*FakeAuthenticator) AuthenticateCallCount ¶
func (fake *FakeAuthenticator) AuthenticateCallCount() int
func (*FakeAuthenticator) AuthenticateCalls ¶ added in v0.1.2
func (*FakeAuthenticator) AuthenticateReturns ¶
func (*FakeAuthenticator) AuthenticateReturnsOnCall ¶
func (*FakeAuthenticator) Invocations ¶
func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
type FakeAuthorizer ¶
type FakeAuthorizer struct { AuthorizeStub func(*http.Request) (security.Decision, error) // contains filtered or unexported fields }
func (*FakeAuthorizer) AuthorizeArgsForCall ¶
func (fake *FakeAuthorizer) AuthorizeArgsForCall(i int) *http.Request
func (*FakeAuthorizer) AuthorizeCallCount ¶
func (fake *FakeAuthorizer) AuthorizeCallCount() int
func (*FakeAuthorizer) AuthorizeCalls ¶ added in v0.1.2
func (*FakeAuthorizer) AuthorizeReturns ¶
func (fake *FakeAuthorizer) AuthorizeReturns(result1 security.Decision, result2 error)
func (*FakeAuthorizer) AuthorizeReturnsOnCall ¶
func (fake *FakeAuthorizer) AuthorizeReturnsOnCall(i int, result1 security.Decision, result2 error)
func (*FakeAuthorizer) Invocations ¶
func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
type FakeEncrypter ¶
type FakeEncrypter struct { DecryptStub func(context.Context, []byte) ([]byte, error) EncryptStub func(context.Context, []byte) ([]byte, error) // contains filtered or unexported fields }
func (*FakeEncrypter) DecryptArgsForCall ¶
func (fake *FakeEncrypter) DecryptArgsForCall(i int) (context.Context, []byte)
func (*FakeEncrypter) DecryptCallCount ¶
func (fake *FakeEncrypter) DecryptCallCount() int
func (*FakeEncrypter) DecryptCalls ¶ added in v0.1.2
func (*FakeEncrypter) DecryptReturns ¶
func (fake *FakeEncrypter) DecryptReturns(result1 []byte, result2 error)
func (*FakeEncrypter) DecryptReturnsOnCall ¶
func (fake *FakeEncrypter) DecryptReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeEncrypter) EncryptArgsForCall ¶
func (fake *FakeEncrypter) EncryptArgsForCall(i int) (context.Context, []byte)
func (*FakeEncrypter) EncryptCallCount ¶
func (fake *FakeEncrypter) EncryptCallCount() int
func (*FakeEncrypter) EncryptCalls ¶ added in v0.1.2
func (*FakeEncrypter) EncryptReturns ¶
func (fake *FakeEncrypter) EncryptReturns(result1 []byte, result2 error)
func (*FakeEncrypter) EncryptReturnsOnCall ¶
func (fake *FakeEncrypter) EncryptReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeEncrypter) Invocations ¶
func (fake *FakeEncrypter) Invocations() map[string][][]interface{}
type FakeKeyFetcher ¶
type FakeKeyFetcher struct { GetEncryptionKeyStub func(context.Context) ([]byte, error) // contains filtered or unexported fields }
func (*FakeKeyFetcher) GetEncryptionKey ¶
func (fake *FakeKeyFetcher) GetEncryptionKey(arg1 context.Context) ([]byte, error)
func (*FakeKeyFetcher) GetEncryptionKeyArgsForCall ¶
func (fake *FakeKeyFetcher) GetEncryptionKeyArgsForCall(i int) context.Context
func (*FakeKeyFetcher) GetEncryptionKeyCallCount ¶
func (fake *FakeKeyFetcher) GetEncryptionKeyCallCount() int
func (*FakeKeyFetcher) GetEncryptionKeyCalls ¶ added in v0.1.2
func (fake *FakeKeyFetcher) GetEncryptionKeyCalls(stub func(context.Context) ([]byte, error))
func (*FakeKeyFetcher) GetEncryptionKeyReturns ¶
func (fake *FakeKeyFetcher) GetEncryptionKeyReturns(result1 []byte, result2 error)
func (*FakeKeyFetcher) GetEncryptionKeyReturnsOnCall ¶
func (fake *FakeKeyFetcher) GetEncryptionKeyReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeKeyFetcher) Invocations ¶
func (fake *FakeKeyFetcher) Invocations() map[string][][]interface{}
type FakeKeySetter ¶
type FakeKeySetter struct { SetEncryptionKeyStub func(context.Context, []byte) error // contains filtered or unexported fields }
func (*FakeKeySetter) Invocations ¶
func (fake *FakeKeySetter) Invocations() map[string][][]interface{}
func (*FakeKeySetter) SetEncryptionKey ¶
func (fake *FakeKeySetter) SetEncryptionKey(arg1 context.Context, arg2 []byte) error
func (*FakeKeySetter) SetEncryptionKeyArgsForCall ¶
func (fake *FakeKeySetter) SetEncryptionKeyArgsForCall(i int) (context.Context, []byte)
func (*FakeKeySetter) SetEncryptionKeyCallCount ¶
func (fake *FakeKeySetter) SetEncryptionKeyCallCount() int
func (*FakeKeySetter) SetEncryptionKeyCalls ¶ added in v0.1.2
func (fake *FakeKeySetter) SetEncryptionKeyCalls(stub func(context.Context, []byte) error)
func (*FakeKeySetter) SetEncryptionKeyReturns ¶
func (fake *FakeKeySetter) SetEncryptionKeyReturns(result1 error)
func (*FakeKeySetter) SetEncryptionKeyReturnsOnCall ¶
func (fake *FakeKeySetter) SetEncryptionKeyReturnsOnCall(i int, result1 error)
type FakeTokenVerifier ¶
type FakeTokenVerifier struct { VerifyStub func(context.Context, string) (web.TokenData, error) // contains filtered or unexported fields }
func (*FakeTokenVerifier) Invocations ¶
func (fake *FakeTokenVerifier) Invocations() map[string][][]interface{}
func (*FakeTokenVerifier) VerifyArgsForCall ¶
func (fake *FakeTokenVerifier) VerifyArgsForCall(i int) (context.Context, string)
func (*FakeTokenVerifier) VerifyCallCount ¶
func (fake *FakeTokenVerifier) VerifyCallCount() int
func (*FakeTokenVerifier) VerifyCalls ¶ added in v0.1.2
func (*FakeTokenVerifier) VerifyReturns ¶
func (fake *FakeTokenVerifier) VerifyReturns(result1 web.TokenData, result2 error)
func (*FakeTokenVerifier) VerifyReturnsOnCall ¶
func (fake *FakeTokenVerifier) VerifyReturnsOnCall(i int, result1 web.TokenData, result2 error)
Click to show internal directories.
Click to hide internal directories.