agent

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gather added in v0.2.1

func Gather() (*types.SysInfo, error)

Types

type Agent

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

func New

func New(cfg *config.AgentConfig) *Agent

func (*Agent) IPAMSetIPPool added in v0.2.1

func (agent *Agent) IPAMSetIPPool(start, end string) error

IPAMSetIPPool called via CLI

func (*Agent) Join added in v0.2.1

func (agent *Agent) Join() error

func (*Agent) NewHTTPMux added in v0.2.1

func (agent *Agent) NewHTTPMux() http.Handler

func (*Agent) NewListener added in v0.2.1

func (agent *Agent) NewListener() net.Listener

func (*Agent) ServeApi added in v0.2.1

func (agent *Agent) ServeApi(l net.Listener) error

func (*Agent) ServeProtocol added in v0.2.1

func (agent *Agent) ServeProtocol() error

func (*Agent) StartAndJoin

func (agent *Agent) StartAndJoin() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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