add poweroff and reboot functions
This commit is contained in:
9
client/power/power.go
Normal file
9
client/power/power.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package power
|
||||
|
||||
const APIVersion string = "power/v1alpha1"
|
||||
|
||||
type PowerActionResponse struct {
|
||||
APIVersion string `json:"apiVersion"`
|
||||
Action string `json:"action"`
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
Reference in New Issue
Block a user