# Functions
ConfigClient return a client with the correct configuration Returns configuration if Kiali is in Cluster when InCluster is true Returns configuration if Kiali is not int Cluster when InCluster is false It returns an error on any problem.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FilterPodsForEndpoints performs a second pass was selector may return too many data This case happens when a "nil" selector (such as one of default/kubernetes service) is used.
No description provided by the author
FilterPodsForService returns a subpart of pod list filtered according service selector.
No description provided by the author
GatewayNames extracts the gateway names for easier matching.
GetClientFactory returns the client factory.
No description provided by the author
No description provided by the author
No description provided by the author
NewClientFromConfig creates a new client to the Kubernetes and Istio APIs.
NewKialiMonitoringClient creates a new client able to fetch Kiali Monitoring API.
NewNotFound is a helper method to create a NotFound error similar as used by the kubernetes client.
ParseHost takes as an input a hostname (simple or full FQDN), namespace and clusterName and returns a parsed Host struct.
No description provided by the author
No description provided by the author
ServiceEntryHostnames returns a list of hostnames defined in the ServiceEntries Specs.
ValidaPort parses the Istio Port definition and validates the naming scheme.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
GenericIstioObject is a type to test Istio types defined by Istio as a Kubernetes extension.
GenericIstioObjectList is the generic Kubernetes API list wrapper.
Host represents the FQDN format for Istio hostnames.
IstioClient is the client struct for Kubernetes and Istio APIs It hides the way it queries each API.
IstioDetails is a wrapper to group all Istio objects related to a Service.
KialiMonitoringClient is the client struct for Kiali Monitoring API over Kubernetes API to get MonitoringDashboards.
MTLSDetails is a wrapper to group all Istio objects related to non-local mTLS configurations.
No description provided by the author
RBACDetails is a wrapper for objects related to Istio RBAC (Role Based Access Control).
ServiceDetails is a wrapper to group full Service description, Endpoints and Pods.
ServiceList holds list of services, pods and deployments.
# Interfaces
ClientFactory interface for the clientFactory object.
IstioClientInterface for mocks (only mocked function are necessary here).
IstioObject is a k8s wrapper interface for config objects.
IstioObjectList is a k8s wrapper interface for list config objects.
KialiMonitoringInterface for mocks (only mocked function are necessary here).