talos
1// This Source Code Form is subject to the terms of the Mozilla Public
2// License, v. 2.0. If a copy of the MPL was not distributed with this
3// file, You can obtain one at http://mozilla.org/MPL/2.0/.
4
5package vm6
7// Controller interface should be implemented by the VM to be controlled via the API.
8type Controller interface {9PowerOn() error10PowerOff() error11Reboot() error12PXEBootOnce() error13Status() Status14}
15
16// Status describes current VM status.
17type Status struct {18PoweredOn bool19}
20