# Functions

FromEnvelope expects to receive raw bytes and convert them as Envelope, payload being unmarshalled into the given parameter.
ToEnvelope returns the Envelope as raw bytes, setting activity ID and payload to the given parameters.

# Constants

ActionStatusActivating denotes a component is currently being activated.
ActionStatusActivationFailure denotes a component could not be activated.
ActionStatusActivationSuccess denotes a component has been activated successfully.
ActionStatusDownloadFailure denotes an artifact download has failed.
ActionStatusDownloading denotes an artifact is currently being downloaded.
ActionStatusDownloadSuccess denotes an artifact has been downloaded successfully.
ActionStatusIdentified denotes action is identified, initial status for each action.
ActionStatusRemovalFailure denotes a component could not be removed.
ActionStatusRemovalSuccess denotes a component has been removed successfully.
ActionStatusRemoving denotes a component is currently being removed.
ActionStatusUpdateFailure denotes a component could not be installed or modified.
ActionStatusUpdateSuccess denotes a component has been installed or modified successfully.
ActionStatusUpdating denotes a component is currently being installed or modified.
BaselineStatusActivating denotes a baseline is currently being activated.
BaselineStatusActivationFailure denotes a baseline could not be activated.
BaselineStatusActivationSuccess denotes a baseline has been activated successfully.
BaselineStatusCleanup denotes that the cleanup process for a baseline after activation is currently running.
BaselineStatusCleanupFailure denotes that the cleanup process for a baseline after activation was not successful.
BaselineStatusCleanupSuccess denotes that the cleanup process for a baseline after activation was successful.
BaselineStatusDownloadFailure denotes a baseline download has failed.
BaselineStatusDownloading denotes a baseline is currently being downloaded.
BaselineStatusDownloadSuccess denotes a baseline was downloaded successfully.
BaselineStatusRollback denotes that a baseline is currently in a rollback process.
BaselineStatusRollbackFailure denotes that the rollback process for a baseline was not successful.
BaselineStatusRollbackSuccess denotes that the rollback process for a baseline was successful.
BaselineStatusUpdateFailure denotes a baseline could not be updated.
BaselineStatusUpdateSuccess denotes a baseline has been updated successfully.
BaselineStatusUpdating denotes a baseline is currently being updated.
CommandActivate denotes an activate baseline command.
CommandCleanup denotes a cleanup baseline command.
CommandDownload denotes a download baseline command.
CommandRollback denotes a rollback baseline command.
CommandUpdate denotes an update baseline command.
SoftwareTypeApplication represents an application software type.
SoftwareTypeContainer represents a container software type.
SoftwareTypeData represents a data software type.
SoftwareTypeImage represents an image software type.
SoftwareTypeRaw represents a raw bytes software type.
StatusApproved denotes that the owner approved the update operation.
StatusCompleted denotes that identified actions completed successfully.
StatusDenied denotes that the owner denied the update operation.
StatusIdentificationFailed denotes some or all of the required actions failed to be identified.
StatusIdentified denotes that required actions are identified.
StatusIdentifying denotes that action identification process has started.
StatusIncomplete denotes that not all of the identified actions completed successfully.
StatusIncompleteInconsistent denotes that not all of the identified actions completed successfully, leaving the state inconsistent.
StatusRunning denotes that identified actions are currently executing.
StatusSuperseded denotes that the identified actions are no longer valid because new desired state was requested.

# Structs

Action defines the payload holding Desired State Feedback responses.
Association links software and/or hardware nodes.
Baseline defines the baseline structure within the Desired State specification.
Component defines the component structure within the Desired State specification.
ComponentWithConfig defines the component structure within the Desired State specification, it includes key-value configuration pairs.
DesiredState defines the payload holding the Desired State specification.
DesiredStateCommand defines the payload holding the Desired State Command specification.
DesiredStateFeedback defines the payload holding Desired State Feedback responses.
Domain defines the domain structure within the Desired State specification.
Envelope defines the structure of messages for interacting with the UpdateAgent API.
HardwareNode defines the representation for a hardware node.
Inventory defines the payload holding an inventory graph.
InventoryNode defines common struct for both SoftwareNode and HardwareNode.
KeyValuePair represents key/value string pair.
OwnerConsent defines the payload for Owner Consent.
OwnerConsentFeedback defines the payload for Owner Consent Feedback.
SoftwareNode defines the representation for a software node.

# Type aliases

ActionStatusType defines values for status of an action within the desired state feedback.
CommandType defines command names for desired state command requests.
ConsentStatusType defines values for status within the owner consent.
SoftwareType represents the type of a software node.
StatusType defines values for status within the desired state feedback.