Documentation
¶
Index ¶
- Constants
- Variables
- func GetBandwidth() int64
- func GetCPUUse() float64
- func GetData(r *http.Request) map[string]string
- func GetDelay() int64
- func GetErrorRate() float64
- func GetLiveness() bool
- func GetReadiness() bool
- func RenderBuildData() string
- func RenderSessionData() string
- func SetBandwidth(b int64)
- func SetCPUUse(c float64)
- func SetDelay(d int64)
- func SetErrorRate(e float64)
- func SetLiveness(l bool)
- func SetReadiness(r bool)
- type Settings
Constants ¶
View Source
const Binary = "badpod"
Variables ¶
View Source
var ( Version string GitCommit string BuildTime string )
Functions ¶
func GetBandwidth ¶
func GetBandwidth() int64
func GetErrorRate ¶
func GetErrorRate() float64
func GetLiveness ¶
func GetLiveness() bool
func GetReadiness ¶
func GetReadiness() bool
func SetBandwidth ¶
func SetBandwidth(b int64)
func SetErrorRate ¶
func SetErrorRate(e float64)
func SetLiveness ¶
func SetLiveness(l bool)
func SetReadiness ¶
func SetReadiness(r bool)
Types ¶
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
func NewSettings ¶
func NewSettings() *Settings
Click to show internal directories.
Click to hide internal directories.