Documentation ¶
Index ¶
Constants ¶
View Source
const ( // These constants are used for external services auth (Prometheus, Grafana ...) ; not for Kiali auth AuthTypeBasic = "basic" AuthTypeBearer = "bearer" AuthTypeNone = "none" )
The valid auth strategies and values for cookie handling
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Type string `yaml:"type"` Username string `yaml:"username"` Password string `yaml:"password"` Token string `yaml:"token"` CAFile string `yaml:"ca_file"` InsecureSkipVerify bool `yaml:"insecure_skip_verify"` }
Auth provides authentication data for external services
type GrafanaConfig ¶
type GrafanaConfig struct { URL string `yaml:"url"` InClusterURL string `yaml:"in_cluster_url"` Auth Auth `yaml:"auth"` }
GrafanaConfig describes configuration of the Grafana component
type PrometheusConfig ¶
PrometheusConfig describes configuration of the Prometheus component
Click to show internal directories.
Click to hide internal directories.