Documentation ¶
Index ¶
- type NetworkerAPI
- func (n *NetworkerAPI) MachineNetworkConfig(args params.Entities) (params.MachineNetworkConfigResults, error)
- func (n *NetworkerAPI) MachineNetworkInfo(args params.Entities) (params.MachineNetworkConfigResults, error)
- func (n *NetworkerAPI) WatchInterfaces(args params.Entities) (params.NotifyWatchResults, error)
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.
Click to show internal directories.
Click to hide internal directories.