mocks

package
v1.13.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 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 added in v1.13.0

type ExplorerClient struct {
	mock.Mock
}

ExplorerClient is an autogenerated mock type for the ExplorerClient type

func NewExplorerClient added in v1.13.0

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 added in v1.13.0

func (_m *ExplorerClient) Close() error

Close provides a mock function with given fields:

func (*ExplorerClient) HealthReport added in v1.13.0

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

HealthReport provides a mock function with given fields:

func (*ExplorerClient) Healthy added in v1.13.0

func (_m *ExplorerClient) Healthy() error

Healthy provides a mock function with given fields:

func (*ExplorerClient) Name added in v1.13.0

func (_m *ExplorerClient) Name() string

Name provides a mock function with given fields:

func (*ExplorerClient) Ready added in v1.13.0

func (_m *ExplorerClient) Ready() error

Ready provides a mock function with given fields:

func (*ExplorerClient) Receive added in v1.13.0

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 added in v1.13.0

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 added in v1.13.0

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

Start provides a mock function with given fields: _a0

func (*ExplorerClient) Status added in v1.13.0

Status provides a mock function with given fields:

func (*ExplorerClient) Url added in v1.13.0

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 added in v1.5.0

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 added in v1.2.0

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

type TelemetryIngressBatchClient added in v1.13.0

type TelemetryIngressBatchClient struct {
	mock.Mock
}

TelemetryIngressBatchClient is an autogenerated mock type for the TelemetryIngressBatchClient type

func NewTelemetryIngressBatchClient added in v1.13.0

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 added in v1.13.0

func (_m *TelemetryIngressBatchClient) Close() error

Close provides a mock function with given fields:

func (*TelemetryIngressBatchClient) HealthReport added in v1.13.0

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

HealthReport provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Healthy added in v1.13.0

func (_m *TelemetryIngressBatchClient) Healthy() error

Healthy provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Name added in v1.13.0

Name provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Ready added in v1.13.0

func (_m *TelemetryIngressBatchClient) Ready() error

Ready provides a mock function with given fields:

func (*TelemetryIngressBatchClient) Send added in v1.13.0

Send provides a mock function with given fields: _a0

func (*TelemetryIngressBatchClient) Start added in v1.13.0

Start provides a mock function with given fields: _a0

type TelemetryIngressClient added in v1.13.0

type TelemetryIngressClient struct {
	mock.Mock
}

TelemetryIngressClient is an autogenerated mock type for the TelemetryIngressClient type

func NewTelemetryIngressClient added in v1.13.0

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 added in v1.13.0

func (_m *TelemetryIngressClient) Close() error

Close provides a mock function with given fields:

func (*TelemetryIngressClient) HealthReport added in v1.13.0

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

HealthReport provides a mock function with given fields:

func (*TelemetryIngressClient) Healthy added in v1.13.0

func (_m *TelemetryIngressClient) Healthy() error

Healthy provides a mock function with given fields:

func (*TelemetryIngressClient) Name added in v1.13.0

func (_m *TelemetryIngressClient) Name() string

Name provides a mock function with given fields:

func (*TelemetryIngressClient) Ready added in v1.13.0

func (_m *TelemetryIngressClient) Ready() error

Ready provides a mock function with given fields:

func (*TelemetryIngressClient) Send added in v1.13.0

Send provides a mock function with given fields: _a0

func (*TelemetryIngressClient) Start added in v1.13.0

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