Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T int
T representing a Resource, Object Instance or Object status
const ( // NotApplicable means Not Applicable NotApplicable T = 1 << iota // Up means Configured or Active Up // Down means Unconfigured or Inactive Down // Warn means Partially configured or active Warn // StandbyUp means Instance with standby resources Configured or Active and no other resources StandbyUp // StandbyDown means Instance with standby resources Unconfigured or Inactive and no other resources StandbyDown // StandbyUpWithUp means Instance with standby resources Configured or Active and other resources Up StandbyUpWithUp // StandbyUpWithDown means Instance with standby resources Configured or Active and other resources Down StandbyUpWithDown )
const ( // Undef means Undefined Undef T = 0 )
func (T) MarshalText ¶
MarshalText marshals the enum as a quoted json string
func (*T) UnmarshalText ¶
UnmarshalText unmashals a quoted json string to the enum value
Click to show internal directories.
Click to hide internal directories.