You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/vendor/github.com/ucloud/ucloud-sdk-go/services/uhost/enums.go

21 lines
512 B

package uhost
// State is the state of UHost instance
type State string
// Enum values for State
const (
StateInitializing State = "Initializing"
StateStarting State = "Starting"
StateRunning State = "Running"
StateStopping State = "Stopping"
StateStopped State = "Stopped"
StateInstallFail State = "InstallFail"
StateRebooting State = "Rebooting"
)
// MarshalValue will marshal state value to string
func (enum State) MarshalValue() (string, error) {
return string(enum), nil
}