Documentation ¶
Index ¶
Constants ¶
View Source
const (
// GB is a conversion value from GB to Bytes.
GB = 1024 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func MutateCluster ¶
func MutateCluster(cluster *clusterapis.Cluster)
MutateCluster mutates required fields of the Cluster.
func MutateClusterTaints ¶
MutateClusterTaints add TimeAdded field for cluster NoExecute taints only if TimeAdded not set.
func SetDefaultClusterResourceModels ¶
func SetDefaultClusterResourceModels(cluster *clusterapis.Cluster)
SetDefaultClusterResourceModels set default cluster resource models for cluster.
func StandardizeClusterResourceModels ¶
func StandardizeClusterResourceModels(models []clusterapis.ResourceModel)
StandardizeClusterResourceModels set cluster resource models for given order and boundary value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.