event_reportingv3grpc

package
v1.3.0-20240426201503-... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventReportingService_StreamEvents_FullMethodName = "/envoy.service.event_reporting.v3.EventReportingService/StreamEvents"
)

Variables

View Source
var EventReportingService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "envoy.service.event_reporting.v3.EventReportingService",
	HandlerType: (*EventReportingServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamEvents",
			Handler:       _EventReportingService_StreamEvents_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "envoy/service/event_reporting/v3/event_reporting_service.proto",
}

EventReportingService_ServiceDesc is the grpc.ServiceDesc for EventReportingService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterEventReportingServiceServer

func RegisterEventReportingServiceServer(s grpc.ServiceRegistrar, srv EventReportingServiceServer)

Types

type EventReportingServiceClient

type EventReportingServiceClient interface {
	// Envoy will connect and send StreamEventsRequest messages forever.
	// The management server may send StreamEventsResponse to configure event stream. See below.
	// This API is designed for high throughput with the expectation that it might be lossy.
	StreamEvents(ctx context.Context, opts ...grpc.CallOption) (EventReportingService_StreamEventsClient, error)
}

EventReportingServiceClient is the client API for EventReportingService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewEventReportingServiceClient

func NewEventReportingServiceClient(cc grpc.ClientConnInterface) EventReportingServiceClient

type EventReportingServiceServer

type EventReportingServiceServer interface {
	// Envoy will connect and send StreamEventsRequest messages forever.
	// The management server may send StreamEventsResponse to configure event stream. See below.
	// This API is designed for high throughput with the expectation that it might be lossy.
	StreamEvents(EventReportingService_StreamEventsServer) error
}

EventReportingServiceServer is the server API for EventReportingService service. All implementations should embed UnimplementedEventReportingServiceServer for forward compatibility

type EventReportingService_StreamEventsClient

type EventReportingService_StreamEventsClient interface {
	Send(*v3.StreamEventsRequest) error
	Recv() (*v3.StreamEventsResponse, error)
	grpc.ClientStream
}

type EventReportingService_StreamEventsServer

type EventReportingService_StreamEventsServer interface {
	Send(*v3.StreamEventsResponse) error
	Recv() (*v3.StreamEventsRequest, error)
	grpc.ServerStream
}

type UnimplementedEventReportingServiceServer

type UnimplementedEventReportingServiceServer struct {
}

UnimplementedEventReportingServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedEventReportingServiceServer) StreamEvents

type UnsafeEventReportingServiceServer

type UnsafeEventReportingServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEventReportingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventReportingServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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