Documentation ¶
Index ¶
- func GetProject(namespace string, projectLister corelisters.ProjectLister) (*core.Project, error)
- func IsSeedUsedByBackupBucket(seedName string, backupbuckets []*core.BackupBucket) bool
- func IsSeedUsedByShoot(seedName string, shoots []*core.Shoot) bool
- func SkipVerification(operation admission.Operation, metadata metav1.ObjectMeta) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProject ¶
func GetProject(namespace string, projectLister corelisters.ProjectLister) (*core.Project, error)
GetProject retrieves the project with the corresponding namespace
func IsSeedUsedByBackupBucket ¶ added in v1.10.0
func IsSeedUsedByBackupBucket(seedName string, backupbuckets []*core.BackupBucket) bool
IsSeedUsedByBackupBucket checks whether there is a backupbucket refering the provided seed name
func IsSeedUsedByShoot ¶ added in v1.10.0
IsSeedUsedByShoot checks whether there is a shoot cluster refering the provided seed name
func SkipVerification ¶
func SkipVerification(operation admission.Operation, metadata metav1.ObjectMeta) bool
SkipVerification is a common function to skip object verification during admission
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.