Documentation ¶
Overview ¶
Package component get client
Index ¶
Constants ¶
View Source
const (
// BKAPIRequestIDHeader 蓝鲸网关的请求ID
BKAPIRequestIDHeader = "X-Bkapi-Request-Id"
)
Variables ¶
This section is empty.
Functions ¶
func GetBKAPIAuthorization ¶
GetBKAPIAuthorization generate bk api auth header, X-Bkapi-Authorization
func GetNoTraceClient ¶
GetNoTraceClient 监控平台使用 trace id 做了缓存,在并发情况下,相同 trace id 的请求数据可能相同,导致数据不准确, 这种情况不传递 trace id,待监控平台解决后,再传递 trace id
func UnmarshalBKResult ¶
UnmarshalBKResult 反序列化为蓝鲸返回规范
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package bcs 集群操作
|
Package bcs 集群操作 |
Package bcsmonitor monitor query
|
Package bcsmonitor monitor query |
Package bklog log
|
Package bklog log |
Package bkmonitor bk_monitor query
|
Package bkmonitor bk_monitor query |
Package iam client
|
Package iam client |
Package k8sclient get k8s client
|
Package k8sclient get k8s client |
Package promclient prom client
|
Package promclient prom client |
Package suanliclient suanli client
|
Package suanliclient suanli client |
Click to show internal directories.
Click to hide internal directories.