Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetrievedUnitState ¶
type RetrievedUnitState struct { // Name is the unit name. Name string // CharmState is key/value pairs for charm attributes. CharmState map[string]string // UniterState is the uniter's state as a YAML string. UniterState string // RelationState is key/value pairs for relation attributes. RelationState map[int]string // StorageState is a YAML string. StorageState string // SecretState is a YAML string. SecretState string }
RetrievedUnitState represents a unit state persisted and then retrieved from the database.
type UnitState ¶
type UnitState struct { // Name is the unit name. Name string // CharmState is key/value pairs for charm attributes. CharmState *map[string]string // UniterState is the uniter's state as a YAML string. UniterState *string // RelationState is key/value pairs for relation attributes. RelationState *map[int]string // StorageState is a YAML string. StorageState *string // SecretState is a YAML string. SecretState *string }
UnitState represents the state of the world according to a unit agent at hook commit time.
Click to show internal directories.
Click to hide internal directories.