validation

package
v1.13.3-k3s.3 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 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