go-control-plane: github.com/envoyproxy/go-control-plane/envoy/service/event_reporting/v2alpha Index | Files

package envoy_service_event_reporting_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/service/event_reporting/v2alpha"

Index

Package Files

event_reporting_service.pb.go event_reporting_service.pb.validate.go

Variables

var File_envoy_service_event_reporting_v2alpha_event_reporting_service_proto protoreflect.FileDescriptor

func RegisterEventReportingServiceServer Uses

func RegisterEventReportingServiceServer(s *grpc.Server, srv EventReportingServiceServer)

type EventReportingServiceClient Uses

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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewEventReportingServiceClient Uses

func NewEventReportingServiceClient(cc grpc.ClientConnInterface) EventReportingServiceClient

type EventReportingServiceServer Uses

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.

type EventReportingService_StreamEventsClient Uses

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

type EventReportingService_StreamEventsServer Uses

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

type StreamEventsRequest Uses

type StreamEventsRequest struct {

    // Identifier data that will only be sent in the first message on the stream. This is effectively
    // structured metadata and is a performance optimization.
    Identifier *StreamEventsRequest_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
    // Batch of events. When the stream is already active, it will be the events occurred
    // since the last message had been sent. If the server receives unknown event type, it should
    // silently ignore it.
    //
    // The following events are supported:
    //
    // * :ref:`HealthCheckEvent <envoy_api_msg_data.core.v2alpha.HealthCheckEvent>`
    // * :ref:`OutlierDetectionEvent <envoy_api_msg_data.cluster.v2alpha.OutlierDetectionEvent>`
    Events []*any.Any `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
    // contains filtered or unexported fields
}

[#not-implemented-hide:] An events envoy sends to the management server.

func (*StreamEventsRequest) Descriptor Uses

func (*StreamEventsRequest) Descriptor() ([]byte, []int)

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) GetEvents Uses

func (x *StreamEventsRequest) GetEvents() []*any.Any

func (*StreamEventsRequest) GetIdentifier Uses

func (x *StreamEventsRequest) GetIdentifier() *StreamEventsRequest_Identifier

func (*StreamEventsRequest) ProtoMessage Uses

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect Uses

func (x *StreamEventsRequest) ProtoReflect() protoreflect.Message

func (*StreamEventsRequest) Reset Uses

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) String Uses

func (x *StreamEventsRequest) String() string

func (*StreamEventsRequest) Validate Uses

func (m *StreamEventsRequest) Validate() error

Validate checks the field values on StreamEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StreamEventsRequestValidationError Uses

type StreamEventsRequestValidationError struct {
    // contains filtered or unexported fields
}

StreamEventsRequestValidationError is the validation error returned by StreamEventsRequest.Validate if the designated constraints aren't met.

func (StreamEventsRequestValidationError) Cause Uses

func (e StreamEventsRequestValidationError) Cause() error

Cause function returns cause value.

func (StreamEventsRequestValidationError) Error Uses

func (e StreamEventsRequestValidationError) Error() string

Error satisfies the builtin error interface

func (StreamEventsRequestValidationError) ErrorName Uses

func (e StreamEventsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StreamEventsRequestValidationError) Field Uses

func (e StreamEventsRequestValidationError) Field() string

Field function returns field value.

func (StreamEventsRequestValidationError) Key Uses

func (e StreamEventsRequestValidationError) Key() bool

Key function returns key value.

func (StreamEventsRequestValidationError) Reason Uses

func (e StreamEventsRequestValidationError) Reason() string

Reason function returns reason value.

type StreamEventsRequest_Identifier Uses

type StreamEventsRequest_Identifier struct {

    // The node sending the event messages over the stream.
    Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
    // contains filtered or unexported fields
}

func (*StreamEventsRequest_Identifier) Descriptor Uses

func (*StreamEventsRequest_Identifier) Descriptor() ([]byte, []int)

Deprecated: Use StreamEventsRequest_Identifier.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_Identifier) GetNode Uses

func (x *StreamEventsRequest_Identifier) GetNode() *core.Node

func (*StreamEventsRequest_Identifier) ProtoMessage Uses

func (*StreamEventsRequest_Identifier) ProtoMessage()

func (*StreamEventsRequest_Identifier) ProtoReflect Uses

func (x *StreamEventsRequest_Identifier) ProtoReflect() protoreflect.Message

func (*StreamEventsRequest_Identifier) Reset Uses

func (x *StreamEventsRequest_Identifier) Reset()

func (*StreamEventsRequest_Identifier) String Uses

func (x *StreamEventsRequest_Identifier) String() string

func (*StreamEventsRequest_Identifier) Validate Uses

func (m *StreamEventsRequest_Identifier) Validate() error

Validate checks the field values on StreamEventsRequest_Identifier with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StreamEventsRequest_IdentifierValidationError Uses

type StreamEventsRequest_IdentifierValidationError struct {
    // contains filtered or unexported fields
}

StreamEventsRequest_IdentifierValidationError is the validation error returned by StreamEventsRequest_Identifier.Validate if the designated constraints aren't met.

func (StreamEventsRequest_IdentifierValidationError) Cause Uses

func (e StreamEventsRequest_IdentifierValidationError) Cause() error

Cause function returns cause value.

func (StreamEventsRequest_IdentifierValidationError) Error Uses

func (e StreamEventsRequest_IdentifierValidationError) Error() string

Error satisfies the builtin error interface

func (StreamEventsRequest_IdentifierValidationError) ErrorName Uses

func (e StreamEventsRequest_IdentifierValidationError) ErrorName() string

ErrorName returns error name.

func (StreamEventsRequest_IdentifierValidationError) Field Uses

func (e StreamEventsRequest_IdentifierValidationError) Field() string

Field function returns field value.

func (StreamEventsRequest_IdentifierValidationError) Key Uses

func (e StreamEventsRequest_IdentifierValidationError) Key() bool

Key function returns key value.

func (StreamEventsRequest_IdentifierValidationError) Reason Uses

func (e StreamEventsRequest_IdentifierValidationError) Reason() string

Reason function returns reason value.

type StreamEventsResponse Uses

type StreamEventsResponse struct {
    // contains filtered or unexported fields
}

[#not-implemented-hide:] The management server may send envoy a StreamEventsResponse to tell which events the server is interested in. In future, with aggregated event reporting service, this message will contain, for example, clusters the envoy should send events for, or event types the server wants to process.

func (*StreamEventsResponse) Descriptor Uses

func (*StreamEventsResponse) Descriptor() ([]byte, []int)

Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamEventsResponse) ProtoMessage Uses

func (*StreamEventsResponse) ProtoMessage()

func (*StreamEventsResponse) ProtoReflect Uses

func (x *StreamEventsResponse) ProtoReflect() protoreflect.Message

func (*StreamEventsResponse) Reset Uses

func (x *StreamEventsResponse) Reset()

func (*StreamEventsResponse) String Uses

func (x *StreamEventsResponse) String() string

func (*StreamEventsResponse) Validate Uses

func (m *StreamEventsResponse) Validate() error

Validate checks the field values on StreamEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StreamEventsResponseValidationError Uses

type StreamEventsResponseValidationError struct {
    // contains filtered or unexported fields
}

StreamEventsResponseValidationError is the validation error returned by StreamEventsResponse.Validate if the designated constraints aren't met.

func (StreamEventsResponseValidationError) Cause Uses

func (e StreamEventsResponseValidationError) Cause() error

Cause function returns cause value.

func (StreamEventsResponseValidationError) Error Uses

func (e StreamEventsResponseValidationError) Error() string

Error satisfies the builtin error interface

func (StreamEventsResponseValidationError) ErrorName Uses

func (e StreamEventsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StreamEventsResponseValidationError) Field Uses

func (e StreamEventsResponseValidationError) Field() string

Field function returns field value.

func (StreamEventsResponseValidationError) Key Uses

func (e StreamEventsResponseValidationError) Key() bool

Key function returns key value.

func (StreamEventsResponseValidationError) Reason Uses

func (e StreamEventsResponseValidationError) Reason() string

Reason function returns reason value.

type UnimplementedEventReportingServiceServer Uses

type UnimplementedEventReportingServiceServer struct {
}

UnimplementedEventReportingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEventReportingServiceServer) StreamEvents Uses

func (*UnimplementedEventReportingServiceServer) StreamEvents(EventReportingService_StreamEventsServer) error

Package envoy_service_event_reporting_v2alpha imports 24 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.