milvus/internal/util/paramtable/hook_config.go

27 lines
477 B
Go
Raw Normal View History

package paramtable
const hookYamlFile = "hook.yaml"
type hookConfig struct {
SoPath ParamItem `refreshable:"false"`
SoConfig ParamGroup `refreshable:"false"`
}
func (h *hookConfig) init() {
base := &BaseTable{YamlFile: hookYamlFile}
base.init(0)
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)
}