validation

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NodeGroupsError specifies the condition reason when node groups failed to pass validation
	NodeGroupsError = "ValidationErrorUnderNodeGroups"
)

Variables

This section is empty.

Functions

func MachineConfigPoolDuplicates

func MachineConfigPoolDuplicates(mcps []*machineconfigv1.MachineConfigPool) error

MachineConfigPoolDuplicates selected MCPs for duplicates TODO: move it under the validation webhook once we will have one

func NodeGroups

func NodeGroups(nodeGroups []nropv1alpha1.NodeGroup) error

NodeGroups validates the node groups for nil values and duplicates. TODO: move it under the validation webhook once we will have one

Types

This section is empty.

Jump to

Keyboard shortcuts

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