Documentation ¶
Index ¶
- type TelemetryIngress
- func (_m *TelemetryIngress) BufferSize() uint
- func (_m *TelemetryIngress) EXPECT() *TelemetryIngress_Expecter
- func (_m *TelemetryIngress) Endpoints() []config.TelemetryIngressEndpoint
- func (_m *TelemetryIngress) Logging() bool
- func (_m *TelemetryIngress) MaxBatchSize() uint
- func (_m *TelemetryIngress) SendInterval() time.Duration
- func (_m *TelemetryIngress) SendTimeout() time.Duration
- func (_m *TelemetryIngress) UniConn() bool
- func (_m *TelemetryIngress) UseBatchSend() bool
- type TelemetryIngressEndpoint
- type TelemetryIngressEndpoint_ChainID_Call
- func (_c *TelemetryIngressEndpoint_ChainID_Call) Return(_a0 string) *TelemetryIngressEndpoint_ChainID_Call
- func (_c *TelemetryIngressEndpoint_ChainID_Call) Run(run func()) *TelemetryIngressEndpoint_ChainID_Call
- func (_c *TelemetryIngressEndpoint_ChainID_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_ChainID_Call
- type TelemetryIngressEndpoint_Expecter
- func (_e *TelemetryIngressEndpoint_Expecter) ChainID() *TelemetryIngressEndpoint_ChainID_Call
- func (_e *TelemetryIngressEndpoint_Expecter) Network() *TelemetryIngressEndpoint_Network_Call
- func (_e *TelemetryIngressEndpoint_Expecter) ServerPubKey() *TelemetryIngressEndpoint_ServerPubKey_Call
- func (_e *TelemetryIngressEndpoint_Expecter) URL() *TelemetryIngressEndpoint_URL_Call
- type TelemetryIngressEndpoint_Network_Call
- func (_c *TelemetryIngressEndpoint_Network_Call) Return(_a0 string) *TelemetryIngressEndpoint_Network_Call
- func (_c *TelemetryIngressEndpoint_Network_Call) Run(run func()) *TelemetryIngressEndpoint_Network_Call
- func (_c *TelemetryIngressEndpoint_Network_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_Network_Call
- type TelemetryIngressEndpoint_ServerPubKey_Call
- func (_c *TelemetryIngressEndpoint_ServerPubKey_Call) Return(_a0 string) *TelemetryIngressEndpoint_ServerPubKey_Call
- func (_c *TelemetryIngressEndpoint_ServerPubKey_Call) Run(run func()) *TelemetryIngressEndpoint_ServerPubKey_Call
- func (_c *TelemetryIngressEndpoint_ServerPubKey_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_ServerPubKey_Call
- type TelemetryIngressEndpoint_URL_Call
- func (_c *TelemetryIngressEndpoint_URL_Call) Return(_a0 *url.URL) *TelemetryIngressEndpoint_URL_Call
- func (_c *TelemetryIngressEndpoint_URL_Call) Run(run func()) *TelemetryIngressEndpoint_URL_Call
- func (_c *TelemetryIngressEndpoint_URL_Call) RunAndReturn(run func() *url.URL) *TelemetryIngressEndpoint_URL_Call
- type TelemetryIngress_BufferSize_Call
- type TelemetryIngress_Endpoints_Call
- func (_c *TelemetryIngress_Endpoints_Call) Return(_a0 []config.TelemetryIngressEndpoint) *TelemetryIngress_Endpoints_Call
- func (_c *TelemetryIngress_Endpoints_Call) Run(run func()) *TelemetryIngress_Endpoints_Call
- func (_c *TelemetryIngress_Endpoints_Call) RunAndReturn(run func() []config.TelemetryIngressEndpoint) *TelemetryIngress_Endpoints_Call
- type TelemetryIngress_Expecter
- func (_e *TelemetryIngress_Expecter) BufferSize() *TelemetryIngress_BufferSize_Call
- func (_e *TelemetryIngress_Expecter) Endpoints() *TelemetryIngress_Endpoints_Call
- func (_e *TelemetryIngress_Expecter) Logging() *TelemetryIngress_Logging_Call
- func (_e *TelemetryIngress_Expecter) MaxBatchSize() *TelemetryIngress_MaxBatchSize_Call
- func (_e *TelemetryIngress_Expecter) SendInterval() *TelemetryIngress_SendInterval_Call
- func (_e *TelemetryIngress_Expecter) SendTimeout() *TelemetryIngress_SendTimeout_Call
- func (_e *TelemetryIngress_Expecter) UniConn() *TelemetryIngress_UniConn_Call
- func (_e *TelemetryIngress_Expecter) UseBatchSend() *TelemetryIngress_UseBatchSend_Call
- type TelemetryIngress_Logging_Call
- type TelemetryIngress_MaxBatchSize_Call
- func (_c *TelemetryIngress_MaxBatchSize_Call) Return(_a0 uint) *TelemetryIngress_MaxBatchSize_Call
- func (_c *TelemetryIngress_MaxBatchSize_Call) Run(run func()) *TelemetryIngress_MaxBatchSize_Call
- func (_c *TelemetryIngress_MaxBatchSize_Call) RunAndReturn(run func() uint) *TelemetryIngress_MaxBatchSize_Call
- type TelemetryIngress_SendInterval_Call
- func (_c *TelemetryIngress_SendInterval_Call) Return(_a0 time.Duration) *TelemetryIngress_SendInterval_Call
- func (_c *TelemetryIngress_SendInterval_Call) Run(run func()) *TelemetryIngress_SendInterval_Call
- func (_c *TelemetryIngress_SendInterval_Call) RunAndReturn(run func() time.Duration) *TelemetryIngress_SendInterval_Call
- type TelemetryIngress_SendTimeout_Call
- func (_c *TelemetryIngress_SendTimeout_Call) Return(_a0 time.Duration) *TelemetryIngress_SendTimeout_Call
- func (_c *TelemetryIngress_SendTimeout_Call) Run(run func()) *TelemetryIngress_SendTimeout_Call
- func (_c *TelemetryIngress_SendTimeout_Call) RunAndReturn(run func() time.Duration) *TelemetryIngress_SendTimeout_Call
- type TelemetryIngress_UniConn_Call
- type TelemetryIngress_UseBatchSend_Call
- func (_c *TelemetryIngress_UseBatchSend_Call) Return(_a0 bool) *TelemetryIngress_UseBatchSend_Call
- func (_c *TelemetryIngress_UseBatchSend_Call) Run(run func()) *TelemetryIngress_UseBatchSend_Call
- func (_c *TelemetryIngress_UseBatchSend_Call) RunAndReturn(run func() bool) *TelemetryIngress_UseBatchSend_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TelemetryIngress ¶
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 (_m *TelemetryIngress) EXPECT() *TelemetryIngress_Expecter
func (*TelemetryIngress) Endpoints ¶
func (_m *TelemetryIngress) Endpoints() []config.TelemetryIngressEndpoint
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 ¶
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 (_m *TelemetryIngressEndpoint) EXPECT() *TelemetryIngressEndpoint_Expecter
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
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 (_c *TelemetryIngressEndpoint_ChainID_Call) Return(_a0 string) *TelemetryIngressEndpoint_ChainID_Call
func (*TelemetryIngressEndpoint_ChainID_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_ChainID_Call) Run(run func()) *TelemetryIngressEndpoint_ChainID_Call
func (*TelemetryIngressEndpoint_ChainID_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_ChainID_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_ChainID_Call
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
func (_e *TelemetryIngressEndpoint_Expecter) ChainID() *TelemetryIngressEndpoint_ChainID_Call
ChainID is a helper method to define mock.On call
func (*TelemetryIngressEndpoint_Expecter) Network ¶ added in v2.15.0
func (_e *TelemetryIngressEndpoint_Expecter) Network() *TelemetryIngressEndpoint_Network_Call
Network is a helper method to define mock.On call
func (*TelemetryIngressEndpoint_Expecter) ServerPubKey ¶ added in v2.15.0
func (_e *TelemetryIngressEndpoint_Expecter) ServerPubKey() *TelemetryIngressEndpoint_ServerPubKey_Call
ServerPubKey is a helper method to define mock.On call
func (*TelemetryIngressEndpoint_Expecter) URL ¶ added in v2.15.0
func (_e *TelemetryIngressEndpoint_Expecter) URL() *TelemetryIngressEndpoint_URL_Call
URL is a helper method to define mock.On call
type TelemetryIngressEndpoint_Network_Call ¶ added in v2.15.0
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 (_c *TelemetryIngressEndpoint_Network_Call) Return(_a0 string) *TelemetryIngressEndpoint_Network_Call
func (*TelemetryIngressEndpoint_Network_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_Network_Call) Run(run func()) *TelemetryIngressEndpoint_Network_Call
func (*TelemetryIngressEndpoint_Network_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_Network_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_Network_Call
type TelemetryIngressEndpoint_ServerPubKey_Call ¶ added in v2.15.0
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 (_c *TelemetryIngressEndpoint_ServerPubKey_Call) Return(_a0 string) *TelemetryIngressEndpoint_ServerPubKey_Call
func (*TelemetryIngressEndpoint_ServerPubKey_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_ServerPubKey_Call) Run(run func()) *TelemetryIngressEndpoint_ServerPubKey_Call
func (*TelemetryIngressEndpoint_ServerPubKey_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_ServerPubKey_Call) RunAndReturn(run func() string) *TelemetryIngressEndpoint_ServerPubKey_Call
type TelemetryIngressEndpoint_URL_Call ¶ added in v2.15.0
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 (_c *TelemetryIngressEndpoint_URL_Call) Return(_a0 *url.URL) *TelemetryIngressEndpoint_URL_Call
func (*TelemetryIngressEndpoint_URL_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_URL_Call) Run(run func()) *TelemetryIngressEndpoint_URL_Call
func (*TelemetryIngressEndpoint_URL_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngressEndpoint_URL_Call) RunAndReturn(run func() *url.URL) *TelemetryIngressEndpoint_URL_Call
type TelemetryIngress_BufferSize_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_BufferSize_Call) Return(_a0 uint) *TelemetryIngress_BufferSize_Call
func (*TelemetryIngress_BufferSize_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_BufferSize_Call) Run(run func()) *TelemetryIngress_BufferSize_Call
func (*TelemetryIngress_BufferSize_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_BufferSize_Call) RunAndReturn(run func() uint) *TelemetryIngress_BufferSize_Call
type TelemetryIngress_Endpoints_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_Endpoints_Call) Return(_a0 []config.TelemetryIngressEndpoint) *TelemetryIngress_Endpoints_Call
func (*TelemetryIngress_Endpoints_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_Endpoints_Call) Run(run func()) *TelemetryIngress_Endpoints_Call
func (*TelemetryIngress_Endpoints_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_Endpoints_Call) RunAndReturn(run func() []config.TelemetryIngressEndpoint) *TelemetryIngress_Endpoints_Call
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
func (_e *TelemetryIngress_Expecter) BufferSize() *TelemetryIngress_BufferSize_Call
BufferSize is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) Endpoints ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) Endpoints() *TelemetryIngress_Endpoints_Call
Endpoints is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) Logging ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) Logging() *TelemetryIngress_Logging_Call
Logging is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) MaxBatchSize ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) MaxBatchSize() *TelemetryIngress_MaxBatchSize_Call
MaxBatchSize is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) SendInterval ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) SendInterval() *TelemetryIngress_SendInterval_Call
SendInterval is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) SendTimeout ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) SendTimeout() *TelemetryIngress_SendTimeout_Call
SendTimeout is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) UniConn ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) UniConn() *TelemetryIngress_UniConn_Call
UniConn is a helper method to define mock.On call
func (*TelemetryIngress_Expecter) UseBatchSend ¶ added in v2.15.0
func (_e *TelemetryIngress_Expecter) UseBatchSend() *TelemetryIngress_UseBatchSend_Call
UseBatchSend is a helper method to define mock.On call
type TelemetryIngress_Logging_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_Logging_Call) Return(_a0 bool) *TelemetryIngress_Logging_Call
func (*TelemetryIngress_Logging_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_Logging_Call) Run(run func()) *TelemetryIngress_Logging_Call
func (*TelemetryIngress_Logging_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_Logging_Call) RunAndReturn(run func() bool) *TelemetryIngress_Logging_Call
type TelemetryIngress_MaxBatchSize_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_MaxBatchSize_Call) Return(_a0 uint) *TelemetryIngress_MaxBatchSize_Call
func (*TelemetryIngress_MaxBatchSize_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_MaxBatchSize_Call) Run(run func()) *TelemetryIngress_MaxBatchSize_Call
func (*TelemetryIngress_MaxBatchSize_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_MaxBatchSize_Call) RunAndReturn(run func() uint) *TelemetryIngress_MaxBatchSize_Call
type TelemetryIngress_SendInterval_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_SendInterval_Call) Return(_a0 time.Duration) *TelemetryIngress_SendInterval_Call
func (*TelemetryIngress_SendInterval_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_SendInterval_Call) Run(run func()) *TelemetryIngress_SendInterval_Call
func (*TelemetryIngress_SendInterval_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_SendInterval_Call) RunAndReturn(run func() time.Duration) *TelemetryIngress_SendInterval_Call
type TelemetryIngress_SendTimeout_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_SendTimeout_Call) Return(_a0 time.Duration) *TelemetryIngress_SendTimeout_Call
func (*TelemetryIngress_SendTimeout_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_SendTimeout_Call) Run(run func()) *TelemetryIngress_SendTimeout_Call
func (*TelemetryIngress_SendTimeout_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_SendTimeout_Call) RunAndReturn(run func() time.Duration) *TelemetryIngress_SendTimeout_Call
type TelemetryIngress_UniConn_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_UniConn_Call) Return(_a0 bool) *TelemetryIngress_UniConn_Call
func (*TelemetryIngress_UniConn_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_UniConn_Call) Run(run func()) *TelemetryIngress_UniConn_Call
func (*TelemetryIngress_UniConn_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_UniConn_Call) RunAndReturn(run func() bool) *TelemetryIngress_UniConn_Call
type TelemetryIngress_UseBatchSend_Call ¶ added in v2.15.0
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 (_c *TelemetryIngress_UseBatchSend_Call) Return(_a0 bool) *TelemetryIngress_UseBatchSend_Call
func (*TelemetryIngress_UseBatchSend_Call) Run ¶ added in v2.15.0
func (_c *TelemetryIngress_UseBatchSend_Call) Run(run func()) *TelemetryIngress_UseBatchSend_Call
func (*TelemetryIngress_UseBatchSend_Call) RunAndReturn ¶ added in v2.15.0
func (_c *TelemetryIngress_UseBatchSend_Call) RunAndReturn(run func() bool) *TelemetryIngress_UseBatchSend_Call