Versions in this module Expand all Collapse all v0 v0.1.6 Oct 10, 2021 v0.1.5 Apr 18, 2021 Changes in this version + func DisplayClusterSizeData(clusterSizeData ClusterSizeData, displayHeaders bool, displayFormat string) + type ClusterSizeData struct + ClusterRole int + ClusterRoleBinding int + Configmap int + Container int + CronJob int + Daemonset int + Deployment int + EndPoints int + Event int + Ingress int + Job int + LimitRange int + Namespace int + NetworkPolicy int + Node int + PersistentVolume int + PersistentVolumeClaim int + Pod int + PodDisruptionBudget int + PodSecurityPolicy int + ReplicaController int + ReplicaSet int + ResourceQuota int + Role int + RoleBinding int + Secret int + Service int + ServiceAccount int + StatefulSet int + StorageClass int + VolumeAttachment int v0.1.4 Apr 3, 2021 v0.1.3 Feb 14, 2021 Changes in this version type ClusterCapacityData + TotalAllocatableEphemeralStorage resource.Quantity + TotalAllocatableEphemeralStorageGB float64 + TotalAvailableEphemeralStorage resource.Quantity + TotalAvailableEphemeralStorageGB float64 + TotalCapacityEphemeralStorage resource.Quantity + TotalCapacityEphemeralStorageGB float64 + TotalLimitsEphemeralStorage resource.Quantity + TotalLimitsEphemeralStorageGB float64 + TotalRequestsEphemeralStorage resource.Quantity + TotalRequestsEphemeralStorageGB float64 type NamespaceCapacityData + TotalLimitsEphemeralStorage resource.Quantity + TotalLimitsEphemeralStorageGB float64 + TotalRequestsEphemeralStorage resource.Quantity + TotalRequestsEphemeralStorageGB float64 type NodeCapacityData + TotalAllocatableEphemeralStorage resource.Quantity + TotalAllocatableEphemeralStorageGB float64 + TotalAvailableEphemeralStorage resource.Quantity + TotalAvailableEphemeralStorageGB float64 + TotalCapacityEphemeralStorage resource.Quantity + TotalCapacityEphemeralStorageGB float64 + TotalLimitsEphemeralStorage resource.Quantity + TotalLimitsEphemeralStorageGB float64 + TotalRequestsEphemeralStorage resource.Quantity + TotalRequestsEphemeralStorageGB float64 v0.1.2 Jan 27, 2021 v0.1.1 Jan 23, 2021 v0.1.0 Jan 23, 2021 Changes in this version + func DisplayClusterData(clusterCapacityData ClusterCapacityData, displayDefault bool, ...) + func DisplayNamespaceData(namespaceCapacityData map[string]*NamespaceCapacityData, ...) + func DisplayNodeData(nodesCapacityData map[string]*NodeCapacityData, sortedNodeNames []string, ...) + func DisplayNodeRoleData(nodeRoleCapacityData map[string]*ClusterCapacityData, sortedRoleNames []string, ...) + func ValidateOutput(cmd cobra.Command) error + type ClusterCapacityData struct + TotalAllocatableCPU resource.Quantity + TotalAllocatableCPUCores float64 + TotalAllocatableMemory resource.Quantity + TotalAllocatableMemoryGiB float64 + TotalAllocatablePods resource.Quantity + TotalAvailableCPU resource.Quantity + TotalAvailableCPUCores float64 + TotalAvailableMemory resource.Quantity + TotalAvailableMemoryGiB float64 + TotalAvailablePods int + TotalCapacityCPU resource.Quantity + TotalCapacityCPUCores float64 + TotalCapacityMemory resource.Quantity + TotalCapacityMemoryGiB float64 + TotalCapacityPods resource.Quantity + TotalLimitsCPU resource.Quantity + TotalLimitsCPUCores float64 + TotalLimitsMemory resource.Quantity + TotalLimitsMemoryGiB float64 + TotalNodeCount int + TotalNonTermPodCount int + TotalPodCount int + TotalReadyNodeCount int + TotalRequestsCPU resource.Quantity + TotalRequestsCPUCores float64 + TotalRequestsMemory resource.Quantity + TotalRequestsMemoryGiB float64 + TotalUnreadyNodeCount int + TotalUnschedulableNodeCount int + type NamespaceCapacityData struct + TotalLimitsCPU resource.Quantity + TotalLimitsCPUCores float64 + TotalLimitsMemory resource.Quantity + TotalLimitsMemoryGiB float64 + TotalNonTermPodCount int + TotalPodCount int + TotalRequestsCPU resource.Quantity + TotalRequestsCPUCores float64 + TotalRequestsMemory resource.Quantity + TotalRequestsMemoryGiB float64 + TotalUnassignedNodePodCount int + type NodeCapacityData struct + Ready bool + Roles sets.String + Schedulable bool + TotalAllocatableCPU resource.Quantity + TotalAllocatableCPUCores float64 + TotalAllocatableMemory resource.Quantity + TotalAllocatableMemoryGiB float64 + TotalAllocatablePods resource.Quantity + TotalAvailableCPU resource.Quantity + TotalAvailableCPUCores float64 + TotalAvailableMemory resource.Quantity + TotalAvailableMemoryGiB float64 + TotalAvailablePods int + TotalCapacityCPU resource.Quantity + TotalCapacityCPUCores float64 + TotalCapacityMemory resource.Quantity + TotalCapacityMemoryGiB float64 + TotalCapacityPods resource.Quantity + TotalLimitsCPU resource.Quantity + TotalLimitsCPUCores float64 + TotalLimitsMemory resource.Quantity + TotalLimitsMemoryGiB float64 + TotalNonTermPodCount int + TotalPodCount int + TotalRequestsCPU resource.Quantity + TotalRequestsCPUCores float64 + TotalRequestsMemory resource.Quantity + TotalRequestsMemoryGiB float64