networker

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

State provides access to an networker worker's view of the state.

func NewState

func NewState(caller base.APICaller) *State

NewState creates a new client-side Machiner facade.

func (*State) MachineNetworkInfo

func (st *State) MachineNetworkInfo(tag names.MachineTag) ([]network.InterfaceInfo, error)

MachineNetworkInfo returns information about network interfaces to setup only for a single machine.

func (*State) WatchInterfaces

func (st *State) WatchInterfaces(tag names.MachineTag) (watcher.NotifyWatcher, error)

WatchInterfaces returns a NotifyWatcher that notifies of changes to network interfaces on the machine.

Jump to

Keyboard shortcuts

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