Documentation ¶
Index ¶
- func GetProject(namespace string, projectLister gardenlisters.ProjectLister) (*garden.Project, error)
- func SkipVerification(operation admission.Operation, metadata metav1.ObjectMeta) bool
- func ValidateNetworkDisjointedness(seedNetworks garden.SeedNetworks, k8sNetworks gardencore.K8SNetworks, ...) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProject ¶
func GetProject(namespace string, projectLister gardenlisters.ProjectLister) (*garden.Project, error)
GetProject retrieves the project with the corresponding namespace
func SkipVerification ¶
func SkipVerification(operation admission.Operation, metadata metav1.ObjectMeta) bool
SkipVerification is a common function to skip object verification during admission
func ValidateNetworkDisjointedness ¶
func ValidateNetworkDisjointedness(seedNetworks garden.SeedNetworks, k8sNetworks gardencore.K8SNetworks, fldPath *field.Path) field.ErrorList
ValidateNetworkDisjointedness validates that the given <seedNetworks> and <k8sNetworks> are disjoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.