github_com_slok_ragnarok_grpc_nodestatus

package
v0.0.0-...-6a3c6e2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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)
}

Jump to

Keyboard shortcuts

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