Documentation ¶
Index ¶
- func DetermineCloudProviderInProfile(spec garden.CloudProfileSpec) (garden.CloudProvider, error)
- func DetermineCloudProviderInShoot(cloudObj garden.Cloud) (garden.CloudProvider, error)
- func GetCondition(conditions []garden.Condition, conditionType garden.ConditionType) *garden.Condition
- func GetK8SNetworks(shoot *garden.Shoot) (garden.K8SNetworks, error)
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.
Click to show internal directories.
Click to hide internal directories.