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: 3 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 AppDataHandlerRegistry

type AppDataHandlerRegistry struct {
	RegisterStub func(dataType string, handler appdata.Handler) error
	// contains filtered or unexported fields
}

func (*AppDataHandlerRegistry) Invocations

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

func (*AppDataHandlerRegistry) Register

func (fake *AppDataHandlerRegistry) Register(dataType string, handler appdata.Handler) error

func (*AppDataHandlerRegistry) RegisterArgsForCall

func (fake *AppDataHandlerRegistry) RegisterArgsForCall(i int) (string, appdata.Handler)

func (*AppDataHandlerRegistry) RegisterCallCount

func (fake *AppDataHandlerRegistry) RegisterCallCount() int

func (*AppDataHandlerRegistry) RegisterReturns

func (fake *AppDataHandlerRegistry) RegisterReturns(result1 error)

func (*AppDataHandlerRegistry) RegisterReturnsOnCall

func (fake *AppDataHandlerRegistry) RegisterReturnsOnCall(i int, result1 error)

type DiscoveryConfig

type DiscoveryConfig struct {
	DiscoveryCacheExpirationTimeStub func() time.Duration

	DiscoveryGossipMaxAttemptsStub func() int

	DiscoveryGossipTimeoutStub func() time.Duration

	DiscoveryGossipMaxPeersStub func() int
	// contains filtered or unexported fields
}

func (*DiscoveryConfig) DiscoveryCacheExpirationTime

func (fake *DiscoveryConfig) DiscoveryCacheExpirationTime() time.Duration

func (*DiscoveryConfig) DiscoveryCacheExpirationTimeCallCount

func (fake *DiscoveryConfig) DiscoveryCacheExpirationTimeCallCount() int

func (*DiscoveryConfig) DiscoveryCacheExpirationTimeReturns

func (fake *DiscoveryConfig) DiscoveryCacheExpirationTimeReturns(result1 time.Duration)

func (*DiscoveryConfig) DiscoveryCacheExpirationTimeReturnsOnCall

func (fake *DiscoveryConfig) DiscoveryCacheExpirationTimeReturnsOnCall(i int, result1 time.Duration)

func (*DiscoveryConfig) DiscoveryGossipMaxAttempts

func (fake *DiscoveryConfig) DiscoveryGossipMaxAttempts() int

func (*DiscoveryConfig) DiscoveryGossipMaxAttemptsCallCount

func (fake *DiscoveryConfig) DiscoveryGossipMaxAttemptsCallCount() int

func (*DiscoveryConfig) DiscoveryGossipMaxAttemptsReturns

func (fake *DiscoveryConfig) DiscoveryGossipMaxAttemptsReturns(result1 int)

func (*DiscoveryConfig) DiscoveryGossipMaxAttemptsReturnsOnCall

func (fake *DiscoveryConfig) DiscoveryGossipMaxAttemptsReturnsOnCall(i int, result1 int)

func (*DiscoveryConfig) DiscoveryGossipMaxPeers

func (fake *DiscoveryConfig) DiscoveryGossipMaxPeers() int

func (*DiscoveryConfig) DiscoveryGossipMaxPeersCallCount

func (fake *DiscoveryConfig) DiscoveryGossipMaxPeersCallCount() int

func (*DiscoveryConfig) DiscoveryGossipMaxPeersReturns

func (fake *DiscoveryConfig) DiscoveryGossipMaxPeersReturns(result1 int)

func (*DiscoveryConfig) DiscoveryGossipMaxPeersReturnsOnCall

func (fake *DiscoveryConfig) DiscoveryGossipMaxPeersReturnsOnCall(i int, result1 int)

func (*DiscoveryConfig) DiscoveryGossipTimeout

func (fake *DiscoveryConfig) DiscoveryGossipTimeout() time.Duration

func (*DiscoveryConfig) DiscoveryGossipTimeoutCallCount

func (fake *DiscoveryConfig) DiscoveryGossipTimeoutCallCount() int

func (*DiscoveryConfig) DiscoveryGossipTimeoutReturns

func (fake *DiscoveryConfig) DiscoveryGossipTimeoutReturns(result1 time.Duration)

func (*DiscoveryConfig) DiscoveryGossipTimeoutReturnsOnCall

func (fake *DiscoveryConfig) DiscoveryGossipTimeoutReturnsOnCall(i int, result1 time.Duration)

func (*DiscoveryConfig) Invocations

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

Jump to

Keyboard shortcuts

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