Documentation
¶
Overview ¶
* Copyright (c) KylinSoft Co., Ltd. 2024.All rights reserved. * PilotGo-plugin-topology licensed under the Mulan Permissive Software License, Version 2. * See LICENSE file for more details. * Author: Wangjunqi123 <wangjunqi@kylinos.cn> * Date: Mon Nov 4 14:30:13 2024 +0800
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config_dir string
Functions ¶
This section is empty.
Types ¶
type PilotGoConf ¶
type PilotGoConf struct {
Addr string `yaml:"addr"`
}
type ServerConfig ¶
type ServerConfig struct {
Topo *TopoConf `yaml:"topo"`
PilotGo *PilotGoConf `yaml:"PilotGo"`
Logopts *logger.LogOpts `yaml:"log"`
}
func Config ¶
func Config() *ServerConfig
type TopoConf ¶
type TopoConf struct {
Https_enabled bool `yaml:"https_enabled"`
Public_certificate string `yaml:"cert_file"`
Private_key string `yaml:"key_file"`
Agent_addr string `yaml:"agent_addr"`
Agent_port string `yaml:"agent_port"`
Server_addr string `yaml:"server_addr"`
Datasource string `yaml:"datasource"`
Heartbeat int `yaml:"heartbeat"`
}
Click to show internal directories.
Click to hide internal directories.