envoy_service_metrics_v3

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_service_metrics_v3_metrics_service_proto protoreflect.FileDescriptor

Functions

func RegisterMetricsServiceServer

func RegisterMetricsServiceServer(s *grpc.Server, srv MetricsServiceServer)

Types

type MetricsServiceClient

type MetricsServiceClient interface {
	StreamMetrics(ctx context.Context, opts ...grpc.CallOption) (MetricsService_StreamMetricsClient, error)
}

MetricsServiceClient is the client API for MetricsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type MetricsServiceServer

type MetricsServiceServer interface {
	StreamMetrics(MetricsService_StreamMetricsServer) error
}

MetricsServiceServer is the server API for MetricsService service.

type MetricsService_StreamMetricsClient

type MetricsService_StreamMetricsClient interface {
	Send(*StreamMetricsMessage) error
	CloseAndRecv() (*StreamMetricsResponse, error)
	grpc.ClientStream
}

type MetricsService_StreamMetricsServer

type MetricsService_StreamMetricsServer interface {
	SendAndClose(*StreamMetricsResponse) error
	Recv() (*StreamMetricsMessage, error)
	grpc.ServerStream
}

type StreamMetricsMessage

type StreamMetricsMessage struct {
	Identifier   *StreamMetricsMessage_Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	EnvoyMetrics []*_go.MetricFamily              `protobuf:"bytes,2,rep,name=envoy_metrics,json=envoyMetrics,proto3" json:"envoy_metrics,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMetricsMessage) Descriptor deprecated

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

Deprecated: Use StreamMetricsMessage.ProtoReflect.Descriptor instead.

func (*StreamMetricsMessage) GetEnvoyMetrics

func (x *StreamMetricsMessage) GetEnvoyMetrics() []*_go.MetricFamily

func (*StreamMetricsMessage) GetIdentifier

func (*StreamMetricsMessage) ProtoMessage

func (*StreamMetricsMessage) ProtoMessage()

func (*StreamMetricsMessage) ProtoReflect

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

func (*StreamMetricsMessage) Reset

func (x *StreamMetricsMessage) Reset()

func (*StreamMetricsMessage) String

func (x *StreamMetricsMessage) String() string

func (*StreamMetricsMessage) Validate

func (m *StreamMetricsMessage) Validate() error

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

type StreamMetricsMessageValidationError

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

StreamMetricsMessageValidationError is the validation error returned by StreamMetricsMessage.Validate if the designated constraints aren't met.

func (StreamMetricsMessageValidationError) Cause

Cause function returns cause value.

func (StreamMetricsMessageValidationError) Error

Error satisfies the builtin error interface

func (StreamMetricsMessageValidationError) ErrorName

ErrorName returns error name.

func (StreamMetricsMessageValidationError) Field

Field function returns field value.

func (StreamMetricsMessageValidationError) Key

Key function returns key value.

func (StreamMetricsMessageValidationError) Reason

Reason function returns reason value.

type StreamMetricsMessage_Identifier

type StreamMetricsMessage_Identifier struct {
	Node *v3.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamMetricsMessage_Identifier) Descriptor deprecated

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

Deprecated: Use StreamMetricsMessage_Identifier.ProtoReflect.Descriptor instead.

func (*StreamMetricsMessage_Identifier) GetNode

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

func (*StreamMetricsMessage_Identifier) ProtoMessage

func (*StreamMetricsMessage_Identifier) ProtoMessage()

func (*StreamMetricsMessage_Identifier) ProtoReflect

func (*StreamMetricsMessage_Identifier) Reset

func (*StreamMetricsMessage_Identifier) String

func (*StreamMetricsMessage_Identifier) Validate

func (m *StreamMetricsMessage_Identifier) Validate() error

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

type StreamMetricsMessage_IdentifierValidationError

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

StreamMetricsMessage_IdentifierValidationError is the validation error returned by StreamMetricsMessage_Identifier.Validate if the designated constraints aren't met.

func (StreamMetricsMessage_IdentifierValidationError) Cause

Cause function returns cause value.

func (StreamMetricsMessage_IdentifierValidationError) Error

Error satisfies the builtin error interface

func (StreamMetricsMessage_IdentifierValidationError) ErrorName

ErrorName returns error name.

func (StreamMetricsMessage_IdentifierValidationError) Field

Field function returns field value.

func (StreamMetricsMessage_IdentifierValidationError) Key

Key function returns key value.

func (StreamMetricsMessage_IdentifierValidationError) Reason

Reason function returns reason value.

type StreamMetricsResponse

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

func (*StreamMetricsResponse) Descriptor deprecated

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

Deprecated: Use StreamMetricsResponse.ProtoReflect.Descriptor instead.

func (*StreamMetricsResponse) ProtoMessage

func (*StreamMetricsResponse) ProtoMessage()

func (*StreamMetricsResponse) ProtoReflect

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

func (*StreamMetricsResponse) Reset

func (x *StreamMetricsResponse) Reset()

func (*StreamMetricsResponse) String

func (x *StreamMetricsResponse) String() string

func (*StreamMetricsResponse) Validate

func (m *StreamMetricsResponse) Validate() error

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

type StreamMetricsResponseValidationError

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

StreamMetricsResponseValidationError is the validation error returned by StreamMetricsResponse.Validate if the designated constraints aren't met.

func (StreamMetricsResponseValidationError) Cause

Cause function returns cause value.

func (StreamMetricsResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamMetricsResponseValidationError) ErrorName

ErrorName returns error name.

func (StreamMetricsResponseValidationError) Field

Field function returns field value.

func (StreamMetricsResponseValidationError) Key

Key function returns key value.

func (StreamMetricsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedMetricsServiceServer

type UnimplementedMetricsServiceServer struct {
}

UnimplementedMetricsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsServiceServer) StreamMetrics

Jump to

Keyboard shortcuts

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