filterfakes

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Add

func (fake *FakeManager) Add(arg1 string, arg2 filter.Filter)

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) Get

func (fake *FakeManager) Get(arg1 string) (filter.Filter, error)

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 (fake *FakeRequirement) VerifyAuthorization(arg1 *http.Request, arg2 *auth.Token) error

func (*FakeRequirement) VerifyAuthorizationArgsForCall added in v0.7.0

func (fake *FakeRequirement) VerifyAuthorizationArgsForCall(i int) (*http.Request, *auth.Token)

func (*FakeRequirement) VerifyAuthorizationCallCount added in v0.7.0

func (fake *FakeRequirement) VerifyAuthorizationCallCount() int

func (*FakeRequirement) VerifyAuthorizationCalls added in v0.19.0

func (fake *FakeRequirement) VerifyAuthorizationCalls(stub func(*http.Request, *auth.Token) error)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL