Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeFilter
- func (fake *FakeFilter) Create(arg1 interface{}) (filter.Requirement, error)
- func (fake *FakeFilter) CreateArgsForCall(i int) interface{}
- func (fake *FakeFilter) CreateCallCount() int
- func (fake *FakeFilter) CreateReturns(result1 filter.Requirement, result2 error)
- func (fake *FakeFilter) Invocations() map[string][][]interface{}
- type FakeManager
- func (fake *FakeManager) Add(arg1 string, arg2 filter.Filter)
- func (fake *FakeManager) AddArgsForCall(i int) (string, filter.Filter)
- func (fake *FakeManager) AddCallCount() int
- func (fake *FakeManager) Filters() []string
- func (fake *FakeManager) FiltersCallCount() int
- func (fake *FakeManager) FiltersReturns(result1 []string)
- func (fake *FakeManager) Get(arg1 string) (filter.Filter, error)
- func (fake *FakeManager) GetArgsForCall(i int) string
- func (fake *FakeManager) GetCallCount() int
- func (fake *FakeManager) GetReturns(result1 filter.Filter, result2 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- type FakeRequirement
- func (fake *FakeRequirement) Invocations() map[string][][]interface{}
- func (fake *FakeRequirement) VerifyAuthorization(arg1 *http.Request, arg2 *auth.Token) error
- func (fake *FakeRequirement) VerifyAuthorizationArgsForCall(i int) (*http.Request, *auth.Token)
- func (fake *FakeRequirement) VerifyAuthorizationCallCount() int
- func (fake *FakeRequirement) VerifyAuthorizationReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFilter ¶
type FakeFilter struct { CreateStub func(interface{}) (filter.Requirement, error) // contains filtered or unexported fields }
func (*FakeFilter) Create ¶
func (fake *FakeFilter) Create(arg1 interface{}) (filter.Requirement, error)
func (*FakeFilter) CreateArgsForCall ¶
func (fake *FakeFilter) CreateArgsForCall(i int) interface{}
func (*FakeFilter) CreateCallCount ¶
func (fake *FakeFilter) CreateCallCount() int
func (*FakeFilter) CreateReturns ¶
func (fake *FakeFilter) CreateReturns(result1 filter.Requirement, result2 error)
func (*FakeFilter) Invocations ¶
func (fake *FakeFilter) Invocations() map[string][][]interface{}
type FakeManager ¶
type FakeManager struct { AddStub func(string, filter.Filter) GetStub func(string) (filter.Filter, error) FiltersStub func() []string // contains filtered or unexported fields }
func (*FakeManager) AddArgsForCall ¶
func (fake *FakeManager) AddArgsForCall(i int) (string, filter.Filter)
func (*FakeManager) AddCallCount ¶
func (fake *FakeManager) AddCallCount() int
func (*FakeManager) Filters ¶
func (fake *FakeManager) Filters() []string
func (*FakeManager) FiltersCallCount ¶
func (fake *FakeManager) FiltersCallCount() int
func (*FakeManager) FiltersReturns ¶
func (fake *FakeManager) FiltersReturns(result1 []string)
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) string
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 filter.Filter, result2 error)
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
type FakeRequirement ¶
type FakeRequirement struct { VerifyAuthorizationStub func(*http.Request, *auth.Token) error // contains filtered or unexported fields }
func (*FakeRequirement) Invocations ¶
func (fake *FakeRequirement) Invocations() map[string][][]interface{}
func (*FakeRequirement) VerifyAuthorization ¶ added in v0.7.0
func (*FakeRequirement) VerifyAuthorizationArgsForCall ¶ added in v0.7.0
func (*FakeRequirement) VerifyAuthorizationCallCount ¶ added in v0.7.0
func (fake *FakeRequirement) VerifyAuthorizationCallCount() int
func (*FakeRequirement) VerifyAuthorizationReturns ¶ added in v0.7.0
func (fake *FakeRequirement) VerifyAuthorizationReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.