Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
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) CreateCalls(stub func(interface{}) (filter.Requirement, error))
- func (fake *FakeFilter) CreateReturns(result1 filter.Requirement, result2 error)
- func (fake *FakeFilter) CreateReturnsOnCall(i int, 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) AddCalls(stub func(string, filter.Filter))
- func (fake *FakeManager) Filters() []string
- func (fake *FakeManager) FiltersCallCount() int
- func (fake *FakeManager) FiltersCalls(stub func() []string)
- func (fake *FakeManager) FiltersReturns(result1 []string)
- func (fake *FakeManager) FiltersReturnsOnCall(i int, 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) GetCalls(stub func(string) (filter.Filter, error))
- func (fake *FakeManager) GetReturns(result1 filter.Filter, result2 error)
- func (fake *FakeManager) GetReturnsOnCall(i int, 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) VerifyAuthorizationCalls(stub func(*http.Request, *auth.Token) error)
- func (fake *FakeRequirement) VerifyAuthorizationReturns(result1 error)
- func (fake *FakeRequirement) VerifyAuthorizationReturnsOnCall(i int, 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) CreateCalls ¶ added in v0.19.0
func (fake *FakeFilter) CreateCalls(stub func(interface{}) (filter.Requirement, error))
func (*FakeFilter) CreateReturns ¶
func (fake *FakeFilter) CreateReturns(result1 filter.Requirement, result2 error)
func (*FakeFilter) CreateReturnsOnCall ¶ added in v0.12.0
func (fake *FakeFilter) CreateReturnsOnCall(i int, 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) FiltersStub func() []string GetStub func(string) (filter.Filter, error) // 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) AddCalls ¶ added in v0.19.0
func (fake *FakeManager) AddCalls(stub func(string, filter.Filter))
func (*FakeManager) Filters ¶
func (fake *FakeManager) Filters() []string
func (*FakeManager) FiltersCallCount ¶
func (fake *FakeManager) FiltersCallCount() int
func (*FakeManager) FiltersCalls ¶ added in v0.19.0
func (fake *FakeManager) FiltersCalls(stub func() []string)
func (*FakeManager) FiltersReturns ¶
func (fake *FakeManager) FiltersReturns(result1 []string)
func (*FakeManager) FiltersReturnsOnCall ¶ added in v0.12.0
func (fake *FakeManager) FiltersReturnsOnCall(i int, result1 []string)
func (*FakeManager) GetArgsForCall ¶
func (fake *FakeManager) GetArgsForCall(i int) string
func (*FakeManager) GetCallCount ¶
func (fake *FakeManager) GetCallCount() int
func (*FakeManager) GetCalls ¶ added in v0.19.0
func (fake *FakeManager) GetCalls(stub func(string) (filter.Filter, error))
func (*FakeManager) GetReturns ¶
func (fake *FakeManager) GetReturns(result1 filter.Filter, result2 error)
func (*FakeManager) GetReturnsOnCall ¶ added in v0.12.0
func (fake *FakeManager) GetReturnsOnCall(i int, 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) VerifyAuthorizationCalls ¶ added in v0.19.0
func (*FakeRequirement) VerifyAuthorizationReturns ¶ added in v0.7.0
func (fake *FakeRequirement) VerifyAuthorizationReturns(result1 error)
func (*FakeRequirement) VerifyAuthorizationReturnsOnCall ¶ added in v0.12.0
func (fake *FakeRequirement) VerifyAuthorizationReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.