Documentation
¶
Index ¶
Constants ¶
View Source
const ( // flags FlagEmitPostMigrationEvent = "emit-post-migration-event" FlagPostMigrationEventTimeout = "post-migration-event-timeout" FlagForcedSchemas = "forced-schemas" FlagLockWithETCD = "lock-with-etcd" FlagSyncETCDEvent = "sync-etcd-event" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SchemaWithPolicy ¶
SchemaWithPolicy ...
type TemplateDef ¶
type TemplateDef struct {
Type string `yaml:"type"` // All, ResourceGroup, Resource
Package string `yaml:"package"` // Code generation directory. Default "gen".
OutputPath string `yaml:"output_path"` // This could be template string. "dir/{{Resource.ID}}".go
TemplatePath string `yaml:"template_path"` // Path to template
Language string `yaml:"language"` // Type of programming language. Eg: go(Default), typescript
}
TemplateDef template def defines file
Source Files
¶
- cli.go
- generate.go
- migrate.go
- template.go
Click to show internal directories.
Click to hide internal directories.