utils

package
v0.0.0-...-1764fb8 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 9 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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