kubernetesk8s.io/kubernetes/pkg/apis/extensions/validation Index | Files

package validation

import "k8s.io/kubernetes/pkg/apis/extensions/validation"

Index

Variables

var ValidateIngressName = apimachineryvalidation.NameIsDNSSubdomain

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.

Source Files

validation.go

Version
v1.13.5
Published
Mar 22, 2019
Platform
js/wasm
Imports
8 packages
Last checked
2 minutes ago

Tools for package owners.