Discover Packages
github.com/Tencent/bk-bcs
bcs-services
bcs-metricservice
pkg
health
package
Version:
v0.20.6
Opens a new window with list of versions in this module.
Published: Feb 1, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
StorageKey = "storage"
ApiKey = "api"
)
func SetUnhealthy(key string , message interface{})
type BcsHealthIf struct {
Code int `json:"code"`
OK bool `json:"ok"`
Data healthStatus `json:"data"`
Message string `json:"message"`
CurrentRole metric .RoleType `json:"currentRole"`
}
healthZ interface
type SubStatus struct {
OK bool `json:"ok"`
Message string `json:"message"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.