package validation
import "k8s.io/kubernetes/pkg/apis/resource/structured/namedresources/validation"
Index ¶
- func ValidateAllocationResult(result *resource.NamedResourcesAllocationResult, fldPath *field.Path) field.ErrorList
- func ValidateFilter(opts Options, filter *resource.NamedResourcesFilter, fldPath *field.Path) field.ErrorList
- func ValidateRequest(opts Options, request *resource.NamedResourcesRequest, fldPath *field.Path) field.ErrorList
- func ValidateResources(resources *resource.NamedResourcesResources, fldPath *field.Path) field.ErrorList
- type Options
Functions ¶
func ValidateAllocationResult ¶
func ValidateAllocationResult(result *resource.NamedResourcesAllocationResult, fldPath *field.Path) field.ErrorList
func ValidateFilter ¶
func ValidateFilter(opts Options, filter *resource.NamedResourcesFilter, fldPath *field.Path) field.ErrorList
func ValidateRequest ¶
func ValidateRequest(opts Options, request *resource.NamedResourcesRequest, fldPath *field.Path) field.ErrorList
func ValidateResources ¶
func ValidateResources(resources *resource.NamedResourcesResources, fldPath *field.Path) field.ErrorList
Types ¶
type Options ¶
type Options struct { // StoredExpressions must be true if and only if validating CEL // expressions that were already stored persistently. This makes // validation more permissive by enabling CEL definitions that are not // valid yet for new expressions. StoredExpressions bool }
Source Files ¶
validation.go
- Version
- v1.30.0-rc.0
- Published
- Mar 26, 2024
- Platform
- js/wasm
- Imports
- 9 packages
- Last checked
- 12 minutes ago –
Tools for package owners.