discover

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

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 APIM

func APIM() string

func AddOnPlatform

func AddOnPlatform() string

func CMDB

func CMDB() string

func CMP added in v1.1.0

func CMP() string

func ClusterDialer

func ClusterDialer() string

func ClusterManager added in v1.1.0

func ClusterManager() string

func Collector

func Collector() string

func CoreServices added in v1.1.0

func CoreServices() string

func DOP added in v1.1.0

func DOP() string

func DiceHub

func DiceHub() string

func ECP added in v1.1.0

func ECP() string

func EventBox

func EventBox() string

func GetEndpoint

func GetEndpoint(serviceName string) (endpoint string, err error)

func Gittar

func Gittar() string

func GittarAdaptor

func GittarAdaptor() string

func Hepa

func Hepa() string

func KMS

func KMS() string

func MSP added in v1.1.0

func MSP() string

func Monitor

func Monitor() string

func Openapi

func Openapi() string

func Orchestrator

func Orchestrator() string

func Pipeline

func Pipeline() string

func QA

func QA() string

func Scheduler

func Scheduler() string

func Services added in v1.3.0

func Services() []string

func Soldier

func Soldier() string

func TMC

func TMC() string

func UC

func UC() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL