validation

package
v1.14.9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePathNoBacksteps added in v1.7.0

func ValidatePathNoBacksteps(targetPath string) error

ValidatePathNoBacksteps will make sure the targetPath does not have any element which is ".."

func ValidatePersistentVolume

func ValidatePersistentVolume(pv *api.PersistentVolume) field.ErrorList

ValidatePersistentVolume validates PV object for plugin specific validation We can put here validations which are specific to volume types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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