Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MergeOpts ¶
type MergeOpts struct { SkipEval bool `goptions:"--skip-eval, description='Do not evaluate spruce logic after merging docs'"` Prune []string `goptions:"--prune, description='Specify keys to prune from final output (may be specified more than once)'"` CherryPick []string `` /* 142-byte string literal not displayed */ FallbackAppend bool `` /* 149-byte string literal not displayed */ EnableGoPatch bool `goptions:"--go-patch, description='Enable the use of go-patch when parsing files to be merged'"` MultiDoc bool `goptions:"--multi-doc, -m, description='Treat multi-doc yaml as multiple files.'"` Help bool `goptions:"--help, -h"` Files goptions.Remainder `goptions:"description='List of files to merge. To read STDIN, specify a filename of \\'-\\'.'"` }
type RootIsArrayError ¶
type RootIsArrayError struct {
// contains filtered or unexported fields
}
func (RootIsArrayError) Error ¶
func (r RootIsArrayError) Error() string
type YamlFile ¶
type YamlFile struct { Path string Reader io.ReadCloser }
func LoadYamlFile ¶ added in v0.0.2
Click to show internal directories.
Click to hide internal directories.