mocks

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TraceCollectorClient

type TraceCollectorClient struct {
	mock.Mock
}

TraceCollectorClient is an autogenerated mock type for the TraceCollectorClient type

func NewTraceCollectorClient

func NewTraceCollectorClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TraceCollectorClient

NewTraceCollectorClient creates a new instance of TraceCollectorClient. 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 (*TraceCollectorClient) GetSettings

GetSettings provides a mock function with given fields: ctx, in, opts

func (*TraceCollectorClient) Ping

Ping provides a mock function with given fields: ctx, in, opts

func (*TraceCollectorClient) PostEvents

PostEvents provides a mock function with given fields: ctx, in, opts

func (*TraceCollectorClient) PostMetrics

PostMetrics provides a mock function with given fields: ctx, in, opts

func (*TraceCollectorClient) PostStatus

PostStatus provides a mock function with given fields: ctx, in, opts

type TraceCollectorServer

type TraceCollectorServer struct {
	mock.Mock
}

TraceCollectorServer is an autogenerated mock type for the TraceCollectorServer type

func NewTraceCollectorServer

func NewTraceCollectorServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *TraceCollectorServer

NewTraceCollectorServer creates a new instance of TraceCollectorServer. 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 (*TraceCollectorServer) GetSettings

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

func (*TraceCollectorServer) Ping

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

func (*TraceCollectorServer) PostEvents

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

func (*TraceCollectorServer) PostMetrics

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

func (*TraceCollectorServer) PostStatus

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

type UnsafeTraceCollectorServer

type UnsafeTraceCollectorServer struct {
	mock.Mock
}

UnsafeTraceCollectorServer is an autogenerated mock type for the UnsafeTraceCollectorServer type

func NewUnsafeTraceCollectorServer

func NewUnsafeTraceCollectorServer(t interface {
	mock.TestingT
	Cleanup(func())
}) *UnsafeTraceCollectorServer

NewUnsafeTraceCollectorServer creates a new instance of UnsafeTraceCollectorServer. 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.

Jump to

Keyboard shortcuts

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