Documentation ¶
Index ¶
- func NewDBCFG() (string, error)
- type CFG
- type PGTable
- type Runner
- func (r *Runner) Close() error
- func (r *Runner) ColumnsFrequency(ctx context.Context) error
- func (r *Runner) DescribeTable(ctx context.Context, table string) error
- func (r *Runner) MaterializedViews(ctx context.Context) error
- func (r *Runner) Run(ctx context.Context, debug bool) error
- func (r *Runner) Schemas(ctx context.Context) error
- func (r *Runner) SchemasUserCreated(ctx context.Context) error
- func (r *Runner) Tables(ctx context.Context) error
- func (r *Runner) TablesByRows(ctx context.Context) error
- func (r *Runner) TablesBySchema(ctx context.Context) error
- func (r *Runner) TablesBySize(ctx context.Context) error
- func (r *Runner) TablesBySizeWithIndex(ctx context.Context) error
- func (r *Runner) TablesEmpty(ctx context.Context) error
- func (r *Runner) TablesGroupByRows(ctx context.Context) error
- func (r *Runner) Version(ctx context.Context) error
- func (r *Runner) Views(ctx context.Context) error
- type Schema
- type StateFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CFG ¶
type CFG struct { Name string `json:"config_name"` DBName string `json:"dbName"` Password string `json:"password"` Port string `json:"port"` SSLMode string `json:"sslMode"` Username string `json:"username"` }
func LoadConfigs ¶
func (CFG) DBConnection ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) DescribeTable ¶
func (*Runner) TablesBySizeWithIndex ¶
Click to show internal directories.
Click to hide internal directories.