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

package validation

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

Index

Package Files

validation.go

func ValidatePriorityClass Uses

func ValidatePriorityClass(pc *scheduling.PriorityClass) field.ErrorList

ValidatePriorityClass tests whether required fields in the PriorityClass are set correctly.

func ValidatePriorityClassUpdate Uses

func ValidatePriorityClassUpdate(pc, oldPc *scheduling.PriorityClass) field.ErrorList

ValidatePriorityClassUpdate tests if required fields in the PriorityClass are set and are valid. PriorityClass does not allow updating Name, and Value.

Package validation imports 6 packages (graph) and is imported by 1 packages. Updated 2019-06-09. Refresh now. Tools for package owners.