mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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 Cache

type Cache struct {
	GetStub func(interface{}) (interface{}, error)

	HasStub func(interface{}) bool

	SetStub func(interface{}, interface{}) error

	SetWithExpireStub func(interface{}, interface{}, time.Duration) error
	// contains filtered or unexported fields
}

func (*Cache) Get

func (fake *Cache) Get(arg1 interface{}) (interface{}, error)

func (*Cache) GetArgsForCall

func (fake *Cache) GetArgsForCall(i int) interface{}

func (*Cache) GetCallCount

func (fake *Cache) GetCallCount() int

func (*Cache) GetCalls

func (fake *Cache) GetCalls(stub func(interface{}) (interface{}, error))

func (*Cache) GetReturns

func (fake *Cache) GetReturns(result1 interface{}, result2 error)

func (*Cache) GetReturnsOnCall

func (fake *Cache) GetReturnsOnCall(i int, result1 interface{}, result2 error)

func (*Cache) Has

func (fake *Cache) Has(arg1 interface{}) bool

func (*Cache) HasArgsForCall

func (fake *Cache) HasArgsForCall(i int) interface{}

func (*Cache) HasCallCount

func (fake *Cache) HasCallCount() int

func (*Cache) HasCalls

func (fake *Cache) HasCalls(stub func(interface{}) bool)

func (*Cache) HasReturns

func (fake *Cache) HasReturns(result1 bool)

func (*Cache) HasReturnsOnCall

func (fake *Cache) HasReturnsOnCall(i int, result1 bool)

func (*Cache) Invocations

func (fake *Cache) Invocations() map[string][][]interface{}

func (*Cache) Set

func (fake *Cache) Set(arg1 interface{}, arg2 interface{}) error

func (*Cache) SetArgsForCall

func (fake *Cache) SetArgsForCall(i int) (interface{}, interface{})

func (*Cache) SetCallCount

func (fake *Cache) SetCallCount() int

func (*Cache) SetCalls

func (fake *Cache) SetCalls(stub func(interface{}, interface{}) error)

func (*Cache) SetReturns

func (fake *Cache) SetReturns(result1 error)

func (*Cache) SetReturnsOnCall

func (fake *Cache) SetReturnsOnCall(i int, result1 error)

func (*Cache) SetWithExpire

func (fake *Cache) SetWithExpire(arg1 interface{}, arg2 interface{}, arg3 time.Duration) error

func (*Cache) SetWithExpireArgsForCall

func (fake *Cache) SetWithExpireArgsForCall(i int) (interface{}, interface{}, time.Duration)

func (*Cache) SetWithExpireCallCount

func (fake *Cache) SetWithExpireCallCount() int

func (*Cache) SetWithExpireCalls

func (fake *Cache) SetWithExpireCalls(stub func(interface{}, interface{}, time.Duration) error)

func (*Cache) SetWithExpireReturns

func (fake *Cache) SetWithExpireReturns(result1 error)

func (*Cache) SetWithExpireReturnsOnCall

func (fake *Cache) SetWithExpireReturnsOnCall(i int, result1 error)

type OperationProcessor

type OperationProcessor struct {
	ResolveStub func(string) (*protocol.ResolutionModel, error)
	// contains filtered or unexported fields
}

func (*OperationProcessor) Invocations

func (fake *OperationProcessor) Invocations() map[string][][]interface{}

func (*OperationProcessor) Resolve

func (fake *OperationProcessor) Resolve(arg1 string) (*protocol.ResolutionModel, error)

func (*OperationProcessor) ResolveArgsForCall

func (fake *OperationProcessor) ResolveArgsForCall(i int) string

func (*OperationProcessor) ResolveCallCount

func (fake *OperationProcessor) ResolveCallCount() int

func (*OperationProcessor) ResolveCalls

func (fake *OperationProcessor) ResolveCalls(stub func(string) (*protocol.ResolutionModel, error))

func (*OperationProcessor) ResolveReturns

func (fake *OperationProcessor) ResolveReturns(result1 *protocol.ResolutionModel, result2 error)

func (*OperationProcessor) ResolveReturnsOnCall

func (fake *OperationProcessor) ResolveReturnsOnCall(i int, result1 *protocol.ResolutionModel, result2 error)

Jump to

Keyboard shortcuts

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