machinepools

package
v1.2.45-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxNodeDrainTimeInMinutes = 10080
	MaxNodeDrainTimeInHours   = 168
)

To clear existing labels in interactive mode, the user enters "" as an empty list value

Variables

This section is empty.

Functions

func CreateNodeDrainGracePeriodBuilder added in v1.2.37

func CreateNodeDrainGracePeriodBuilder(nodeDrainGracePeriod string) (*cmv1.ValueBuilder, error)

func GetAwsTags added in v1.2.39

func GetAwsTags(cmd *cobra.Command, r *rosa.Runtime, inputTags []string) map[string]string

func GetLabelMap added in v1.2.17

func GetLabelMap(cmd *cobra.Command, r *rosa.Runtime, existingLabels map[string]string,
	inputLabels string) map[string]string

func GetTaints added in v1.2.17

func GetTaints(cmd *cobra.Command, r *rosa.Runtime, existingTaints []*cmv1.Taint,
	inputTaints string) []*cmv1.TaintBuilder

func HostedClusterOnlyFlag added in v1.2.18

func HostedClusterOnlyFlag(r *rosa.Runtime, cmd *cobra.Command, flagName string)

func LabelValidator added in v1.2.17

func LabelValidator(val interface{}) error

func MaxNodePoolReplicaValidator

func MaxNodePoolReplicaValidator(minReplicas int) interactive.Validator

func MinNodePoolReplicaValidator

func MinNodePoolReplicaValidator(autoscaling bool) interactive.Validator

func ParseLabels added in v1.2.17

func ParseLabels(labels string) (map[string]string, error)

func ParseTaints added in v1.2.17

func ParseTaints(taints string) ([]*cmv1.TaintBuilder, error)

func ValidateKeyValuePair added in v1.2.38

func ValidateKeyValuePair(key, value string, resourceName string) error

func ValidateLabelKeyValuePair added in v1.2.17

func ValidateLabelKeyValuePair(key, value string) error

func ValidateNodeDrainGracePeriod added in v1.2.38

func ValidateNodeDrainGracePeriod(val interface{}) error

func ValidateTaintKeyValuePair added in v1.2.38

func ValidateTaintKeyValuePair(key, value string) error

func ValidateUpgradeMaxSurgeUnavailable added in v1.2.42

func ValidateUpgradeMaxSurgeUnavailable(val interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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