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

package validation

import "k8s.io/kubernetes/pkg/apis/core/v1/validation"

Index

Package Files

validation.go

func AccumulateUniqueHostPorts Uses

func AccumulateUniqueHostPorts(containers []v1.Container, accumulator *sets.String, fldPath *field.Path) field.ErrorList

func ValidateNonnegativeQuantity Uses

func ValidateNonnegativeQuantity(value resource.Quantity, fldPath *field.Path) field.ErrorList

Validates that a Quantity is not negative

func ValidatePodLogOptions Uses

func ValidatePodLogOptions(opts *v1.PodLogOptions) field.ErrorList

func ValidateResourceQuantityValue Uses

func ValidateResourceQuantityValue(resource string, value resource.Quantity, fldPath *field.Path) field.ErrorList

ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource

func ValidateResourceRequirements Uses

func ValidateResourceRequirements(requirements *v1.ResourceRequirements, fldPath *field.Path) field.ErrorList

Package validation imports 9 packages (graph) and is imported by 2 packages. Updated 2018-07-27. Refresh now. Tools for package owners.