validation

package
v1.13.1-k3s1 Latest Latest
Warning

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

Go to latest
Published: Jan 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

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