Documentation ¶
Index ¶
- func DetermineCloudProviderInProfile(spec gardenv1beta1.CloudProfileSpec) (gardenv1beta1.CloudProvider, error)
- func DetermineCloudProviderInShoot(cloud gardenv1beta1.Cloud) (gardenv1beta1.CloudProvider, error)
- func InitCondition(conditionType gardenv1beta1.ShootConditionType, reason, message string) *gardenv1beta1.ShootCondition
- func ModifyCondition(condition *gardenv1beta1.ShootCondition, status corev1.ConditionStatus, ...) *gardenv1beta1.ShootCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineCloudProviderInProfile ¶
func DetermineCloudProviderInProfile(spec gardenv1beta1.CloudProfileSpec) (gardenv1beta1.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(cloud gardenv1beta1.Cloud) (gardenv1beta1.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 InitCondition ¶
func InitCondition(conditionType gardenv1beta1.ShootConditionType, reason, message string) *gardenv1beta1.ShootCondition
InitCondition initializes a new ShootCondition with an Unknown status.
func ModifyCondition ¶
func ModifyCondition(condition *gardenv1beta1.ShootCondition, status corev1.ConditionStatus, reason, message string) *gardenv1beta1.ShootCondition
ModifyCondition updates the properties of one specific condition.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.