Documentation
¶
Overview ¶
Package serverstatus is an enumeration of the states Creating, Active, Inactive, Deleting, Deleted, Failed, Unavailable
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidStrings = []string{ Creating.String(), Active.String(), Inactive.String(), Deleting.String(), Deleted.String(), Failed.String(), Unavailable.String(), }
ValidStrings is the set of strings that are valid inputs to ParseEnum
Functions ¶
This section is empty.
Types ¶
type Enum ¶
type Enum uint8
Enum is an enumerated type
const ( // Creating is an enumeration for serverstatus.Enum Creating Enum = iota + 1 // Active is an enumeration for serverstatus.Enum Active // Inactive is an enumeration for serverstatus.Enum Inactive // Deleting is an enumeration for serverstatus.Enum Deleting // Deleted is an enumeration for serverstatus.Enum Deleted // Failed is an enumeration for serverstatus.Enum Failed Unavailable )
func (Enum) MarshalText ¶
MarshalText implements the text marshaller method
func (*Enum) UnmarshalText ¶
UnmarshalText implements the text unmarshaller method
Click to show internal directories.
Click to hide internal directories.