udpa_service_orca_v1

package
v1.29.0-dev Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterOpenRcaServiceServer

func RegisterOpenRcaServiceServer(s *grpc.Server, srv OpenRcaServiceServer)

Types

type OpenRcaServiceClient

type OpenRcaServiceClient interface {
	StreamCoreMetrics(ctx context.Context, in *OrcaLoadReportRequest, opts ...grpc.CallOption) (OpenRcaService_StreamCoreMetricsClient, error)
}

OpenRcaServiceClient is the client API for OpenRcaService service.

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

type OpenRcaServiceServer

type OpenRcaServiceServer interface {
	StreamCoreMetrics(*OrcaLoadReportRequest, OpenRcaService_StreamCoreMetricsServer) error
}

OpenRcaServiceServer is the server API for OpenRcaService service.

type OpenRcaService_StreamCoreMetricsClient

type OpenRcaService_StreamCoreMetricsClient interface {
	Recv() (*v1.OrcaLoadReport, error)
	grpc.ClientStream
}

type OpenRcaService_StreamCoreMetricsServer

type OpenRcaService_StreamCoreMetricsServer interface {
	Send(*v1.OrcaLoadReport) error
	grpc.ServerStream
}

type OrcaLoadReportRequest

type OrcaLoadReportRequest struct {
	// Interval for generating Open RCA core metric responses.
	ReportInterval *duration.Duration `protobuf:"bytes,1,opt,name=report_interval,json=reportInterval,proto3" json:"report_interval,omitempty"`
	// Request costs to collect. If this is empty, all known requests costs tracked by
	// the load reporting agent will be returned. This provides an opportunity for
	// the client to selectively obtain a subset of tracked costs.
	RequestCostNames     []string `protobuf:"bytes,2,rep,name=request_cost_names,json=requestCostNames,proto3" json:"request_cost_names,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OrcaLoadReportRequest) Descriptor

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

func (*OrcaLoadReportRequest) GetReportInterval

func (m *OrcaLoadReportRequest) GetReportInterval() *duration.Duration

func (*OrcaLoadReportRequest) GetRequestCostNames

func (m *OrcaLoadReportRequest) GetRequestCostNames() []string

func (*OrcaLoadReportRequest) ProtoMessage

func (*OrcaLoadReportRequest) ProtoMessage()

func (*OrcaLoadReportRequest) Reset

func (m *OrcaLoadReportRequest) Reset()

func (*OrcaLoadReportRequest) String

func (m *OrcaLoadReportRequest) String() string

func (*OrcaLoadReportRequest) XXX_DiscardUnknown

func (m *OrcaLoadReportRequest) XXX_DiscardUnknown()

func (*OrcaLoadReportRequest) XXX_Marshal

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

func (*OrcaLoadReportRequest) XXX_Merge

func (m *OrcaLoadReportRequest) XXX_Merge(src proto.Message)

func (*OrcaLoadReportRequest) XXX_Size

func (m *OrcaLoadReportRequest) XXX_Size() int

func (*OrcaLoadReportRequest) XXX_Unmarshal

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

type UnimplementedOpenRcaServiceServer

type UnimplementedOpenRcaServiceServer struct {
}

UnimplementedOpenRcaServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedOpenRcaServiceServer) StreamCoreMetrics

Jump to

Keyboard shortcuts

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