Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Manager
- func (fake *Manager) Cache() map[protocol.DeviceID]discover.CacheEntry
- func (fake *Manager) CacheCallCount() int
- func (fake *Manager) CacheCalls(stub func() map[protocol.DeviceID]discover.CacheEntry)
- func (fake *Manager) CacheReturns(result1 map[protocol.DeviceID]discover.CacheEntry)
- func (fake *Manager) CacheReturnsOnCall(i int, result1 map[protocol.DeviceID]discover.CacheEntry)
- func (fake *Manager) ChildErrors() map[string]error
- func (fake *Manager) ChildErrorsCallCount() int
- func (fake *Manager) ChildErrorsCalls(stub func() map[string]error)
- func (fake *Manager) ChildErrorsReturns(result1 map[string]error)
- func (fake *Manager) ChildErrorsReturnsOnCall(i int, result1 map[string]error)
- func (fake *Manager) Error() error
- func (fake *Manager) ErrorCallCount() int
- func (fake *Manager) ErrorCalls(stub func() error)
- func (fake *Manager) ErrorReturns(result1 error)
- func (fake *Manager) ErrorReturnsOnCall(i int, result1 error)
- func (fake *Manager) Invocations() map[string][][]interface{}
- func (fake *Manager) Lookup(arg1 context.Context, arg2 protocol.DeviceID) ([]string, error)
- func (fake *Manager) LookupArgsForCall(i int) (context.Context, protocol.DeviceID)
- func (fake *Manager) LookupCallCount() int
- func (fake *Manager) LookupCalls(stub func(context.Context, protocol.DeviceID) ([]string, error))
- func (fake *Manager) LookupReturns(result1 []string, result2 error)
- func (fake *Manager) LookupReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *Manager) Serve(arg1 context.Context) error
- func (fake *Manager) ServeArgsForCall(i int) context.Context
- func (fake *Manager) ServeCallCount() int
- func (fake *Manager) ServeCalls(stub func(context.Context) error)
- func (fake *Manager) ServeReturns(result1 error)
- func (fake *Manager) ServeReturnsOnCall(i int, result1 error)
- func (fake *Manager) String() string
- func (fake *Manager) StringCallCount() int
- func (fake *Manager) StringCalls(stub func() string)
- func (fake *Manager) StringReturns(result1 string)
- func (fake *Manager) StringReturnsOnCall(i int, result1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { CacheStub func() map[protocol.DeviceID]discover.CacheEntry ChildErrorsStub func() map[string]error ErrorStub func() error LookupStub func(context.Context, protocol.DeviceID) ([]string, error) ServeStub func(context.Context) error StringStub func() string // contains filtered or unexported fields }
func (*Manager) CacheCallCount ¶
func (*Manager) CacheCalls ¶
func (fake *Manager) CacheCalls(stub func() map[protocol.DeviceID]discover.CacheEntry)
func (*Manager) CacheReturns ¶
func (fake *Manager) CacheReturns(result1 map[protocol.DeviceID]discover.CacheEntry)
func (*Manager) CacheReturnsOnCall ¶
func (*Manager) ChildErrors ¶
func (*Manager) ChildErrorsCallCount ¶
func (*Manager) ChildErrorsCalls ¶
func (*Manager) ChildErrorsReturns ¶
func (*Manager) ChildErrorsReturnsOnCall ¶
func (*Manager) ErrorCallCount ¶
func (*Manager) ErrorCalls ¶
func (*Manager) ErrorReturns ¶
func (*Manager) ErrorReturnsOnCall ¶
func (*Manager) Invocations ¶
func (*Manager) LookupArgsForCall ¶
func (*Manager) LookupCallCount ¶
func (*Manager) LookupCalls ¶
func (*Manager) LookupReturns ¶
func (*Manager) LookupReturnsOnCall ¶
func (*Manager) ServeCallCount ¶
func (*Manager) ServeReturns ¶
func (*Manager) ServeReturnsOnCall ¶
func (*Manager) StringCallCount ¶
func (*Manager) StringCalls ¶
func (*Manager) StringReturns ¶
func (*Manager) StringReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.