agent

package
v0.0.4-rc3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAgent

func RunAgent(server, token, dataDir, logFile string) error

Types

type Agent

type Agent struct {
	T_Token   string `desc:"Token to use for authentication" env:"RIO_TOKEN"`
	S_Server  string `desc:"Server to connect to" env:"RIO_URL"`
	D_DataDir string `desc:"Folder to hold state" default:"/var/lib/rancher/rio"`
	L_Log     string `desc:"log to file"`
	AgentShared
}

func (*Agent) Customize

func (a *Agent) Customize(command *cli.Command)

func (*Agent) Run

func (a *Agent) Run(ctx *clicontext.CLIContext) error

type AgentShared

type AgentShared struct {
	I_NodeIp string `desc:"IP address to advertise for node"`
}

Jump to

Keyboard shortcuts

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