mocks

package
v2.2.2-clf-20230623 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExplorerClient

type ExplorerClient struct {
	mock.Mock
}

ExplorerClient is an autogenerated mock type for the ExplorerClient type

func NewExplorerClient

func NewExplorerClient(t mockConstructorTestingTNewExplorerClient) *ExplorerClient

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

func (*ExplorerClient) Close

func (_m *ExplorerClient) Close() error

Close provides a mock function with given fields:

func (*ExplorerClient) HealthReport

func (_m *ExplorerClient) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*ExplorerClient) Name

func (_m *ExplorerClient) Name() string

Name provides a mock function with given fields:

func (*ExplorerClient) Ready

func (_m *ExplorerClient) Ready() error

Ready provides a mock function with given fields:

func (*ExplorerClient) Receive

func (_m *ExplorerClient) Receive(_a0 context.Context, _a1 ...time.Duration) ([]byte, error)

Receive provides a mock function with given fields: _a0, _a1

func (*ExplorerClient) Send

func (_m *ExplorerClient) Send(_a0 context.Context, _a1 []byte, _a2 ...int)

Send provides a mock function with given fields: _a0, _a1, _a2

func (*ExplorerClient) Start

func (_m *ExplorerClient) Start(_a0 context.Context) error

Start provides a mock function with given fields: _a0

func (*ExplorerClient) Status

Status provides a mock function with given fields:

func (*ExplorerClient) Url

func (_m *ExplorerClient) Url() url.URL

Url provides a mock function with given fields:

type TelemClient

type TelemClient struct {
	mock.Mock
}

TelemClient is an autogenerated mock type for the TelemClient type

func NewTelemClient

func NewTelemClient(t mockConstructorTestingTNewTelemClient) *TelemClient

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

func (*TelemClient) Telem

Telem provides a mock function with given fields: ctx, in

func (*TelemClient) TelemBatch

TelemBatch provides a mock function with given fields: ctx, in

type TelemetryIngressBatchClient

type TelemetryIngressBatchClient struct {
	mock.Mock
}

TelemetryIngressBatchClient is an autogenerated mock type for the TelemetryIngressBatchClient type

func NewTelemetryIngressBatchClient

func NewTelemetryIngressBatchClient(t mockConstructorTestingTNewTelemetryIngressBatchClient) *TelemetryIngressBatchClient

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

func (*TelemetryIngressBatchClient) Close

func (_m *TelemetryIngressBatchClient) Close() error

Close provides a mock function with given fields:

func (*TelemetryIngressBatchClient) HealthReport

func (_m *TelemetryIngressBatchClient) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Name

Name provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Ready

func (_m *TelemetryIngressBatchClient) Ready() error

Ready provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Send

Send provides a mock function with given fields: _a0

func (*TelemetryIngressBatchClient) Start

Start provides a mock function with given fields: _a0

type TelemetryIngressClient

type TelemetryIngressClient struct {
	mock.Mock
}

TelemetryIngressClient is an autogenerated mock type for the TelemetryIngressClient type

func NewTelemetryIngressClient

func NewTelemetryIngressClient(t mockConstructorTestingTNewTelemetryIngressClient) *TelemetryIngressClient

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

func (*TelemetryIngressClient) Close

func (_m *TelemetryIngressClient) Close() error

Close provides a mock function with given fields:

func (*TelemetryIngressClient) HealthReport

func (_m *TelemetryIngressClient) HealthReport() map[string]error

HealthReport provides a mock function with given fields:

func (*TelemetryIngressClient) Name

func (_m *TelemetryIngressClient) Name() string

Name provides a mock function with given fields:

func (*TelemetryIngressClient) Ready

func (_m *TelemetryIngressClient) Ready() error

Ready provides a mock function with given fields:

func (*TelemetryIngressClient) Send

Send provides a mock function with given fields: _a0

func (*TelemetryIngressClient) Start

Start provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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