Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvironmentDocker = "docker" EnvironmentKubernetes = "kubernetes" EnvironmentBareMetal = "bare_metal" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { Hostname string `json:"hostname"` DocumentationURL string `json:"documentationUrl"` Login settingsTY.Login `json:"login"` StartTime time.Time `json:"startTime"` ServerTime time.Time `json:"serverTime"` Uptime uint64 `json:"uptime"` // in milliseconds MetricsDBDisabled bool `json:"metricsDBDisabled"` Language string `json:"language"` }
type StatusAPI ¶
type StatusAPI struct {
// contains filtered or unexported fields
}
func (*StatusAPI) GetMinimal ¶
GetMinimal returns limited fields, can be used under status rest api (login not required)
Click to show internal directories.
Click to hide internal directories.