Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileSystem billy.Filesystem = osfs.New("/")
FileSystem used in any file operation
Functions ¶
Types ¶
type Config ¶
type Config struct { Imports map[string]Values `yaml:"import,omitempty"` Output string `yaml:"output,omitempty"` Type string `yaml:"type,omitempty"` types.Config // contains filtered or unexported fields }
func NewConfig ¶
NewConfig returns a new Config unmarshaling the r content interpolated with the given values. A dir, should be provided to be able to read and resolve all the includes
func NewConfigFromFile ¶
NewConfigFromFile opens the given file and calls NewConfig with the given values
type ErrCircularDependency ¶
type ErrCircularDependency struct { Stack stack File string }
func (*ErrCircularDependency) Error ¶
func (err *ErrCircularDependency) Error() string
Click to show internal directories.
Click to hide internal directories.