Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToProto ¶ added in v0.26.0
func ToProto(cache *cache.Cache[selectors.ControlPointID]) *flowcontrolpointsv1.FlowControlPoints
ToProto converts cache to proto message.
Types ¶
type Handler ¶
type Handler struct { flowcontrolpointsv1.UnimplementedFlowControlPointsServiceServer // contains filtered or unexported fields }
Handler implements FlowControlPointsService.
func NewHandler ¶
func NewHandler(serviceControlPointCache *cache.Cache[selectors.ControlPointID]) *Handler
NewHandler returns a new Handler.
func (*Handler) GetControlPoints ¶
func (h *Handler) GetControlPoints(ctx context.Context, _ *emptypb.Empty) (*flowcontrolpointsv1.FlowControlPoints, error)
GetControlPoints returns all control points.
Click to show internal directories.
Click to hide internal directories.