mutation

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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

func MutateClusterTaints(taints []corev1.Taint)

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.

Jump to

Keyboard shortcuts

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