Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterEventReportingServiceServer(s grpc.ServiceRegistrar, srv EventReportingServiceServer)
- type EventReportingServiceClient
- type EventReportingServiceServer
- type EventReportingService_StreamEventsClient
- type EventReportingService_StreamEventsServer
- type UnimplementedEventReportingServiceServer
- type UnsafeEventReportingServiceServer
Constants ¶
const (
EventReportingService_StreamEvents_FullMethodName = "/envoy.service.event_reporting.v2alpha.EventReportingService/StreamEvents"
)
Variables ¶
var EventReportingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "envoy.service.event_reporting.v2alpha.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/v2alpha/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(*v2alpha.StreamEventsRequest) error Recv() (*v2alpha.StreamEventsResponse, error) grpc.ClientStream }
type EventReportingService_StreamEventsServer ¶
type EventReportingService_StreamEventsServer interface { Send(*v2alpha.StreamEventsResponse) error Recv() (*v2alpha.StreamEventsRequest, error) grpc.ServerStream }
type UnimplementedEventReportingServiceServer ¶
type UnimplementedEventReportingServiceServer struct { }
UnimplementedEventReportingServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedEventReportingServiceServer) StreamEvents ¶
func (UnimplementedEventReportingServiceServer) StreamEvents(EventReportingService_StreamEventsServer) error
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.