networker

package
v0.0.0-...-be26699 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 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 NetworkerAPI

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

NetworkerAPI provides access to the Networker API facade.

func NewNetworkerAPI

func NewNetworkerAPI(
	st *state.State,
	resources *common.Resources,
	authorizer common.Authorizer,
) (*NetworkerAPI, error)

NewNetworkerAPI creates a new server-side Networker API facade.

func (*NetworkerAPI) MachineNetworkConfig

func (n *NetworkerAPI) MachineNetworkConfig(args params.Entities) (params.MachineNetworkConfigResults, error)

MachineNetworkConfig returns the list of networks with related interfaces for a given set of machines.

func (*NetworkerAPI) MachineNetworkInfo

func (n *NetworkerAPI) MachineNetworkInfo(args params.Entities) (params.MachineNetworkConfigResults, error)

MachineNetworkInfo returns the list of networks with related interfaces for a given set of machines. DEPRECATED: Use MachineNetworkConfig() instead.

func (*NetworkerAPI) WatchInterfaces

func (n *NetworkerAPI) WatchInterfaces(args params.Entities) (params.NotifyWatchResults, error)

WatchInterfaces returns a NotifyWatcher for observing changes to each unit's service configuration settings.

Jump to

Keyboard shortcuts

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