Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PgConfig *PgConfig `yaml:"pg_config"` PgDumpPath string `yaml:"pg_dump_path"` PgTableConfig *PgTableConfig `yaml:"pg_table_config"` PgTypeConfig map[string]*PgTypeConfig `yaml:"pg_type_config"` }
Config USE ConfigPath FOR GENERATORS FACTORY INSTEAD OF IT
func (*Config) WithInitial ¶
type ConfigPath ¶
type ConfigPath string
ConfigPath USE IT FOR GENERATORS FACTORY
func (ConfigPath) Parse ¶
func (c ConfigPath) Parse() (*Config, error)
func (ConfigPath) String ¶
func (c ConfigPath) String() string
type PgColFilter ¶
type PgColFilter struct { AllByDefault bool `yaml:"all_by_default"` String []string `yaml:"string"` Numeric []string `yaml:"numeric"` Overrides map[string]map[string][]string `yaml:"overrides"` }
func (*PgColFilter) Validate ¶
func (c *PgColFilter) Validate() error
type PgConfig ¶
type PgTableConfig ¶
type PgTableConfig struct { PgColumnFilter *PgColFilter `yaml:"pg_column_filter"` PgSkipTables []string `yaml:"pg_skip_tables"` PgSkipCustomStorages []string `yaml:"pg_skip_custom_storages"` }
func (*PgTableConfig) Validate ¶
func (c *PgTableConfig) Validate() error
type PgTypeConfig ¶
func (*PgTypeConfig) Validate ¶
func (c *PgTypeConfig) Validate() error
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func NewStorage(configPath ConfigPath) (*Storage, error)
Click to show internal directories.
Click to hide internal directories.