package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
AccumulateUniqueHostPorts checks all the containers for duplicates ports.
ValidateContainerResourceName checks the name of resource specified for a container.
ValidateNonnegativeQuantity checks that a Quantity is not negative.
ValidatePodLogOptions checks if options that are set are at the correct value.
ValidateResourceQuantityValue enforces that specified quantity is valid for specified resource.
ValidateResourceRequirements will check if any of the resource Limits/Requests are of a valid value.