discover

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: AGPL-3.0 Imports: 9 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"
	EnvOps           = "OPS_ADDR"
	EnvOpenapi       = "OPENAPI_ADDR"
	EnvKMS           = "KMS_ADDR"
	EnvQA            = "QA_ADDR"
	EnvAPIM          = "APIM_ADDR"
	EnvTMC           = "TMC_ADDR"
	EnvUC            = "UC_ADDR"
	EnvClusterDialer = "CLUSTER_DIALER_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"
	SvcOps           = "ops"
	SvcOpenapi       = "openapi"
	SvcKMS           = "addon-kms"
	SvcQA            = "qa"
	SvcAPIM          = "apim"
	SvcTMC           = "tmc"
	SvcUC            = "uc"
	SvcClusterDialer = "cluster-dialer"
)

定义各个服务的 k8s svc 名称

Variables

This section is empty.

Functions

func APIM

func APIM() string

func AddOnPlatform

func AddOnPlatform() string

func CMDB

func CMDB() string

func ClusterDialer

func ClusterDialer() string

func Collector

func Collector() string

func DiceHub

func DiceHub() 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 Monitor

func Monitor() string

func Openapi

func Openapi() string

func Ops

func Ops() string

func Orchestrator

func Orchestrator() string

func Pipeline

func Pipeline() string

func QA

func QA() string

func Scheduler

func Scheduler() 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