package
Version:
v0.7.1
Opens a new window with list of versions in this module.
Published: Nov 7, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package format provides functions for formatting the types found in the cfn package.
Anything returns a string representation of any given value
as either JSON or YAML depending on options.Style
Diff returns a string representation of a diff.Diff.
options.Style is currently ignored and the format will be annotated YAML
SortKeys sorts the given keys
based on their location within a CloudFormation template
as given by the path parameter
Template returns a string representation of a cfn.Template
as either JSON or YAML depending on options.Style
type Options struct {
Style Style
Compact bool
}
Options represents a collection of formatting options
Style represents a style offered by a given formatter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.