Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadMetaData ¶
LoadMetaData loads the metadata.yaml file
Types ¶
type MetaData ¶
type MetaData struct {
Name string `mapstructure:"name" yaml:"name"`
Version string `mapstructure:"version" yaml:"version"`
Modules []Module `mapstructure:"modules" yaml:"modules"`
GetStateMode uint32 `mapstructure:"getStateMode" yaml:"getStateMode"`
LintModel bool `mapstructure:"lintModel" yaml:"lintModel"`
}
MetaData plugin meta-data
type ModelCompiler ¶
type ModelCompiler struct {
// contains filtered or unexported fields
}
ModelCompiler is a model plugin compiler
func NewCompiler ¶
func NewCompiler() *ModelCompiler
NewCompiler creates a new config model compiler
func (*ModelCompiler) Compile ¶
func (c *ModelCompiler) Compile(path string) error
Compile compiles the config model
Click to show internal directories.
Click to hide internal directories.