mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com> Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
27 lines
431 B
Go
27 lines
431 B
Go
package paramtable
|
|
|
|
const hookYamlFile = "hook.yaml"
|
|
|
|
type hookConfig struct {
|
|
SoPath ParamItem
|
|
SoConfig ParamGroup
|
|
}
|
|
|
|
func (h *hookConfig) init() {
|
|
base := &BaseTable{YamlFile: hookYamlFile}
|
|
base.Init()
|
|
|
|
h.SoPath = ParamItem{
|
|
Key: "soPath",
|
|
Version: "2.0.0",
|
|
DefaultValue: "",
|
|
}
|
|
h.SoPath.Init(base.mgr)
|
|
|
|
h.SoConfig = ParamGroup{
|
|
KeyPrefix: "",
|
|
Version: "2.2.0",
|
|
}
|
|
h.SoConfig.Init(base.mgr)
|
|
}
|