Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(registry facade.FacadeRegistry)
Register is called to expose a package of facades onto a given registry.
Types ¶
type RebootAPI ¶
type RebootAPI struct { *common.RebootActionGetter // The ability for a machine to reboot itself is not yet used. *common.RebootRequester *common.RebootFlagClearer // contains filtered or unexported fields }
RebootAPI provides access to the Upgrader API facade.
func NewRebootAPI ¶
NewRebootAPI creates a new server-side RebootAPI facade.
func (*RebootAPI) WatchForRebootEvent ¶
func (r *RebootAPI) WatchForRebootEvent() (params.NotifyWatchResult, error)
WatchForRebootEvent starts a watcher to track if there is a new reboot request on the machines ID or any of its parents (in case we are a container).
Click to show internal directories.
Click to hide internal directories.