validation

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ValidatedStrategyParams

type ValidatedStrategyParams struct {
	ThresholdPriority  int32
	IncludedNamespaces sets.String
	ExcludedNamespaces sets.String
	LabelSelector      labels.Selector
	NodeFit            bool
}

ValidatedStrategyParams contains validated common strategy parameters

func DefaultValidatedStrategyParams added in v0.22.1

func DefaultValidatedStrategyParams() ValidatedStrategyParams

func ValidateAndParseStrategyParams

func ValidateAndParseStrategyParams(
	ctx context.Context,
	client clientset.Interface,
	params *api.StrategyParameters,
) (*ValidatedStrategyParams, error)

Jump to

Keyboard shortcuts

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