Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAdmissionPluginSupported ¶
IsAdmissionPluginSupported returns true if the given admission plugin is supported for the given Kubernetes version. An admission plugin is only supported if it's a known admission plugin and its version range contains the given Kubernetes version.
func ValidateAdmissionPlugins ¶
func ValidateAdmissionPlugins(admissionPlugins []core.AdmissionPlugin, version string, fldPath *field.Path) field.ErrorList
ValidateAdmissionPlugins validates the given Kubernetes admission plugins against the given Kubernetes version.
Types ¶
type AdmissionPluginVersionRange ¶
type AdmissionPluginVersionRange struct { Forbidden bool Required bool versionutils.VersionRange }
AdmissionPluginVersionRange represents a version range of type [AddedInVersion, RemovedInVersion).
Click to show internal directories.
Click to hide internal directories.