agent

package
v1.0.0-alpha-01-28-201... Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

Agent holds the netplugin agent state

func NewAgent

func NewAgent(pluginConfig *plugin.Config) *Agent

NewAgent creates a new netplugin agent

func (*Agent) HandleEvents

func (ag *Agent) HandleEvents() error

HandleEvents handles events

func (*Agent) Plugin

func (ag *Agent) Plugin() *plugin.NetPlugin

Plugin returns the netplugin instance

func (*Agent) PostInit

func (ag *Agent) PostInit() error

PostInit post initialization

func (*Agent) ProcessCurrentState

func (ag *Agent) ProcessCurrentState() error

ProcessCurrentState processes current state as read from stateStore

Jump to

Keyboard shortcuts

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