mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func NewConfig

func NewConfig(t mockConstructorTestingTNewConfig) *Config

NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Config) AutoCommitInterval

func (_m *Config) AutoCommitInterval() time.Duration

AutoCommitInterval provides a mock function with given fields:

func (*Config) BaseHostName

func (_m *Config) BaseHostName() string

BaseHostName provides a mock function with given fields:

func (*Config) ClientDiscoveryPort

func (_m *Config) ClientDiscoveryPort() int

ClientDiscoveryPort provides a mock function with given fields:

func (*Config) ConsumerAddDelay

func (_m *Config) ConsumerAddDelay() time.Duration

ConsumerAddDelay provides a mock function with given fields:

func (*Config) ConsumerPort

func (_m *Config) ConsumerPort() int

ConsumerPort provides a mock function with given fields:

func (*Config) ConsumerRanges

func (_m *Config) ConsumerRanges() int

ConsumerRanges provides a mock function with given fields:

func (*Config) ConsumerReadThreshold

func (_m *Config) ConsumerReadThreshold() int

ConsumerReadThreshold provides a mock function with given fields:

func (*Config) ConsumerReadTimeout

func (_m *Config) ConsumerReadTimeout() time.Duration

ConsumerReadTimeout provides a mock function with given fields:

func (*Config) CreateAllDirs

func (_m *Config) CreateAllDirs() error

CreateAllDirs provides a mock function with given fields:

func (*Config) DatalogPath

func (_m *Config) DatalogPath(topicDataId *types.TopicDataId) string

DatalogPath provides a mock function with given fields: topicDataId

func (*Config) DatalogSegmentsPath

func (_m *Config) DatalogSegmentsPath() string

DatalogSegmentsPath provides a mock function with given fields:

func (*Config) DevMode

func (_m *Config) DevMode() bool

DevMode provides a mock function with given fields:

func (*Config) FixedTopologyFilePollDelay

func (_m *Config) FixedTopologyFilePollDelay() time.Duration

FixedTopologyFilePollDelay provides a mock function with given fields:

func (*Config) GossipDataPort

func (_m *Config) GossipDataPort() int

GossipDataPort provides a mock function with given fields:

func (*Config) GossipPort

func (_m *Config) GossipPort() int

GossipPort provides a mock function with given fields:

func (*Config) HomePath

func (_m *Config) HomePath() string

HomePath provides a mock function with given fields:

func (*Config) IndexFilePeriodBytes

func (_m *Config) IndexFilePeriodBytes() int

IndexFilePeriodBytes provides a mock function with given fields:

func (*Config) Init

func (_m *Config) Init() error

Init provides a mock function with given fields:

func (*Config) ListenOnAllAddresses

func (_m *Config) ListenOnAllAddresses() bool

ListenOnAllAddresses provides a mock function with given fields:

func (*Config) LocalDbPath

func (_m *Config) LocalDbPath() string

LocalDbPath provides a mock function with given fields:

func (*Config) LogRetentionDuration

func (_m *Config) LogRetentionDuration() *time.Duration

LogRetentionDuration provides a mock function with given fields:

func (*Config) MaxDataBodyLength

func (_m *Config) MaxDataBodyLength() int

MaxDataBodyLength provides a mock function with given fields:

func (*Config) MaxGroupSize

func (_m *Config) MaxGroupSize() int

MaxGroupSize provides a mock function with given fields:

func (*Config) MaxMessageSize

func (_m *Config) MaxMessageSize() int

MaxMessageSize provides a mock function with given fields:

func (*Config) MaxSegmentSize

func (_m *Config) MaxSegmentSize() int

MaxSegmentSize provides a mock function with given fields:

func (*Config) MetricsPort

func (_m *Config) MetricsPort() int

MetricsPort provides a mock function with given fields:

func (*Config) Ordinal

func (_m *Config) Ordinal() int

Ordinal provides a mock function with given fields:

func (*Config) PodName

func (_m *Config) PodName() string

PodName provides a mock function with given fields:

func (*Config) PodNamespace

func (_m *Config) PodNamespace() string

PodNamespace provides a mock function with given fields:

func (*Config) ProducerBinaryPort added in v0.7.0

func (_m *Config) ProducerBinaryPort() int

ProducerBinaryPort provides a mock function with given fields:

func (*Config) ProducerBufferPoolSize

func (_m *Config) ProducerBufferPoolSize() int

ProducerBufferPoolSize provides a mock function with given fields:

func (*Config) ProducerPort

func (_m *Config) ProducerPort() int

ProducerPort provides a mock function with given fields:

func (*Config) ReadAheadSize

func (_m *Config) ReadAheadSize() int

ReadAheadSize provides a mock function with given fields:

func (*Config) ReplicationTimeout

func (_m *Config) ReplicationTimeout() time.Duration

ReplicationTimeout provides a mock function with given fields:

func (*Config) ReplicationWriteTimeout

func (_m *Config) ReplicationWriteTimeout() time.Duration

ReplicationWriteTimeout provides a mock function with given fields:

func (*Config) SegmentBufferSize

func (_m *Config) SegmentBufferSize() int

SegmentBufferSize provides a mock function with given fields:

func (*Config) SegmentFlushInterval

func (_m *Config) SegmentFlushInterval() time.Duration

SegmentFlushInterval provides a mock function with given fields:

func (*Config) ServiceName

func (_m *Config) ServiceName() string

ServiceName provides a mock function with given fields:

func (*Config) ShutdownDelay

func (_m *Config) ShutdownDelay() time.Duration

ShutdownDelay provides a mock function with given fields:

func (*Config) StreamBufferSize

func (_m *Config) StreamBufferSize() int

StreamBufferSize provides a mock function with given fields:

Jump to

Keyboard shortcuts

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