Documentation ¶
Index ¶
- type TraceCollectorClient
- func (_m *TraceCollectorClient) GetSettings(ctx context.Context, in *collectorpb.SettingsRequest, opts ...grpc.CallOption) (*collectorpb.SettingsResult, error)
- func (_m *TraceCollectorClient) Ping(ctx context.Context, in *collectorpb.PingRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorClient) PostEvents(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorClient) PostMetrics(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorClient) PostStatus(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
- type TraceCollectorServer
- func (_m *TraceCollectorServer) GetSettings(_a0 context.Context, _a1 *collectorpb.SettingsRequest) (*collectorpb.SettingsResult, error)
- func (_m *TraceCollectorServer) Ping(_a0 context.Context, _a1 *collectorpb.PingRequest) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorServer) PostEvents(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorServer) PostMetrics(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
- func (_m *TraceCollectorServer) PostStatus(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
- type UnsafeTraceCollectorServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TraceCollectorClient ¶
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 ¶
func (_m *TraceCollectorClient) GetSettings(ctx context.Context, in *collectorpb.SettingsRequest, opts ...grpc.CallOption) (*collectorpb.SettingsResult, error)
GetSettings provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) Ping ¶
func (_m *TraceCollectorClient) Ping(ctx context.Context, in *collectorpb.PingRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
Ping provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostEvents ¶
func (_m *TraceCollectorClient) PostEvents(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
PostEvents provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostMetrics ¶
func (_m *TraceCollectorClient) PostMetrics(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
PostMetrics provides a mock function with given fields: ctx, in, opts
func (*TraceCollectorClient) PostStatus ¶
func (_m *TraceCollectorClient) PostStatus(ctx context.Context, in *collectorpb.MessageRequest, opts ...grpc.CallOption) (*collectorpb.MessageResult, error)
PostStatus provides a mock function with given fields: ctx, in, opts
type TraceCollectorServer ¶
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 ¶
func (_m *TraceCollectorServer) GetSettings(_a0 context.Context, _a1 *collectorpb.SettingsRequest) (*collectorpb.SettingsResult, error)
GetSettings provides a mock function with given fields: _a0, _a1
func (*TraceCollectorServer) Ping ¶
func (_m *TraceCollectorServer) Ping(_a0 context.Context, _a1 *collectorpb.PingRequest) (*collectorpb.MessageResult, error)
Ping provides a mock function with given fields: _a0, _a1
func (*TraceCollectorServer) PostEvents ¶
func (_m *TraceCollectorServer) PostEvents(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
PostEvents provides a mock function with given fields: _a0, _a1
func (*TraceCollectorServer) PostMetrics ¶
func (_m *TraceCollectorServer) PostMetrics(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
PostMetrics provides a mock function with given fields: _a0, _a1
func (*TraceCollectorServer) PostStatus ¶
func (_m *TraceCollectorServer) PostStatus(_a0 context.Context, _a1 *collectorpb.MessageRequest) (*collectorpb.MessageResult, error)
PostStatus provides a mock function with given fields: _a0, _a1
type UnsafeTraceCollectorServer ¶
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.