Documentation ¶
Index ¶
- func AppDetails(w http.ResponseWriter, r *http.Request)
- func AppHealth(w http.ResponseWriter, r *http.Request)
- func AppList(w http.ResponseWriter, r *http.Request)
- func AppMetrics(w http.ResponseWriter, r *http.Request)
- func Config(w http.ResponseWriter, r *http.Request)
- func GetGrafanaInfo(w http.ResponseWriter, r *http.Request)
- func GetJaegerInfo(w http.ResponseWriter, r *http.Request)
- func GetToken(w http.ResponseWriter, r *http.Request)
- func GraphNamespaces(w http.ResponseWriter, r *http.Request)
- func GraphNode(w http.ResponseWriter, r *http.Request)
- func IstioConfigDelete(w http.ResponseWriter, r *http.Request)
- func IstioConfigDetails(w http.ResponseWriter, r *http.Request)
- func IstioConfigList(w http.ResponseWriter, r *http.Request)
- func IstioConfigValidations(w http.ResponseWriter, r *http.Request)
- func NamespaceHealth(w http.ResponseWriter, r *http.Request)
- func NamespaceIstioValidations(w http.ResponseWriter, r *http.Request)
- func NamespaceList(w http.ResponseWriter, r *http.Request)
- func NamespaceMetrics(w http.ResponseWriter, r *http.Request)
- func RespondWithError(w http.ResponseWriter, code int, message string)
- func RespondWithJSON(w http.ResponseWriter, code int, payload interface{})
- func RespondWithJSONIndent(w http.ResponseWriter, code int, payload interface{})
- func Root(w http.ResponseWriter, r *http.Request)
- func ServiceDetails(w http.ResponseWriter, r *http.Request)
- func ServiceHealth(w http.ResponseWriter, r *http.Request)
- func ServiceIstioValidations(w http.ResponseWriter, r *http.Request)
- func ServiceList(w http.ResponseWriter, r *http.Request)
- func ServiceMetrics(w http.ResponseWriter, r *http.Request)
- func WorkloadDetails(w http.ResponseWriter, r *http.Request)
- func WorkloadHealth(w http.ResponseWriter, r *http.Request)
- func WorkloadList(w http.ResponseWriter, r *http.Request)
- func WorkloadMetrics(w http.ResponseWriter, r *http.Request)
- type PublicConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppDetails ¶ added in v0.7.0
func AppDetails(w http.ResponseWriter, r *http.Request)
AppDetails is the API handler to fetch all details to be displayed, related to a single app
func AppHealth ¶ added in v0.6.0
func AppHealth(w http.ResponseWriter, r *http.Request)
AppHealth is the API handler to get health of a single app
func AppList ¶ added in v0.7.0
func AppList(w http.ResponseWriter, r *http.Request)
AppList is the API handler to fetch all the apps to be displayed, related to a single namespace
func AppMetrics ¶ added in v0.6.0
func AppMetrics(w http.ResponseWriter, r *http.Request)
AppMetrics is the API handler to fetch metrics to be displayed, related to an app-label grouping
func Config ¶ added in v0.10.0
func Config(w http.ResponseWriter, r *http.Request)
GraphNamespace is a REST http.HandlerFunc handling namespace-wide graph config generation.
func GetGrafanaInfo ¶
func GetGrafanaInfo(w http.ResponseWriter, r *http.Request)
GetGrafanaInfo provides the Grafana URL and other info, first by checking if a config exists then (if not) by inspecting the Kubernetes Grafana service in namespace istio-system
func GetJaegerInfo ¶
func GetJaegerInfo(w http.ResponseWriter, r *http.Request)
Get JaegerInfo provides the proxy Jaeger URL
func GraphNamespaces ¶ added in v0.10.0
func GraphNamespaces(w http.ResponseWriter, r *http.Request)
GraphNamespaces is a REST http.HandlerFunc handling graph generation for 1 or more namespaces
func GraphNode ¶ added in v0.8.0
func GraphNode(w http.ResponseWriter, r *http.Request)
GraphNode is a REST http.HandlerFunc handling node-detail graph config generation.
func IstioConfigDelete ¶ added in v0.9.1
func IstioConfigDelete(w http.ResponseWriter, r *http.Request)
func IstioConfigDetails ¶
func IstioConfigDetails(w http.ResponseWriter, r *http.Request)
func IstioConfigList ¶
func IstioConfigList(w http.ResponseWriter, r *http.Request)
func IstioConfigValidations ¶
func IstioConfigValidations(w http.ResponseWriter, r *http.Request)
func NamespaceHealth ¶
func NamespaceHealth(w http.ResponseWriter, r *http.Request)
NamespaceHealth is the API handler to get app-based health of every services in the given namespace
func NamespaceIstioValidations ¶
func NamespaceIstioValidations(w http.ResponseWriter, r *http.Request)
NamespaceIstioValidations is the API handler to get istio validations of a given namespace
func NamespaceList ¶
func NamespaceList(w http.ResponseWriter, r *http.Request)
func NamespaceMetrics ¶
func NamespaceMetrics(w http.ResponseWriter, r *http.Request)
NamespaceMetrics is the API handler to fetch metrics to be displayed, related to all services in the namespace
func RespondWithError ¶
func RespondWithError(w http.ResponseWriter, code int, message string)
func RespondWithJSON ¶
func RespondWithJSON(w http.ResponseWriter, code int, payload interface{})
func RespondWithJSONIndent ¶
func RespondWithJSONIndent(w http.ResponseWriter, code int, payload interface{})
func ServiceDetails ¶
func ServiceDetails(w http.ResponseWriter, r *http.Request)
ServiceDetails is the API handler to fetch full details of an specific service
func ServiceHealth ¶
func ServiceHealth(w http.ResponseWriter, r *http.Request)
ServiceHealth is the API handler to get health of a single service
func ServiceIstioValidations ¶
func ServiceIstioValidations(w http.ResponseWriter, r *http.Request)
ServiceIstioValidations is the API handler to get istio validations of a single service that returns an IstioValidation object which contains for each object type one validation per each detected object in the current cluster that have an error/warning in its configuration.
func ServiceList ¶
func ServiceList(w http.ResponseWriter, r *http.Request)
ServiceList is the API handler to fetch the list of services in a given namespace
func ServiceMetrics ¶
func ServiceMetrics(w http.ResponseWriter, r *http.Request)
ServiceMetrics is the API handler to fetch metrics to be displayed, related to a single service
func WorkloadDetails ¶ added in v0.6.0
func WorkloadDetails(w http.ResponseWriter, r *http.Request)
WorkloadDetails is the API handler to fetch all details to be displayed, related to a single workload
func WorkloadHealth ¶ added in v0.6.0
func WorkloadHealth(w http.ResponseWriter, r *http.Request)
WorkloadHealth is the API handler to get health of a single workload
func WorkloadList ¶ added in v0.6.0
func WorkloadList(w http.ResponseWriter, r *http.Request)
WorkloadList is the API handler to fetch all the workloads to be displayed, related to a single namespace
func WorkloadMetrics ¶ added in v0.6.0
func WorkloadMetrics(w http.ResponseWriter, r *http.Request)
WorkloadMetrics is the API handler to fetch metrics to be displayed, related to a single workload
Types ¶
type PublicConfig ¶ added in v0.10.0
type PublicConfig struct { IstioNamespace string `json:"istioNamespace,omitempty"` IstioLabels config.IstioLabels `json:"istioLabels,omitempty"` }
PublicConfig is a subset of Kiali configuration that can be exposed to clients to help them interact with the system.