grpc

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package grpc is a generated protocol buffer package.

It is generated from these files:

rpc.proto

It has these top-level messages:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBenchHubCentralServer

func RegisterBenchHubCentralServer(s *grpc1.Server, srv BenchHubCentralServer)

Types

type BenchHubCentralClient

type BenchHubCentralClient interface {
	Ping(ctx context.Context, in *bh.Ping, opts ...grpc1.CallOption) (*bh.Pong, error)
	NodeInfo(ctx context.Context, in *bh.NodeInfoReq, opts ...grpc1.CallOption) (*bh.NodeInfoRes, error)
	RegisterAgent(ctx context.Context, in *bh.RegisterAgentReq, opts ...grpc1.CallOption) (*bh.RegisterAgentRes, error)
	AgentHeartbeat(ctx context.Context, in *bh.AgentHeartbeatReq, opts ...grpc1.CallOption) (*bh.AgentHeartbeatRes, error)
	ListAgent(ctx context.Context, in *bh.ListAgentReq, opts ...grpc1.CallOption) (*bh.ListAgentRes, error)
	SubmitJob(ctx context.Context, in *bh.SubmitJobReq, opts ...grpc1.CallOption) (*bh.SubmitJobRes, error)
}

func NewBenchHubCentralClient

func NewBenchHubCentralClient(cc *grpc1.ClientConn) BenchHubCentralClient

func NewClient

func NewClient(con *grpc.ClientConn) BenchHubCentralClient

Jump to

Keyboard shortcuts

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