kubernetes: k8s.io/kubernetes/pkg/apis/networking/validation Index | Files

package validation

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

Index

Package Files

conditional_validation.go validation.go

Variables

var ValidateIngressName = apimachineryvalidation.NameIsDNSSubdomain

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

func ValidateConditionalNetworkPolicy Uses

func ValidateConditionalNetworkPolicy(np, oldNP *networking.NetworkPolicy) field.ErrorList

ValidateConditionalNetworkPolicy validates conditionally valid fields.

func ValidateIPBlock Uses

func ValidateIPBlock(ipb *networking.IPBlock, fldPath *field.Path) field.ErrorList

ValidateIPBlock validates a cidr and the except fields of an IpBlock NetworkPolicyPeer

func ValidateIngress Uses

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

ValidateIngress tests if required fields in the Ingress are set.

func ValidateIngressSpec Uses

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

ValidateIngressSpec tests if required fields in the IngressSpec are set.

func ValidateIngressStatusUpdate Uses

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

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

func ValidateIngressUpdate Uses

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

ValidateIngressUpdate tests if required fields in the Ingress are set.

func ValidateNetworkPolicy Uses

func ValidateNetworkPolicy(np *networking.NetworkPolicy) field.ErrorList

ValidateNetworkPolicy validates a networkpolicy.

func ValidateNetworkPolicyName Uses

func ValidateNetworkPolicyName(name string, prefix bool) []string

ValidateNetworkPolicyName can be used to check whether the given networkpolicy name is valid.

func ValidateNetworkPolicyPeer Uses

func ValidateNetworkPolicyPeer(peer *networking.NetworkPolicyPeer, peerPath *field.Path) field.ErrorList

ValidateNetworkPolicyPeer validates a NetworkPolicyPeer

func ValidateNetworkPolicyPort Uses

func ValidateNetworkPolicyPort(port *networking.NetworkPolicyPort, portPath *field.Path) field.ErrorList

ValidateNetworkPolicyPort validates a NetworkPolicyPort

func ValidateNetworkPolicySpec Uses

func ValidateNetworkPolicySpec(spec *networking.NetworkPolicySpec, fldPath *field.Path) field.ErrorList

ValidateNetworkPolicySpec tests if required fields in the networkpolicy spec are set.

func ValidateNetworkPolicyUpdate Uses

func ValidateNetworkPolicyUpdate(update, old *networking.NetworkPolicy) field.ErrorList

ValidateNetworkPolicyUpdate tests if an update to a NetworkPolicy is valid.

Package validation imports 14 packages (graph) and is imported by 2 packages. Updated 2019-06-13. Refresh now. Tools for package owners.