Documentation ¶
Index ¶
- func BuildKubernetesServiceList(namespace models.Namespace, svcs []core_v1.Service, pods []core_v1.Pod, ...) *models.ServiceList
- func FetchWorkloads(pods []core_v1.Pod, repset []apps_v1.ReplicaSet, dep []apps_v1.Deployment, ...) (models.Workloads, error)
- func GetServiceValidations(services []core_v1.Service, deployments []apps_v1.Deployment, ...) models.IstioValidations
- func ParseWorkload(w *models.Workload) *models.WorkloadListItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildKubernetesServiceList ¶
func BuildKubernetesServiceList(namespace models.Namespace, svcs []core_v1.Service, pods []core_v1.Pod, deployments []apps_v1.Deployment, istioConfigList models.IstioConfigList) *models.ServiceList
COPY FROM KIALI
func FetchWorkloads ¶
func FetchWorkloads(pods []core_v1.Pod, repset []apps_v1.ReplicaSet, dep []apps_v1.Deployment, fulset []apps_v1.StatefulSet, daeset []apps_v1.DaemonSet, namespace, labelSelector string) (models.Workloads, error)
COPY from kiali,有删改
func GetServiceValidations ¶
func GetServiceValidations(services []core_v1.Service, deployments []apps_v1.Deployment, pods []core_v1.Pod) models.IstioValidations
func ParseWorkload ¶
func ParseWorkload(w *models.Workload) *models.WorkloadListItem
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.