Documentation ¶
Index ¶
- func ClaimCpuSum(cluster types.ClusterStat) (result int64)
- func ClaimMemSum(cluster types.ClusterStat) (result int64)
- func CountNodes(data *types.ClusterData) int
- func CountNs(data *types.ClusterData) int
- func CpuNodes(data *types.ClusterData) (result int64)
- func CpuRequestSumByNS(pods []v1.Pod, ns v1.Namespace) (result int64)
- func CpuUsageByNS(podsMetric []v1beta1.PodMetrics, ns v1.Namespace) (result int64)
- func MemNodes(data *types.ClusterData) (result int64)
- func MemRequestSumByNS(pods []v1.Pod, ns v1.Namespace) (result int64)
- func MemUsageByNS(podsMetric []v1beta1.PodMetrics, ns v1.Namespace) (result int64)
- func PodCountByNS(pods []v1.Pod, ns v1.Namespace) int
- func PodsSum(cluster types.ClusterStat) (result int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClaimCpuSum ¶
func ClaimCpuSum(cluster types.ClusterStat) (result int64)
func ClaimMemSum ¶
func ClaimMemSum(cluster types.ClusterStat) (result int64)
func CountNodes ¶
func CountNodes(data *types.ClusterData) int
func CountNs ¶
func CountNs(data *types.ClusterData) int
func CpuNodes ¶
func CpuNodes(data *types.ClusterData) (result int64)
func CpuUsageByNS ¶
func CpuUsageByNS(podsMetric []v1beta1.PodMetrics, ns v1.Namespace) (result int64)
func MemNodes ¶
func MemNodes(data *types.ClusterData) (result int64)
func MemUsageByNS ¶
func MemUsageByNS(podsMetric []v1beta1.PodMetrics, ns v1.Namespace) (result int64)
func PodsSum ¶
func PodsSum(cluster types.ClusterStat) (result int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.