Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnConfig ¶
func (*ColumnConfig) UnmarshalJSON ¶
func (c *ColumnConfig) UnmarshalJSON(bytes []byte) error
type ColumnTransformation ¶
type ColumnTransformation interface {
GetType() string
}
type ColumnTransformationConfig ¶
type ColumnTransformationConfig struct { Type string `json:"type"` Options json.RawMessage `json:"options"` }
type Config ¶
type Config struct { TableConfigs []TableConfig `json:"tables"` RowVariables map[string]Template `json:"rowVariables,omitempty"` ColumnVariables map[string]Template `json:"columnVariables,omitempty"` GlobalVariables map[string]Template `json:"globalVariables,omitempty"` TableVariables map[string]Template `json:"tableVariables,omitempty"` PostSQL string `json:"postSql,omitempty"` Settings Settings `json:"settings"` }
func (Config) GetAllTableConfigsByName ¶
func (c Config) GetAllTableConfigsByName(name string) []TableConfig
type TableConfig ¶
type TableConfig struct { TableName string `json:"name"` Columns []ColumnConfig `json:"columns"` RowVariables map[string]Template `json:"rowVariables,omitempty"` ColumnVariables map[string]Template `json:"columnVariables,omitempty"` TableVariables map[string]Template `json:"tableVariables,omitempty"` }
func (TableConfig) GetAllColumnConfigsByName ¶
func (t TableConfig) GetAllColumnConfigsByName(name string) []ColumnConfig
Click to show internal directories.
Click to hide internal directories.