parser

package
v0.0.0-...-a9ed6da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL