Documentation
¶
Index ¶
Constants ¶
View Source
const ( TypeSelect = "select" TypeInsert = "insert" TypeUpdate = "update" TypeDelete = "delete" )
Variables ¶
View Source
var AllowedTypes = []string{TypeSelect, TypeInsert, TypeUpdate, TypeDelete}
Functions ¶
Types ¶
type Definition ¶
type Definition struct {
Version int `yaml:"version"`
Params map[string]string `yaml:"params"`
Operations []Operation `yaml:"operations"`
}
func LoadDefinition ¶
func LoadDefinition(configPath string) (*Definition, error)
func LoadDefinitions ¶ added in v0.0.9
func LoadDefinitions(configPaths []string) (*Definition, error)
func (*Definition) ProcessTemplates ¶
func (d *Definition) ProcessTemplates() error
func (*Definition) Validate ¶
func (d *Definition) Validate() error
Click to show internal directories.
Click to hide internal directories.