filterfakes

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

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) 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) 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) 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) 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) 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 (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) VerifyAuthorizationReturns added in v0.7.0

func (fake *FakeRequirement) VerifyAuthorizationReturns(result1 error)

Jump to

Keyboard shortcuts

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