controlpoints

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

Module returns an fx.Option that provides the Kubernetes discovery module.

func RegisterControlPointCacheService

func RegisterControlPointCacheService(handler *Handler, server *grpc.Server)

RegisterControlPointCacheService registers the ControlPointCache service handler with the gRPC server.

func RegisterControlPointsHandler

func RegisterControlPointsHandler(handler *Handler, registry *rpc.HandlerRegistry) error

RegisterControlPointsHandler registers ControlPointsHandler in RPC handler registry.

Types

type Handler

Handler is the gRPC server handler.

func NewHandler

func NewHandler(cpc discovery.AutoScaleControlPoints, agentInfo *agentinfo.AgentInfo) *Handler

NewHandler returns a new Handler.

func (*Handler) GetControlPoints

GetControlPoints returns a ControlPoint from the cache.

func (*Handler) ListAutoScaleControlPoints

ListAutoScaleControlPoints lists currently discovered control points.

Jump to

Keyboard shortcuts

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