grpc: google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs Index | Files

package v2

import "google.golang.org/grpc/xds/internal/proto/envoy/service/load_stats/v2/lrs"

Index

Package Files

lrs.pb.go

func RegisterLoadReportingServiceServer Uses

func RegisterLoadReportingServiceServer(s *grpc.Server, srv LoadReportingServiceServer)

type LoadReportingServiceClient Uses

type LoadReportingServiceClient interface {
    StreamLoadStats(ctx context.Context, opts ...grpc.CallOption) (LoadReportingService_StreamLoadStatsClient, error)
}

LoadReportingServiceClient is the client API for LoadReportingService service.

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

func NewLoadReportingServiceClient Uses

func NewLoadReportingServiceClient(cc *grpc.ClientConn) LoadReportingServiceClient

type LoadReportingServiceServer Uses

type LoadReportingServiceServer interface {
    StreamLoadStats(LoadReportingService_StreamLoadStatsServer) error
}

LoadReportingServiceServer is the server API for LoadReportingService service.

type LoadReportingService_StreamLoadStatsClient Uses

type LoadReportingService_StreamLoadStatsClient interface {
    Send(*LoadStatsRequest) error
    Recv() (*LoadStatsResponse, error)
    grpc.ClientStream
}

type LoadReportingService_StreamLoadStatsServer Uses

type LoadReportingService_StreamLoadStatsServer interface {
    Send(*LoadStatsResponse) error
    Recv() (*LoadStatsRequest, error)
    grpc.ServerStream
}

type LoadStatsRequest Uses

type LoadStatsRequest struct {
    Node                 *base.Node                  `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
    ClusterStats         []*load_report.ClusterStats `protobuf:"bytes,2,rep,name=cluster_stats,json=clusterStats,proto3" json:"cluster_stats,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
    XXX_unrecognized     []byte                      `json:"-"`
    XXX_sizecache        int32                       `json:"-"`
}

func (*LoadStatsRequest) Descriptor Uses

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

func (*LoadStatsRequest) GetClusterStats Uses

func (m *LoadStatsRequest) GetClusterStats() []*load_report.ClusterStats

func (*LoadStatsRequest) GetNode Uses

func (m *LoadStatsRequest) GetNode() *base.Node

func (*LoadStatsRequest) ProtoMessage Uses

func (*LoadStatsRequest) ProtoMessage()

func (*LoadStatsRequest) Reset Uses

func (m *LoadStatsRequest) Reset()

func (*LoadStatsRequest) String Uses

func (m *LoadStatsRequest) String() string

func (*LoadStatsRequest) XXX_DiscardUnknown Uses

func (m *LoadStatsRequest) XXX_DiscardUnknown()

func (*LoadStatsRequest) XXX_Marshal Uses

func (m *LoadStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadStatsRequest) XXX_Merge Uses

func (dst *LoadStatsRequest) XXX_Merge(src proto.Message)

func (*LoadStatsRequest) XXX_Size Uses

func (m *LoadStatsRequest) XXX_Size() int

func (*LoadStatsRequest) XXX_Unmarshal Uses

func (m *LoadStatsRequest) XXX_Unmarshal(b []byte) error

type LoadStatsResponse Uses

type LoadStatsResponse struct {
    Clusters                  []string           `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
    LoadReportingInterval     *duration.Duration `protobuf:"bytes,2,opt,name=load_reporting_interval,json=loadReportingInterval,proto3" json:"load_reporting_interval,omitempty"`
    ReportEndpointGranularity bool               `protobuf:"varint,3,opt,name=report_endpoint_granularity,json=reportEndpointGranularity,proto3" json:"report_endpoint_granularity,omitempty"`
    XXX_NoUnkeyedLiteral      struct{}           `json:"-"`
    XXX_unrecognized          []byte             `json:"-"`
    XXX_sizecache             int32              `json:"-"`
}

func (*LoadStatsResponse) Descriptor Uses

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

func (*LoadStatsResponse) GetClusters Uses

func (m *LoadStatsResponse) GetClusters() []string

func (*LoadStatsResponse) GetLoadReportingInterval Uses

func (m *LoadStatsResponse) GetLoadReportingInterval() *duration.Duration

func (*LoadStatsResponse) GetReportEndpointGranularity Uses

func (m *LoadStatsResponse) GetReportEndpointGranularity() bool

func (*LoadStatsResponse) ProtoMessage Uses

func (*LoadStatsResponse) ProtoMessage()

func (*LoadStatsResponse) Reset Uses

func (m *LoadStatsResponse) Reset()

func (*LoadStatsResponse) String Uses

func (m *LoadStatsResponse) String() string

func (*LoadStatsResponse) XXX_DiscardUnknown Uses

func (m *LoadStatsResponse) XXX_DiscardUnknown()

func (*LoadStatsResponse) XXX_Marshal Uses

func (m *LoadStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoadStatsResponse) XXX_Merge Uses

func (dst *LoadStatsResponse) XXX_Merge(src proto.Message)

func (*LoadStatsResponse) XXX_Size Uses

func (m *LoadStatsResponse) XXX_Size() int

func (*LoadStatsResponse) XXX_Unmarshal Uses

func (m *LoadStatsResponse) XXX_Unmarshal(b []byte) error

Package v2 imports 9 packages (graph) and is imported by 1 packages. Updated 2019-08-12. Refresh now. Tools for package owners.