client

package
v0.0.0-...-25da3cc Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RpcClient

type RpcClient struct {
	// contains filtered or unexported fields
}

func NewRpcClient

func NewRpcClient(serverUrl string, enableTls bool, certFile, keyFile string) *RpcClient

func (*RpcClient) CallEcho

func (c *RpcClient) CallEcho(message string) (error, string)

func (*RpcClient) CallQueryClusterExecutors

func (c *RpcClient) CallQueryClusterExecutors(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallQueryExecutors

func (c *RpcClient) CallQueryExecutors(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallQueryNodes

func (c *RpcClient) CallQueryNodes(pageInfo *core.PageInfo) (error, *packet.RpcReply)

func (*RpcClient) CallQueryResource

func (c *RpcClient) CallQueryResource() (error, *packet.RpcReply)

func (*RpcClient) CallRegisterExecutor

func (c *RpcClient) CallRegisterExecutor(conf *core.TaskConfig) (error, *packet.RpcReply)

func (*RpcClient) CallRegisterNode

func (c *RpcClient) CallRegisterNode(worker *core.NodeInfo) (error, *packet.RpcReply)

func (*RpcClient) CallRemoveExecutor

func (c *RpcClient) CallRemoveExecutor(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallStartExecutor

func (c *RpcClient) CallStartExecutor(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallStopExecutor

func (c *RpcClient) CallStopExecutor(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallSubmitExecutor

func (c *RpcClient) CallSubmitExecutor(execInfo *core.ExecutorInfo) (error, *packet.RpcReply)

func (*RpcClient) CallSubmitStartExecutor

func (c *RpcClient) CallSubmitStartExecutor(taskId string) (error, *packet.RpcReply)

func (*RpcClient) CallSubmitStopExecutor

func (c *RpcClient) CallSubmitStopExecutor(taskId string) (error, *packet.RpcReply)

Jump to

Keyboard shortcuts

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