Documentation
¶
Index ¶
- func Factory(name string, settings *print.Settings) (print.Engine, error)
- func NewAsciidocDocument(settings *print.Settings) print.Engine
- func NewAsciidocTable(settings *print.Settings) print.Engine
- func NewJSON(settings *print.Settings) print.Engine
- func NewMarkdownDocument(settings *print.Settings) print.Engine
- func NewMarkdownTable(settings *print.Settings) print.Engine
- func NewPretty(settings *print.Settings) print.Engine
- func NewTOML(settings *print.Settings) print.Engine
- func NewTfvarsHCL(settings *print.Settings) print.Engine
- func NewTfvarsJSON(settings *print.Settings) print.Engine
- func NewXML(settings *print.Settings) print.Engine
- func NewYAML(settings *print.Settings) print.Engine
- type AsciidocDocument
- type AsciidocTable
- type JSON
- type MarkdownDocument
- type MarkdownTable
- type Pretty
- type TOML
- type TfvarsHCL
- type TfvarsJSON
- type XML
- type YAML
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Factory ¶
Factory initializes and returns the concrete implementation of format.Engine based on the provided 'name', for example for name of 'json' it will return '*format.JSON' through 'format.NewJSON' function.
func NewAsciidocDocument ¶
NewAsciidocDocument returns new instance of AsciidocDocument.
func NewAsciidocTable ¶
NewAsciidocTable returns new instance of AsciidocTable.
func NewMarkdownDocument ¶ added in v0.11.0
NewMarkdownDocument returns new instance of Document.
func NewMarkdownTable ¶ added in v0.11.0
NewMarkdownTable returns new instance of Table.
func NewTfvarsHCL ¶
NewTfvarsHCL returns new instance of TfvarsHCL.
func NewTfvarsJSON ¶
NewTfvarsJSON returns new instance of TfvarsJSON.
Types ¶
type AsciidocDocument ¶
type AsciidocDocument struct {
// contains filtered or unexported fields
}
AsciidocDocument represents AsciiDoc Document format.
type AsciidocTable ¶
type AsciidocTable struct {
// contains filtered or unexported fields
}
AsciidocTable represents AsciiDoc Table format.
type JSON ¶
type JSON struct {
// contains filtered or unexported fields
}
JSON represents JSON format.
type MarkdownDocument ¶ added in v0.11.0
type MarkdownDocument struct {
// contains filtered or unexported fields
}
MarkdownDocument represents Markdown Document format.
type MarkdownTable ¶ added in v0.11.0
type MarkdownTable struct {
// contains filtered or unexported fields
}
MarkdownTable represents Markdown Table format.
type Pretty ¶
type Pretty struct {
// contains filtered or unexported fields
}
Pretty represents colorized pretty format.
type TOML ¶
type TOML struct {
// contains filtered or unexported fields
}
TOML represents TOML format.
type TfvarsHCL ¶
type TfvarsHCL struct {
// contains filtered or unexported fields
}
TfvarsHCL represents Terraform tfvars HCL format.
type TfvarsJSON ¶
type TfvarsJSON struct {
// contains filtered or unexported fields
}
TfvarsJSON represents Terraform tfvars JSON format.