Documentation
¶
Overview ¶
Package nodestatus provides a gRPC service that allows HashiCorp Cloud Platform (HCP) to query the node status information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct { // Config contains all dependencies as well as information about the node // Link is running on. Config *config.Config }
Collector implements the logic needed to collect node status information
type Service ¶
type Service struct { // Collector implements the logic needed to collect node status information Collector *Collector pb.UnimplementedNodeStatusServiceServer }
func (*Service) GetNodeStatus ¶
func (s *Service) GetNodeStatus(ctx context.Context, _ *pb.GetNodeStatusRequest) (*pb.GetNodeStatusResponse, error)
GetNodeStatus will be used to regularly fetch the node’s current status.
Click to show internal directories.
Click to hide internal directories.