mocks

package
v2.11.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TelemetryIngress

type TelemetryIngress struct {
	mock.Mock
}

TelemetryIngress is an autogenerated mock type for the TelemetryIngress type

func NewTelemetryIngress

func NewTelemetryIngress(t interface {
	mock.TestingT
	Cleanup(func())
}) *TelemetryIngress

NewTelemetryIngress creates a new instance of TelemetryIngress. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TelemetryIngress) BufferSize

func (_m *TelemetryIngress) BufferSize() uint

BufferSize provides a mock function with given fields:

func (*TelemetryIngress) Endpoints

Endpoints provides a mock function with given fields:

func (*TelemetryIngress) Logging

func (_m *TelemetryIngress) Logging() bool

Logging provides a mock function with given fields:

func (*TelemetryIngress) MaxBatchSize

func (_m *TelemetryIngress) MaxBatchSize() uint

MaxBatchSize provides a mock function with given fields:

func (*TelemetryIngress) SendInterval

func (_m *TelemetryIngress) SendInterval() time.Duration

SendInterval provides a mock function with given fields:

func (*TelemetryIngress) SendTimeout

func (_m *TelemetryIngress) SendTimeout() time.Duration

SendTimeout provides a mock function with given fields:

func (*TelemetryIngress) UniConn

func (_m *TelemetryIngress) UniConn() bool

UniConn provides a mock function with given fields:

func (*TelemetryIngress) UseBatchSend

func (_m *TelemetryIngress) UseBatchSend() bool

UseBatchSend provides a mock function with given fields:

type TelemetryIngressEndpoint

type TelemetryIngressEndpoint struct {
	mock.Mock
}

TelemetryIngressEndpoint is an autogenerated mock type for the TelemetryIngressEndpoint type

func NewTelemetryIngressEndpoint

func NewTelemetryIngressEndpoint(t interface {
	mock.TestingT
	Cleanup(func())
}) *TelemetryIngressEndpoint

NewTelemetryIngressEndpoint creates a new instance of TelemetryIngressEndpoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TelemetryIngressEndpoint) ChainID

func (_m *TelemetryIngressEndpoint) ChainID() string

ChainID provides a mock function with given fields:

func (*TelemetryIngressEndpoint) Network

func (_m *TelemetryIngressEndpoint) Network() string

Network provides a mock function with given fields:

func (*TelemetryIngressEndpoint) ServerPubKey

func (_m *TelemetryIngressEndpoint) ServerPubKey() string

ServerPubKey provides a mock function with given fields:

func (*TelemetryIngressEndpoint) URL

func (_m *TelemetryIngressEndpoint) URL() *url.URL

URL 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