Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BumpToCurrentVersion ¶
func InitBumpManager ¶
func InitBumpManager() error
Types ¶
type BumpManager ¶
type BumpManager struct {
Version int
// contains filtered or unexported fields
}
var GlobalBumpManager *BumpManager
type OriginInternalSqlQueryCfg ¶
type OriginInternalSqlQueryCfg struct {
Table string `json:"table"`
Limit int `json:"limit"`
IndexFieldName string `json:"indexField"`
IndexFieldValue interface{} `json:"indexValue"`
IndexFieldDataType string `json:"indexFieldType"`
IndexFieldDateTimeFormat string `json:"dateTimeFormat"`
IndexFields []*store.IndexField `json:"indexFields"`
}
type OriginSqlSourceCfg ¶
type OriginSqlSourceCfg struct {
DBUrl string `json:"dburl"`
Interval cast.DurationConf `json:"interval"`
InternalSqlQueryCfg *OriginInternalSqlQueryCfg `json:"internalSqlQueryCfg,omitempty"`
TemplateSqlQueryCfg *OriginTemplateSqlQueryCfg `json:"templateSqlQueryCfg,omitempty"`
}
OriginSqlSourceCfg tends to rewrite index Field into index Fields
type OriginTemplateSqlQueryCfg ¶
type OriginTemplateSqlQueryCfg struct {
TemplateSQL string `json:"templateSql"`
IndexFieldName string `json:"indexField"`
IndexFieldValue interface{} `json:"indexValue"`
IndexFieldDataType string `json:"indexFieldType"`
IndexFieldDateTimeFormat string `json:"dateTimeFormat"`
IndexFields []*store.IndexField `json:"indexFields"`
}
Click to show internal directories.
Click to hide internal directories.