grpc: google.golang.org/grpc/xds/internal/balancer/orca Index | Files

package orca

import "google.golang.org/grpc/xds/internal/balancer/orca"

Package orca implements Open Request Cost Aggregation.

Index

Package Files

orca.go

func FromMetadata Uses

func FromMetadata(md metadata.MD) *orcapb.OrcaLoadReport

FromMetadata reads load report from metadata and converts it to orca.

It returns nil if report is not found in metadata.

func ToMetadata Uses

func ToMetadata(r *orcapb.OrcaLoadReport) metadata.MD

ToMetadata converts a orca load report into grpc metadata.

Package orca imports 5 packages (graph). Updated 2019-08-12. Refresh now. Tools for package owners.