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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.