Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T int
T stores an integer value representing a service, instance or resource provisioned state.
const ( // Undef is used when a resource or instance has no provisioned state. Undef T = iota // True means the instance or resource is known to be provisioned. True // False means the instance or resource is known to be not provisioned. False // Mixed means the instance or service is partially provisioned. Mixed // NotApplicable means the resource does not need provisioning. NotApplicable )
func FromBool ¶
FromBool is a factory function resource drivers can use to return a provisioned.T from a boolean
func NewFromString ¶
NewFromString return new T from a string representation of T
func (T) FlagString ¶
FlagString returns a one character representation of the type instance.
. Provisioned P Not provisioned p Mixed provisioned / Not applicable ? Unknown
func (T) MarshalText ¶
MarshalText marshals the enum as a quoted json string
func (*T) UnmarshalText ¶
UnmarshalText unmarshals a quoted json string to the enum value
Click to show internal directories.
Click to hide internal directories.