Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadMetaData ¶
LoadMetaData loads the metadata.yaml file
Types ¶
type Dictionary ¶ added in v0.9.3
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"` GenOpenAPI bool `mapstructure:"genOpenAPI" yaml:"genOpenAPI"` GoPackage string `mapstructure:"goPackage" yaml:"goPackage"` }
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.