Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAuthenticator
- func (fake *FakeAuthenticator) Authorize(arg1 echo.Context) error
- func (fake *FakeAuthenticator) AuthorizeArgsForCall(i int) echo.Context
- func (fake *FakeAuthenticator) AuthorizeCallCount() int
- func (fake *FakeAuthenticator) AuthorizeCalls(stub func(echo.Context) error)
- func (fake *FakeAuthenticator) AuthorizeReturns(result1 error)
- func (fake *FakeAuthenticator) AuthorizeReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthenticator) Exchange(arg1 echo.Context) error
- func (fake *FakeAuthenticator) ExchangeArgsForCall(i int) echo.Context
- func (fake *FakeAuthenticator) ExchangeCallCount() int
- func (fake *FakeAuthenticator) ExchangeCalls(stub func(echo.Context) error)
- func (fake *FakeAuthenticator) ExchangeReturns(result1 error)
- func (fake *FakeAuthenticator) ExchangeReturnsOnCall(i int, result1 error)
- func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
- func (fake *FakeAuthenticator) NewAuthorizer(arg1 string) (auth.Authorizer, error)
- func (fake *FakeAuthenticator) NewAuthorizerArgsForCall(i int) string
- func (fake *FakeAuthenticator) NewAuthorizerCallCount() int
- func (fake *FakeAuthenticator) NewAuthorizerCalls(stub func(string) (auth.Authorizer, error))
- func (fake *FakeAuthenticator) NewAuthorizerReturns(result1 auth.Authorizer, result2 error)
- func (fake *FakeAuthenticator) NewAuthorizerReturnsOnCall(i int, result1 auth.Authorizer, result2 error)
- type FakeAuthorizer
- func (fake *FakeAuthorizer) Admin() (bool, error)
- func (fake *FakeAuthorizer) AdminCallCount() int
- func (fake *FakeAuthorizer) AdminCalls(stub func() (bool, error))
- func (fake *FakeAuthorizer) AdminReturns(result1 bool, result2 error)
- func (fake *FakeAuthorizer) AdminReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAuthorizer) HasBillingAccess(arg1 []string) (bool, error)
- func (fake *FakeAuthorizer) HasBillingAccessArgsForCall(i int) []string
- func (fake *FakeAuthorizer) HasBillingAccessCallCount() int
- func (fake *FakeAuthorizer) HasBillingAccessCalls(stub func([]string) (bool, error))
- func (fake *FakeAuthorizer) HasBillingAccessReturns(result1 bool, result2 error)
- func (fake *FakeAuthorizer) HasBillingAccessReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticator ¶
type FakeAuthenticator struct { AuthorizeStub func(echo.Context) error ExchangeStub func(echo.Context) error NewAuthorizerStub func(string) (auth.Authorizer, error) // contains filtered or unexported fields }
func (*FakeAuthenticator) Authorize ¶
func (fake *FakeAuthenticator) Authorize(arg1 echo.Context) error
func (*FakeAuthenticator) AuthorizeArgsForCall ¶
func (fake *FakeAuthenticator) AuthorizeArgsForCall(i int) echo.Context
func (*FakeAuthenticator) AuthorizeCallCount ¶
func (fake *FakeAuthenticator) AuthorizeCallCount() int
func (*FakeAuthenticator) AuthorizeCalls ¶
func (fake *FakeAuthenticator) AuthorizeCalls(stub func(echo.Context) error)
func (*FakeAuthenticator) AuthorizeReturns ¶
func (fake *FakeAuthenticator) AuthorizeReturns(result1 error)
func (*FakeAuthenticator) AuthorizeReturnsOnCall ¶
func (fake *FakeAuthenticator) AuthorizeReturnsOnCall(i int, result1 error)
func (*FakeAuthenticator) Exchange ¶
func (fake *FakeAuthenticator) Exchange(arg1 echo.Context) error
func (*FakeAuthenticator) ExchangeArgsForCall ¶
func (fake *FakeAuthenticator) ExchangeArgsForCall(i int) echo.Context
func (*FakeAuthenticator) ExchangeCallCount ¶
func (fake *FakeAuthenticator) ExchangeCallCount() int
func (*FakeAuthenticator) ExchangeCalls ¶
func (fake *FakeAuthenticator) ExchangeCalls(stub func(echo.Context) error)
func (*FakeAuthenticator) ExchangeReturns ¶
func (fake *FakeAuthenticator) ExchangeReturns(result1 error)
func (*FakeAuthenticator) ExchangeReturnsOnCall ¶
func (fake *FakeAuthenticator) ExchangeReturnsOnCall(i int, result1 error)
func (*FakeAuthenticator) Invocations ¶
func (fake *FakeAuthenticator) Invocations() map[string][][]interface{}
func (*FakeAuthenticator) NewAuthorizer ¶
func (fake *FakeAuthenticator) NewAuthorizer(arg1 string) (auth.Authorizer, error)
func (*FakeAuthenticator) NewAuthorizerArgsForCall ¶
func (fake *FakeAuthenticator) NewAuthorizerArgsForCall(i int) string
func (*FakeAuthenticator) NewAuthorizerCallCount ¶
func (fake *FakeAuthenticator) NewAuthorizerCallCount() int
func (*FakeAuthenticator) NewAuthorizerCalls ¶
func (fake *FakeAuthenticator) NewAuthorizerCalls(stub func(string) (auth.Authorizer, error))
func (*FakeAuthenticator) NewAuthorizerReturns ¶
func (fake *FakeAuthenticator) NewAuthorizerReturns(result1 auth.Authorizer, result2 error)
func (*FakeAuthenticator) NewAuthorizerReturnsOnCall ¶
func (fake *FakeAuthenticator) NewAuthorizerReturnsOnCall(i int, result1 auth.Authorizer, result2 error)
type FakeAuthorizer ¶
type FakeAuthorizer struct { AdminStub func() (bool, error) HasBillingAccessStub func([]string) (bool, error) // contains filtered or unexported fields }
func (*FakeAuthorizer) Admin ¶
func (fake *FakeAuthorizer) Admin() (bool, error)
func (*FakeAuthorizer) AdminCallCount ¶
func (fake *FakeAuthorizer) AdminCallCount() int
func (*FakeAuthorizer) AdminCalls ¶
func (fake *FakeAuthorizer) AdminCalls(stub func() (bool, error))
func (*FakeAuthorizer) AdminReturns ¶
func (fake *FakeAuthorizer) AdminReturns(result1 bool, result2 error)
func (*FakeAuthorizer) AdminReturnsOnCall ¶
func (fake *FakeAuthorizer) AdminReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAuthorizer) HasBillingAccess ¶
func (fake *FakeAuthorizer) HasBillingAccess(arg1 []string) (bool, error)
func (*FakeAuthorizer) HasBillingAccessArgsForCall ¶
func (fake *FakeAuthorizer) HasBillingAccessArgsForCall(i int) []string
func (*FakeAuthorizer) HasBillingAccessCallCount ¶
func (fake *FakeAuthorizer) HasBillingAccessCallCount() int
func (*FakeAuthorizer) HasBillingAccessCalls ¶
func (fake *FakeAuthorizer) HasBillingAccessCalls(stub func([]string) (bool, error))
func (*FakeAuthorizer) HasBillingAccessReturns ¶
func (fake *FakeAuthorizer) HasBillingAccessReturns(result1 bool, result2 error)
func (*FakeAuthorizer) HasBillingAccessReturnsOnCall ¶
func (fake *FakeAuthorizer) HasBillingAccessReturnsOnCall(i int, result1 bool, result2 error)
func (*FakeAuthorizer) Invocations ¶
func (fake *FakeAuthorizer) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.