helper

package
v0.0.0-...-be4dc66 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetermineCloudProviderInProfile

func DetermineCloudProviderInProfile(spec garden.CloudProfileSpec) (garden.CloudProvider, error)

DetermineCloudProviderInProfile takes a CloudProfile specification and returns the cloud provider this profile is used for. If it is not able to determine it, an error will be returned.

func DetermineCloudProviderInShoot

func DetermineCloudProviderInShoot(cloudObj garden.Cloud) (garden.CloudProvider, error)

DetermineCloudProviderInShoot takes a Shoot cloud object and returns the cloud provider this profile is used for. If it is not able to determine it, an error will be returned.

func GetCondition

func GetCondition(conditions []garden.Condition, conditionType garden.ConditionType) *garden.Condition

GetCondition returns the condition with the given <conditionType> out of the list of <conditions>. In case the required type could not be found, it returns nil.

func GetK8SNetworks

func GetK8SNetworks(shoot *garden.Shoot) (garden.K8SNetworks, error)

GetK8SNetworks returns the Kubernetes network CIDRs for the Shoot cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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