Documentation ¶
Index ¶
Constants ¶
View Source
const ( UnknownSize ClusterSize = iota Evaluation Production ProductionClusterCpuThreshold int64 = 5 ProductionClusterMemoryThresholdGi int64 = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterSize ¶
type ClusterSize int
func EvaluateClusterSize ¶
EvaluateClusterSize counts the entire capacity of cpu and memory in the cluster and returns Evaluation if the total capacity of any of the resources is lower than ProductionClusterCpuThreshold or ProductionClusterMemoryThresholdGi
func (ClusterSize) String ¶
func (s ClusterSize) String() string
Click to show internal directories.
Click to hide internal directories.