matrix

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL