parser

package
v0.0.0-...-7638cb1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2017 License: Apache-2.0 Imports: 17 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) 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.

Jump to

Keyboard shortcuts

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