output

package
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateExcel added in v1.0.2

func GenerateExcel(resultData *kubeeyev1alpha2.InspectResult, nodes *corev1.NodeList, pods *corev1.PodList) error

func GenerateHtml added in v1.0.3

func GenerateHtml(resultName string) error

func GetAbnormalPods added in v1.0.2

func GetAbnormalPods(result *corev1.PodList) (podList []renderNode)

func GetCommand added in v1.0.2

func GetCommand(commandResult []v1alpha2.CommandResultItem) []renderNode

func GetFileChange added in v1.0.2

func GetFileChange(fileChange []v1alpha2.FileChangeResultItem) []renderNode

func GetFileFilter added in v1.0.2

func GetFileFilter(fileResult []v1alpha2.FileChangeResultItem) []renderNode

func GetNodeInfo added in v1.0.2

func GetNodeInfo(nodeInfo []v1alpha2.NodeInfoResultItem) []renderNode

func GetNodesStatus added in v1.0.2

func GetNodesStatus(result *corev1.NodeList) (nodeList []renderNode)

func GetOpaList added in v1.0.2

func GetOpaList(result []v1alpha2.ResourceResult) (opaList []renderNode)

func GetPrometheus added in v1.0.2

func GetPrometheus(pro []v1alpha2.PrometheusResult) []renderNode

func GetServiceConnect added in v1.0.2

func GetServiceConnect(component []v1alpha2.ServiceConnectResultItem) []renderNode

func GetSysctl added in v1.0.2

func GetSysctl(sysctlResult []v1alpha2.NodeMetricsResultItem) []renderNode

func GetSystemd added in v1.0.2

func GetSystemd(systemdResult []v1alpha2.NodeMetricsResultItem) []renderNode

func HtmlOut

func HtmlOut(resultName string) (error, map[string]interface{})

func OverviewCount

func OverviewCount(metric map[string][]map[string]string, com []kubeeyev1alpha2.ComponentResultItem) map[string]int

func ParseApiStatus

func ParseApiStatus(result *kubeeyev1alpha2.InspectResult) map[string]string

func ParseCustomizedStruct

func ParseCustomizedStruct(ctx context.Context, client *kube.KubernetesClient, data *kubeeyev1alpha2.InspectResult) map[string]interface{}

func ParseFileName

func ParseFileName(p string, defaultFileName string) string

func ParseNodeStatus added in v1.0.3

func ParseNodeStatus(nodes []v1.Node) map[string]int

func ParseOtherMetric

func ParseOtherMetric(result *kubeeyev1alpha2.InspectResult) map[string][]map[string]string

func ParsePrometheusData added in v1.0.3

func ParsePrometheusData(data *kubeeyev1alpha2.InspectResult) map[string]interface{}

func ParseResources

func ParseResources(result *kubeeyev1alpha2.InspectResult) map[string]map[string]float64

func ParseResourcesTop

func ParseResourcesTop(result *kubeeyev1alpha2.InspectResult) map[string]map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL