Documentation ¶
Index ¶
- Constants
- func APIM() string
- func AddOnPlatform() string
- func CMDB() string
- func CMP() string
- func ClusterDialer() string
- func ClusterManager() string
- func Collector() string
- func CoreServices() string
- func DOP() string
- func DiceHub() string
- func ECP() string
- func EventBox() string
- func GetEndpoint(serviceName string) (endpoint string, err error)
- func Gittar() string
- func GittarAdaptor() string
- func Hepa() string
- func KMS() string
- func MSP() string
- func Monitor() string
- func Openapi() string
- func Orchestrator() string
- func Pipeline() string
- func QA() string
- func Scheduler() string
- func Services() []string
- func Soldier() string
- func TMC() string
- func UC() string
Constants ¶
View Source
const ( EnvEventBox = "EVENTBOX_ADDR" EnvCMDB = "CMDB_ADDR" EnvScheduler = "SCHEDULER_ADDR" EnvDiceHub = "DICEHUB_ADDR" EnvSoldier = "SOLDIER_ADDR" EnvOrchestrator = "ORCHESTRATOR_ADDR" EnvAddOnPlatform = "ADDON_PLATFORM_ADDR" EnvGittar = "GITTAR_ADDR" EnvGittarAdaptor = "GITTAR_ADAPTOR_ADDR" EnvCollector = "COLLECTOR_ADDR" EnvMonitor = "MONITOR_ADDR" EnvPipeline = "PIPELINE_ADDR" EnvHepa = "HEPA_ADDR" EnvCMP = "CMP_ADDR" EnvOpenapi = "OPENAPI_ADDR" EnvKMS = "KMS_ADDR" EnvQA = "QA_ADDR" EnvAPIM = "APIM_ADDR" EnvTMC = "TMC_ADDR" // TODO REMOVE EnvMSP = "MSP_ADDR" EnvUC = "UC_ADDR" EnvClusterDialer = "CLUSTER_DIALER_ADDR" EnvDOP = "DOP_ADDR" EnvECP = "ECP_ADDR" EnvClusterManager = "CLUSTER_MANAGER_ADDR" EnvCoreServices = "CORE_SERVICES_ADDR" )
定义各个服务地址的环境变量配置名字.
View Source
const ( SvcEventBox = "eventbox" SvcCMDB = "cmdb" SvcScheduler = "scheduler" SvcDiceHub = "dicehub" SvcSoldier = "soldier" SvcOrchestrator = "orchestrator" SvcAddOnPlatform = "addon-platform" SvcGittar = "gittar" SvcGittarAdaptor = "gittar-adaptor" SvcCollector = "collector" SvcMonitor = "monitor" SvcPipeline = "pipeline" SvcHepa = "hepa" SvcCMP = "cmp" SvcOpenapi = "openapi" SvcKMS = "addon-kms" SvcQA = "qa" SvcAPIM = "apim" SvcTMC = "tmc" SvcMSP = "msp" SvcUC = "uc" SvcClusterDialer = "cluster-dialer" SvcDOP = "dop" SvcECP = "ecp" SvcClusterManager = "cluster-manager" SvcCoreServices = "core-services" )
定义各个服务的 k8s svc 名称
Variables ¶
This section is empty.
Functions ¶
func AddOnPlatform ¶
func AddOnPlatform() string
func ClusterDialer ¶
func ClusterDialer() string
func ClusterManager ¶ added in v1.1.0
func ClusterManager() string
func CoreServices ¶ added in v1.1.0
func CoreServices() string
func GetEndpoint ¶
func GittarAdaptor ¶
func GittarAdaptor() string
func Orchestrator ¶
func Orchestrator() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.