Documentation ¶
Overview ¶
status is a simple package for offering up various status information from Kiali.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IstioEnvironment ¶ added in v1.40.0
type IstioEnvironment struct { // Is api enabled IstioAPIEnabled bool `json:"istioAPIEnabled"` }
IstioEnvironment describes the Istio implementation environment
type StatusInfo ¶
type StatusInfo struct { // The state of Kiali // A hash of key,values with versions of Kiali and state // // required: true Status map[string]string `json:"status"` // An array of external services installed // // required: true // swagger:allOf ExternalServices []models.ExternalServiceInfo `json:"externalServices"` // An array of warningMessages. CAUTION: Please read the doc comments the in AddWarningMessages func. // items.example: Istio version 0.7.1 is not supported, the version should be 0.8.0 // swagger:allOf WarningMessages []string `json:"warningMessages"` // Information about the Istio implementation environment // // required: true IstioEnvironment *IstioEnvironment `json:"istioEnvironment"` }
StatusInfo statusInfo This is used for returning a response of Kiali Status swagger:model StatusInfo
func Get ¶
func Get(ctx context.Context, conf *config.Config, clientFactory kubernetes.ClientFactory, cache cache.KialiCache, grafana *grafana.Service) StatusInfo
Get returns a copy of the current status info.
Click to show internal directories.
Click to hide internal directories.