go-control-plane: github.com/envoyproxy/go-control-plane/envoy/service/metrics/v3 Index | Files

package envoy_service_metrics_v3

import "github.com/envoyproxy/go-control-plane/envoy/service/metrics/v3"

Index

Package Files

metrics_service.pb.go metrics_service.pb.validate.go

Variables

var File_envoy_service_metrics_v3_metrics_service_proto protoreflect.FileDescriptor

func RegisterMetricsServiceServer Uses

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

type MetricsServiceClient Uses

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.

func NewMetricsServiceClient Uses

func NewMetricsServiceClient(cc grpc.ClientConnInterface) MetricsServiceClient

type MetricsServiceServer Uses

type MetricsServiceServer interface {
    StreamMetrics(MetricsService_StreamMetricsServer) error
}

MetricsServiceServer is the server API for MetricsService service.

type MetricsService_StreamMetricsClient Uses

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

type MetricsService_StreamMetricsServer Uses

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

type StreamMetricsMessage Uses

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 Uses

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

Deprecated: Use StreamMetricsMessage.ProtoReflect.Descriptor instead.

func (*StreamMetricsMessage) GetEnvoyMetrics Uses

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

func (*StreamMetricsMessage) GetIdentifier Uses

func (x *StreamMetricsMessage) GetIdentifier() *StreamMetricsMessage_Identifier

func (*StreamMetricsMessage) ProtoMessage Uses

func (*StreamMetricsMessage) ProtoMessage()

func (*StreamMetricsMessage) ProtoReflect Uses

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

func (*StreamMetricsMessage) Reset Uses

func (x *StreamMetricsMessage) Reset()

func (*StreamMetricsMessage) String Uses

func (x *StreamMetricsMessage) String() string

func (*StreamMetricsMessage) Validate Uses

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 Uses

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 Uses

func (e StreamMetricsMessageValidationError) Cause() error

Cause function returns cause value.

func (StreamMetricsMessageValidationError) Error Uses

func (e StreamMetricsMessageValidationError) Error() string

Error satisfies the builtin error interface

func (StreamMetricsMessageValidationError) ErrorName Uses

func (e StreamMetricsMessageValidationError) ErrorName() string

ErrorName returns error name.

func (StreamMetricsMessageValidationError) Field Uses

func (e StreamMetricsMessageValidationError) Field() string

Field function returns field value.

func (StreamMetricsMessageValidationError) Key Uses

func (e StreamMetricsMessageValidationError) Key() bool

Key function returns key value.

func (StreamMetricsMessageValidationError) Reason Uses

func (e StreamMetricsMessageValidationError) Reason() string

Reason function returns reason value.

type StreamMetricsMessage_Identifier Uses

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 Uses

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

Deprecated: Use StreamMetricsMessage_Identifier.ProtoReflect.Descriptor instead.

func (*StreamMetricsMessage_Identifier) GetNode Uses

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

func (*StreamMetricsMessage_Identifier) ProtoMessage Uses

func (*StreamMetricsMessage_Identifier) ProtoMessage()

func (*StreamMetricsMessage_Identifier) ProtoReflect Uses

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

func (*StreamMetricsMessage_Identifier) Reset Uses

func (x *StreamMetricsMessage_Identifier) Reset()

func (*StreamMetricsMessage_Identifier) String Uses

func (x *StreamMetricsMessage_Identifier) String() string

func (*StreamMetricsMessage_Identifier) Validate Uses

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 Uses

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 Uses

func (e StreamMetricsMessage_IdentifierValidationError) Cause() error

Cause function returns cause value.

func (StreamMetricsMessage_IdentifierValidationError) Error Uses

func (e StreamMetricsMessage_IdentifierValidationError) Error() string

Error satisfies the builtin error interface

func (StreamMetricsMessage_IdentifierValidationError) ErrorName Uses

func (e StreamMetricsMessage_IdentifierValidationError) ErrorName() string

ErrorName returns error name.

func (StreamMetricsMessage_IdentifierValidationError) Field Uses

func (e StreamMetricsMessage_IdentifierValidationError) Field() string

Field function returns field value.

func (StreamMetricsMessage_IdentifierValidationError) Key Uses

func (e StreamMetricsMessage_IdentifierValidationError) Key() bool

Key function returns key value.

func (StreamMetricsMessage_IdentifierValidationError) Reason Uses

func (e StreamMetricsMessage_IdentifierValidationError) Reason() string

Reason function returns reason value.

type StreamMetricsResponse Uses

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

func (*StreamMetricsResponse) Descriptor Uses

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

Deprecated: Use StreamMetricsResponse.ProtoReflect.Descriptor instead.

func (*StreamMetricsResponse) ProtoMessage Uses

func (*StreamMetricsResponse) ProtoMessage()

func (*StreamMetricsResponse) ProtoReflect Uses

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

func (*StreamMetricsResponse) Reset Uses

func (x *StreamMetricsResponse) Reset()

func (*StreamMetricsResponse) String Uses

func (x *StreamMetricsResponse) String() string

func (*StreamMetricsResponse) Validate Uses

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 Uses

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 Uses

func (e StreamMetricsResponseValidationError) Cause() error

Cause function returns cause value.

func (StreamMetricsResponseValidationError) Error Uses

func (e StreamMetricsResponseValidationError) Error() string

Error satisfies the builtin error interface

func (StreamMetricsResponseValidationError) ErrorName Uses

func (e StreamMetricsResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StreamMetricsResponseValidationError) Field Uses

func (e StreamMetricsResponseValidationError) Field() string

Field function returns field value.

func (StreamMetricsResponseValidationError) Key Uses

func (e StreamMetricsResponseValidationError) Key() bool

Key function returns key value.

func (StreamMetricsResponseValidationError) Reason Uses

func (e StreamMetricsResponseValidationError) Reason() string

Reason function returns reason value.

type UnimplementedMetricsServiceServer Uses

type UnimplementedMetricsServiceServer struct {
}

UnimplementedMetricsServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedMetricsServiceServer) StreamMetrics Uses

func (*UnimplementedMetricsServiceServer) StreamMetrics(MetricsService_StreamMetricsServer) error

Package envoy_service_metrics_v3 imports 24 packages (graph) and is imported by 1 packages. Updated 2020-08-05. Refresh now. Tools for package owners.