bump

package
v2.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BumpToCurrentVersion

func BumpToCurrentVersion(dataDir string) error

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 {
	Url                 string                     `json:"url"`
	Interval            cast.DurationConf          `json:"interval"`
	InternalSqlQueryCfg *OriginInternalSqlQueryCfg `json:"internalSqlQueryCfg,omitempty"`
	TemplateSqlQueryCfg *OriginTemplateSqlQueryCfg `json:"templateSqlQueryCfg,omitempty"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL