mocks

package
v2.15.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 4 Imported by: 0

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) EXPECT added in v2.15.0

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) EXPECT added in v2.15.0

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:

type TelemetryIngressEndpoint_ChainID_Call added in v2.15.0

type TelemetryIngressEndpoint_ChainID_Call struct {
	*mock.Call
}

TelemetryIngressEndpoint_ChainID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChainID'

func (*TelemetryIngressEndpoint_ChainID_Call) Return added in v2.15.0

func (*TelemetryIngressEndpoint_ChainID_Call) Run added in v2.15.0

func (*TelemetryIngressEndpoint_ChainID_Call) RunAndReturn added in v2.15.0

type TelemetryIngressEndpoint_Expecter added in v2.15.0

type TelemetryIngressEndpoint_Expecter struct {
	// contains filtered or unexported fields
}

func (*TelemetryIngressEndpoint_Expecter) ChainID added in v2.15.0

ChainID is a helper method to define mock.On call

func (*TelemetryIngressEndpoint_Expecter) Network added in v2.15.0

Network is a helper method to define mock.On call

func (*TelemetryIngressEndpoint_Expecter) ServerPubKey added in v2.15.0

ServerPubKey is a helper method to define mock.On call

func (*TelemetryIngressEndpoint_Expecter) URL added in v2.15.0

URL is a helper method to define mock.On call

type TelemetryIngressEndpoint_Network_Call added in v2.15.0

type TelemetryIngressEndpoint_Network_Call struct {
	*mock.Call
}

TelemetryIngressEndpoint_Network_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Network'

func (*TelemetryIngressEndpoint_Network_Call) Return added in v2.15.0

func (*TelemetryIngressEndpoint_Network_Call) Run added in v2.15.0

func (*TelemetryIngressEndpoint_Network_Call) RunAndReturn added in v2.15.0

type TelemetryIngressEndpoint_ServerPubKey_Call added in v2.15.0

type TelemetryIngressEndpoint_ServerPubKey_Call struct {
	*mock.Call
}

TelemetryIngressEndpoint_ServerPubKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerPubKey'

func (*TelemetryIngressEndpoint_ServerPubKey_Call) Return added in v2.15.0

func (*TelemetryIngressEndpoint_ServerPubKey_Call) Run added in v2.15.0

func (*TelemetryIngressEndpoint_ServerPubKey_Call) RunAndReturn added in v2.15.0

type TelemetryIngressEndpoint_URL_Call added in v2.15.0

type TelemetryIngressEndpoint_URL_Call struct {
	*mock.Call
}

TelemetryIngressEndpoint_URL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URL'

func (*TelemetryIngressEndpoint_URL_Call) Return added in v2.15.0

func (*TelemetryIngressEndpoint_URL_Call) Run added in v2.15.0

func (*TelemetryIngressEndpoint_URL_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_BufferSize_Call added in v2.15.0

type TelemetryIngress_BufferSize_Call struct {
	*mock.Call
}

TelemetryIngress_BufferSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BufferSize'

func (*TelemetryIngress_BufferSize_Call) Return added in v2.15.0

func (*TelemetryIngress_BufferSize_Call) Run added in v2.15.0

func (*TelemetryIngress_BufferSize_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_Endpoints_Call added in v2.15.0

type TelemetryIngress_Endpoints_Call struct {
	*mock.Call
}

TelemetryIngress_Endpoints_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Endpoints'

func (*TelemetryIngress_Endpoints_Call) Return added in v2.15.0

func (*TelemetryIngress_Endpoints_Call) Run added in v2.15.0

func (*TelemetryIngress_Endpoints_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_Expecter added in v2.15.0

type TelemetryIngress_Expecter struct {
	// contains filtered or unexported fields
}

func (*TelemetryIngress_Expecter) BufferSize added in v2.15.0

BufferSize is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) Endpoints added in v2.15.0

Endpoints is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) Logging added in v2.15.0

Logging is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) MaxBatchSize added in v2.15.0

MaxBatchSize is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) SendInterval added in v2.15.0

SendInterval is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) SendTimeout added in v2.15.0

SendTimeout is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) UniConn added in v2.15.0

UniConn is a helper method to define mock.On call

func (*TelemetryIngress_Expecter) UseBatchSend added in v2.15.0

UseBatchSend is a helper method to define mock.On call

type TelemetryIngress_Logging_Call added in v2.15.0

type TelemetryIngress_Logging_Call struct {
	*mock.Call
}

TelemetryIngress_Logging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Logging'

func (*TelemetryIngress_Logging_Call) Return added in v2.15.0

func (*TelemetryIngress_Logging_Call) Run added in v2.15.0

func (*TelemetryIngress_Logging_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_MaxBatchSize_Call added in v2.15.0

type TelemetryIngress_MaxBatchSize_Call struct {
	*mock.Call
}

TelemetryIngress_MaxBatchSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MaxBatchSize'

func (*TelemetryIngress_MaxBatchSize_Call) Return added in v2.15.0

func (*TelemetryIngress_MaxBatchSize_Call) Run added in v2.15.0

func (*TelemetryIngress_MaxBatchSize_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_SendInterval_Call added in v2.15.0

type TelemetryIngress_SendInterval_Call struct {
	*mock.Call
}

TelemetryIngress_SendInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendInterval'

func (*TelemetryIngress_SendInterval_Call) Return added in v2.15.0

func (*TelemetryIngress_SendInterval_Call) Run added in v2.15.0

func (*TelemetryIngress_SendInterval_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_SendTimeout_Call added in v2.15.0

type TelemetryIngress_SendTimeout_Call struct {
	*mock.Call
}

TelemetryIngress_SendTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTimeout'

func (*TelemetryIngress_SendTimeout_Call) Return added in v2.15.0

func (*TelemetryIngress_SendTimeout_Call) Run added in v2.15.0

func (*TelemetryIngress_SendTimeout_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_UniConn_Call added in v2.15.0

type TelemetryIngress_UniConn_Call struct {
	*mock.Call
}

TelemetryIngress_UniConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UniConn'

func (*TelemetryIngress_UniConn_Call) Return added in v2.15.0

func (*TelemetryIngress_UniConn_Call) Run added in v2.15.0

func (*TelemetryIngress_UniConn_Call) RunAndReturn added in v2.15.0

type TelemetryIngress_UseBatchSend_Call added in v2.15.0

type TelemetryIngress_UseBatchSend_Call struct {
	*mock.Call
}

TelemetryIngress_UseBatchSend_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UseBatchSend'

func (*TelemetryIngress_UseBatchSend_Call) Return added in v2.15.0

func (*TelemetryIngress_UseBatchSend_Call) Run added in v2.15.0

func (*TelemetryIngress_UseBatchSend_Call) RunAndReturn added in v2.15.0

Jump to

Keyboard shortcuts

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