Documentation ¶
Index ¶
- Constants
- func CreateNodeDrainGracePeriodBuilder(nodeDrainGracePeriod string) (*cmv1.ValueBuilder, error)
- func GetAwsTags(cmd *cobra.Command, r *rosa.Runtime, inputTags []string) map[string]string
- func GetLabelMap(cmd *cobra.Command, r *rosa.Runtime, existingLabels map[string]string, ...) map[string]string
- func GetTaints(cmd *cobra.Command, r *rosa.Runtime, existingTaints []*cmv1.Taint, ...) []*cmv1.TaintBuilder
- func HostedClusterOnlyFlag(r *rosa.Runtime, cmd *cobra.Command, flagName string)
- func LabelValidator(val interface{}) error
- func ParseLabels(labels string) (map[string]string, error)
- func ParseTaints(taints string) ([]*cmv1.TaintBuilder, error)
- func ValidateKeyValuePair(key, value string, resourceName string) error
- func ValidateLabelKeyValuePair(key, value string) error
- func ValidateNodeDrainGracePeriod(val interface{}) error
- func ValidateTaintKeyValuePair(key, value string) error
- func ValidateUpgradeMaxSurgeUnavailable(val interface{}) error
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 GetLabelMap ¶ added in v1.2.17
func HostedClusterOnlyFlag ¶ added in v1.2.18
func LabelValidator ¶ added in v1.2.17
func LabelValidator(val interface{}) error
func ParseTaints ¶ added in v1.2.17
func ParseTaints(taints string) ([]*cmv1.TaintBuilder, error)
func ValidateKeyValuePair ¶ added in v1.2.38
func ValidateLabelKeyValuePair ¶ added in v1.2.17
func ValidateNodeDrainGracePeriod ¶ added in v1.2.38
func ValidateNodeDrainGracePeriod(val interface{}) error
func ValidateTaintKeyValuePair ¶ added in v1.2.38
func ValidateUpgradeMaxSurgeUnavailable ¶ added in v1.2.42
func ValidateUpgradeMaxSurgeUnavailable(val interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.