Documentation ¶
Index ¶
Constants ¶
View Source
const ( Path = "/api/appliance/shutdown" Action = "action" Cancel = "cancel" PowerOff = "poweroff" Reboot = "reboot" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Action string `json:"action"` Reason string `json:"reason"` ShutdownTime string `json:"shutdown_time"` }
Config defines shutdown configuration returned by the Shutdown.get operation
Click to show internal directories.
Click to hide internal directories.