Documentation ¶
Overview ¶
Package jsonstate implements methods for outputting a state in a machine-readable json format
Index ¶
Constants ¶
View Source
const FormatVersion = "1.0"
FormatVersion represents the version of the json format and will be incremented for any change to this format that requires changes to a consuming parser.
Variables ¶
This section is empty.
Functions ¶
func MarshalOutputs ¶ added in v1.3.0
func MarshalOutputs(outputs map[string]*states.OutputValue) (map[string]output, error)
MarshalOutputs translates a map of states.OutputValue to a map of jsonstate.output, which are defined for json encoding.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.