Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ResolverTemplateRegex = regexp.MustCompile(`\{([^)]+)\}.resolver.*`)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
SchemaFilename []string `yaml:"schema,omitempty"`
Exec PackageConfig `yaml:"exec"`
Model PackageConfig `yaml:"model,omitempty"`
Resolver ResolverConfig `yaml:"resolver,omitempty"`
AutoBind []string `yaml:"autobind"`
Server struct {
Standalone bool `yaml:"standalone"`
} `yaml:"server"`
Sources []*ast.Source `yaml:"-"`
Packages *internal.Packages `yaml:"-"`
Schema *ast.Schema `yaml:"-"`
DefaultModelPackage *packages.Package `yaml:"-"`
ParsedTree *parser.Tree
Root string
}
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig creates a copy of the default config
func LoadConfig ¶
LoadConfig reads the lambda.yaml config file
func (*Config) LoadSchema ¶
type PackageConfig ¶
Click to show internal directories.
Click to hide internal directories.