Documentation
¶
Index ¶
Constants ¶
View Source
const ANNOTATION = "multicluster.admiralty.io/clustername"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyGrpcAdapter ¶
type MyGrpcAdapter struct {
// contains filtered or unexported fields
}
MyGrpcAdapter supports metric template.
func (*MyGrpcAdapter) Addr ¶
func (s *MyGrpcAdapter) Addr() string
Addr returns the listening address of the server
func (*MyGrpcAdapter) Close ¶
func (s *MyGrpcAdapter) Close() error
Close gracefully shuts down the server; used for testing
func (*MyGrpcAdapter) HandleMetric ¶
func (s *MyGrpcAdapter) HandleMetric(ctx context.Context, r *metric.HandleMetricRequest) (*v1beta1.ReportResult, error)
HandleMetric records metric entries
func (*MyGrpcAdapter) Run ¶
func (s *MyGrpcAdapter) Run(shutdown chan error)
Run starts the server run
Click to show internal directories.
Click to hide internal directories.