validation

package
v0.0.0-...-d88c8b5 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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