Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMatrixNeedsCollection = errors.New("matrix should contain a collection")
ErrMatrixNeedsCollection is returned when the matrix modifier does not contain a collection (either map or slice) inside.
View Source
var ErrMatrixNeedsListOfMaps = errors.New("matrix with a list can only contain maps as it's items")
ErrMatrixNeedsListOfMaps is returned when the matrix modifier contains something other than maps (e.g. lists or scalars) as it's items.
Functions ¶
func ExpandMatrices ¶
func ExpandMatrices(tree yaml.MapSlice) (yaml.MapSlice, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.