Documentation ¶
Index ¶
- func ValidateDefaultPreemptionArgs(path *field.Path, args *config.DefaultPreemptionArgs) error
- func ValidateInterPodAffinityArgs(path *field.Path, args *config.InterPodAffinityArgs) error
- func ValidateKubeSchedulerConfiguration(cc *config.KubeSchedulerConfiguration) utilerrors.Aggregate
- func ValidateNodeAffinityArgs(path *field.Path, args *config.NodeAffinityArgs) error
- func ValidateNodeResourcesBalancedAllocationArgs(path *field.Path, args *config.NodeResourcesBalancedAllocationArgs) error
- func ValidateNodeResourcesFitArgs(path *field.Path, args *config.NodeResourcesFitArgs) error
- func ValidatePodTopologySpreadArgs(path *field.Path, args *config.PodTopologySpreadArgs) error
- func ValidateVolumeBindingArgs(path *field.Path, args *config.VolumeBindingArgs) error
- func ValidateVolumeBindingArgsWithOptions(path *field.Path, args *config.VolumeBindingArgs, ...) error
- type VolumeBindingArgsValidationOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDefaultPreemptionArgs ¶ added in v1.20.0
func ValidateDefaultPreemptionArgs(path *field.Path, args *config.DefaultPreemptionArgs) error
ValidateDefaultPreemptionArgs validates that DefaultPreemptionArgs are correct.
func ValidateInterPodAffinityArgs ¶ added in v1.19.0
func ValidateInterPodAffinityArgs(path *field.Path, args *config.InterPodAffinityArgs) error
ValidateInterPodAffinityArgs validates that InterPodAffinityArgs are correct.
func ValidateKubeSchedulerConfiguration ¶
func ValidateKubeSchedulerConfiguration(cc *config.KubeSchedulerConfiguration) utilerrors.Aggregate
ValidateKubeSchedulerConfiguration ensures validation of the KubeSchedulerConfiguration struct
func ValidateNodeAffinityArgs ¶ added in v1.20.0
func ValidateNodeAffinityArgs(path *field.Path, args *config.NodeAffinityArgs) error
ValidateNodeAffinityArgs validates that NodeAffinityArgs are correct.
func ValidateNodeResourcesBalancedAllocationArgs ¶ added in v1.22.0
func ValidateNodeResourcesBalancedAllocationArgs(path *field.Path, args *config.NodeResourcesBalancedAllocationArgs) error
ValidateNodeResourcesBalancedAllocationArgs validates that NodeResourcesBalancedAllocationArgs are set correctly.
func ValidateNodeResourcesFitArgs ¶ added in v1.22.0
func ValidateNodeResourcesFitArgs(path *field.Path, args *config.NodeResourcesFitArgs) error
func ValidatePodTopologySpreadArgs ¶ added in v1.19.0
func ValidatePodTopologySpreadArgs(path *field.Path, args *config.PodTopologySpreadArgs) error
ValidatePodTopologySpreadArgs validates that PodTopologySpreadArgs are correct. It replicates the validation from pkg/apis/core/validation.validateTopologySpreadConstraints with an additional check for .labelSelector to be nil.
func ValidateVolumeBindingArgs ¶ added in v1.21.0
func ValidateVolumeBindingArgs(path *field.Path, args *config.VolumeBindingArgs) error
ValidateVolumeBindingArgs validates that VolumeBindingArgs are set correctly.
func ValidateVolumeBindingArgsWithOptions ¶ added in v1.23.0
func ValidateVolumeBindingArgsWithOptions(path *field.Path, args *config.VolumeBindingArgs, opts VolumeBindingArgsValidationOptions) error
ValidateVolumeBindingArgs validates that VolumeBindingArgs with scheduler features.
Types ¶
type VolumeBindingArgsValidationOptions ¶ added in v1.23.0
type VolumeBindingArgsValidationOptions struct {
AllowVolumeCapacityPriority bool
}
VolumeBindingArgsValidationOptions contains the different settings for validation.