Documentation ¶
Overview ¶
Package parser contains utilities for parsing and encoding MDS/SSM messages.
Index ¶
Constants ¶
View Source
const ErrorMsg = "Encountered error while parsing input - internal error"
ErrorMsg represents the error message to be sent to the customer
Variables ¶
This section is empty.
Functions ¶
func InitializeDocumentState ¶
func InitializeDocumentState(context context.T, payload *messageContracts.SendCommandPayload, rawData *model.InstanceAssociation) (contracts.DocumentState, error)
InitializeDocumentState - an interim state that is used around during an execution of a document
func ParseDocumentForPayload ¶
func ParseDocumentForPayload(log log.T, rawData *model.InstanceAssociation) (*messageContracts.SendCommandPayload, error)
ParseDocumentForPayload parses an document and replaces the parameters where needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.