validation

package
v1.2.0-alpha.5....-8a98da9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePathNoBacksteps

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