validation

package
v1.13.4-k3s.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ValidateIngressName validates that the given name can be used as an Ingress name.

Functions

func ValidateIngress

func ValidateIngress(ingress *extensions.Ingress) field.ErrorList

ValidateIngress tests if required fields in the Ingress are set.

func ValidateIngressSpec

func ValidateIngressSpec(spec *extensions.IngressSpec, fldPath *field.Path) field.ErrorList

ValidateIngressSpec tests if required fields in the IngressSpec are set.

func ValidateIngressStatusUpdate

func ValidateIngressStatusUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList

ValidateIngressStatusUpdate tests if required fields in the Ingress are set when updating status.

func ValidateIngressUpdate

func ValidateIngressUpdate(ingress, oldIngress *extensions.Ingress) field.ErrorList

ValidateIngressUpdate tests if required fields in the Ingress are set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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