event_reportingv3

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_event_reporting_v3_event_reporting_service_proto protoreflect.FileDescriptor

Functions

func RegisterEventReportingServiceServer

func RegisterEventReportingServiceServer(s *grpc.Server, 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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.

type EventReportingService_StreamEventsClient

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

type EventReportingService_StreamEventsServer

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

type StreamEventsRequest

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_v3_api_msg_data.core.v3.HealthCheckEvent>`
	// * :ref:`OutlierDetectionEvent <envoy_v3_api_msg_data.cluster.v3.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 deprecated

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

Deprecated: Use StreamEventsRequest.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest) GetEvents

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

func (*StreamEventsRequest) GetIdentifier

func (*StreamEventsRequest) ProtoMessage

func (*StreamEventsRequest) ProtoMessage()

func (*StreamEventsRequest) ProtoReflect

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

func (*StreamEventsRequest) Reset

func (x *StreamEventsRequest) Reset()

func (*StreamEventsRequest) String

func (x *StreamEventsRequest) String() string

func (*StreamEventsRequest) Validate

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamEventsRequest) ValidateAll

func (m *StreamEventsRequest) ValidateAll() error

ValidateAll checks the field values on StreamEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamEventsRequestMultiError, or nil if none found.

type StreamEventsRequestMultiError

type StreamEventsRequestMultiError []error

StreamEventsRequestMultiError is an error wrapping multiple validation errors returned by StreamEventsRequest.ValidateAll() if the designated constraints aren't met.

func (StreamEventsRequestMultiError) AllErrors

func (m StreamEventsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamEventsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamEventsRequestValidationError

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

Cause function returns cause value.

func (StreamEventsRequestValidationError) Error

Error satisfies the builtin error interface

func (StreamEventsRequestValidationError) ErrorName

ErrorName returns error name.

func (StreamEventsRequestValidationError) Field

Field function returns field value.

func (StreamEventsRequestValidationError) Key

Key function returns key value.

func (StreamEventsRequestValidationError) Reason

Reason function returns reason value.

type StreamEventsRequest_Identifier

type StreamEventsRequest_Identifier struct {

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

func (*StreamEventsRequest_Identifier) Descriptor deprecated

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

Deprecated: Use StreamEventsRequest_Identifier.ProtoReflect.Descriptor instead.

func (*StreamEventsRequest_Identifier) GetNode

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

func (*StreamEventsRequest_Identifier) ProtoMessage

func (*StreamEventsRequest_Identifier) ProtoMessage()

func (*StreamEventsRequest_Identifier) ProtoReflect

func (*StreamEventsRequest_Identifier) Reset

func (x *StreamEventsRequest_Identifier) Reset()

func (*StreamEventsRequest_Identifier) String

func (*StreamEventsRequest_Identifier) Validate

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamEventsRequest_Identifier) ValidateAll

func (m *StreamEventsRequest_Identifier) ValidateAll() error

ValidateAll checks the field values on StreamEventsRequest_Identifier with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamEventsRequest_IdentifierMultiError, or nil if none found.

type StreamEventsRequest_IdentifierMultiError

type StreamEventsRequest_IdentifierMultiError []error

StreamEventsRequest_IdentifierMultiError is an error wrapping multiple validation errors returned by StreamEventsRequest_Identifier.ValidateAll() if the designated constraints aren't met.

func (StreamEventsRequest_IdentifierMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamEventsRequest_IdentifierMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamEventsRequest_IdentifierValidationError

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

Cause function returns cause value.

func (StreamEventsRequest_IdentifierValidationError) Error

Error satisfies the builtin error interface

func (StreamEventsRequest_IdentifierValidationError) ErrorName

ErrorName returns error name.

func (StreamEventsRequest_IdentifierValidationError) Field

Field function returns field value.

func (StreamEventsRequest_IdentifierValidationError) Key

Key function returns key value.

func (StreamEventsRequest_IdentifierValidationError) Reason

Reason function returns reason value.

type StreamEventsResponse

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 deprecated

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

Deprecated: Use StreamEventsResponse.ProtoReflect.Descriptor instead.

func (*StreamEventsResponse) ProtoMessage

func (*StreamEventsResponse) ProtoMessage()

func (*StreamEventsResponse) ProtoReflect

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

func (*StreamEventsResponse) Reset

func (x *StreamEventsResponse) Reset()

func (*StreamEventsResponse) String

func (x *StreamEventsResponse) String() string

func (*StreamEventsResponse) Validate

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, the first error encountered is returned, or nil if there are no violations.

func (*StreamEventsResponse) ValidateAll

func (m *StreamEventsResponse) ValidateAll() error

ValidateAll checks the field values on StreamEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StreamEventsResponseMultiError, or nil if none found.

type StreamEventsResponseMultiError

type StreamEventsResponseMultiError []error

StreamEventsResponseMultiError is an error wrapping multiple validation errors returned by StreamEventsResponse.ValidateAll() if the designated constraints aren't met.

func (StreamEventsResponseMultiError) AllErrors

func (m StreamEventsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StreamEventsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type StreamEventsResponseValidationError

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

Cause function returns cause value.

func (StreamEventsResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamEventsResponseValidationError) ErrorName

ErrorName returns error name.

func (StreamEventsResponseValidationError) Field

Field function returns field value.

func (StreamEventsResponseValidationError) Key

Key function returns key value.

func (StreamEventsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedEventReportingServiceServer

type UnimplementedEventReportingServiceServer struct {
}

UnimplementedEventReportingServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEventReportingServiceServer) StreamEvents

Jump to

Keyboard shortcuts

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