machineagent

package
v0.0.0-...-acd7349 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2013 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Machine

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

func (*Machine) Jobs

func (m *Machine) Jobs() []params.MachineJob

func (*Machine) Life

func (m *Machine) Life() params.Life

func (*Machine) SetPassword

func (m *Machine) SetPassword(password string) error

func (*Machine) Tag

func (m *Machine) Tag() string

type State

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

State provides access to a machine agent's view of the state.

func NewState

func NewState(caller common.Caller) *State

Machiner returns a version of the state that provides functionality required by the machine agent code.

func (*State) Machine

func (st *State) Machine(tag string) (*Machine, error)

Jump to

Keyboard shortcuts

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