utils

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 6 Imported by: 6

Documentation

Index

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 IsSeedUsedByShoot added in v1.10.0

func IsSeedUsedByShoot(seedName string, shoots []*core.Shoot) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL