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) stateModel.DocumentState
InitializeDocumentState - an interim state that is used around during an execution of a document
func ParseDocumentWithParams ¶
func ParseDocumentWithParams(log log.T, rawData *model.InstanceAssociation) (*messageContracts.SendCommandPayload, error)
ParseDocumentWithParams parses an document and replaces the parameters where needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.