Documentation ¶
Overview ¶
Package github_com_slok_ragnarok_grpc_nodestatus is a generated protocol buffer package.
It is generated from these files:
nodestatus/nodestatus.proto
It has these top-level messages:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterNodeStatusServer ¶
func RegisterNodeStatusServer(s *grpc.Server, srv NodeStatusServer)
Types ¶
type NodeStatusClient ¶
type NodeStatusClient interface { // Register registers a node. Register(ctx context.Context, in *github_com_slok_ragnarok_api_cluster_v1_pb.Node, opts ...grpc.CallOption) (*google_protobuf.Empty, error) // Heartbeat sends the current status of the node and receives // the expected status that should have. Heartbeat(ctx context.Context, in *github_com_slok_ragnarok_api_cluster_v1_pb.Node, opts ...grpc.CallOption) (*google_protobuf.Empty, error) }
func NewNodeStatusClient ¶
func NewNodeStatusClient(cc *grpc.ClientConn) NodeStatusClient
type NodeStatusServer ¶
type NodeStatusServer interface { // Register registers a node. Register(context.Context, *github_com_slok_ragnarok_api_cluster_v1_pb.Node) (*google_protobuf.Empty, error) // Heartbeat sends the current status of the node and receives // the expected status that should have. Heartbeat(context.Context, *github_com_slok_ragnarok_api_cluster_v1_pb.Node) (*google_protobuf.Empty, error) }
Click to show internal directories.
Click to hide internal directories.