Documentation ¶
Index ¶
- Constants
- func RegistUpgrader(version string, handlerFunc func(context.Context, dal.RDB, *Config) error)
- func Upgrade(ctx context.Context, db dal.RDB, conf *Config) (err error)
- func Upsert(ctx context.Context, db dal.RDB, tablename string, row interface{}, ...) (instID uint64, preData map[string]interface{}, err error)
- type Config
- type System
- type Upgrader
- type Version
Constants ¶
View Source
const SystemTypeVersion = "version"
Variables ¶
This section is empty.
Functions ¶
func RegistUpgrader ¶
RegistUpgrader register upgrader
Types ¶
type Config ¶
type Config struct { OwnerID string SupplierID int User string CCApiSrvAddr string // cmdb nginx address }
Config config for upgrader
Directories ¶
Path | Synopsis |
---|---|
* Tencent is pleased to support the open source community by making 蓝鲸 available.
|
* Tencent is pleased to support the open source community by making 蓝鲸 available. |
* Tencent is pleased to support the open source community by making 蓝鲸 available.
|
* Tencent is pleased to support the open source community by making 蓝鲸 available. |
Click to show internal directories.
Click to hide internal directories.