Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StateOff = MachineState{"Off"}
View Source
var StateRunning = MachineState{"Running"}
View Source
var StateSleeping = MachineState{"Sleeping"}
View Source
var StateStarting = MachineState{"Starting"}
View Source
var StateStopping = MachineState{"Stopping"}
View Source
var StateTerminating = MachineState{"Terminating"}
View Source
var StateUnknown = MachineState{"Unknown"}
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Machine ¶
type Machine struct { InstanceName string InstanceID string CurrentUpTime time.Duration PublicIPAddresses []string PrivateIPAddresses []string CurrentState MachineState Env Environment }
func (Machine) Environment ¶
func (m Machine) Environment() Environment
type MachineState ¶
type MachineState struct{ Name string }
type Platform ¶
type Platform interface { Environments(validNames ...string) []Environment Name() string Provider() Provider }
Click to show internal directories.
Click to hide internal directories.