validation

package
v1.31.3 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateStorageVersion

func ValidateStorageVersion(sv *apiserverinternal.StorageVersion) field.ErrorList

ValidateStorageVersion validate the storage version object.

func ValidateStorageVersionName

func ValidateStorageVersionName(name string, prefix bool) []string

ValidateStorageVersionName is a ValidateNameFunc for storage version names

func ValidateStorageVersionStatusUpdate

func ValidateStorageVersionStatusUpdate(sv, oldSV *apiserverinternal.StorageVersion) field.ErrorList

ValidateStorageVersionStatusUpdate tests if an update to a StorageVersionStatus is valid.

func ValidateStorageVersionUpdate

func ValidateStorageVersionUpdate(sv, oldSV *apiserverinternal.StorageVersion) field.ErrorList

ValidateStorageVersionUpdate tests if an update to a StorageVersion is valid.

Types

This section is empty.

Jump to

Keyboard shortcuts

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