Documentation ¶
Index ¶
- Variables
- func CloudProfileConfigFromCluster(cluster *controller.Cluster) (*api.CloudProfileConfig, error)
- func ControlPlaneConfigFromControlPlane(cp *extensionsv1alpha1.ControlPlane) (*api.ControlPlaneConfig, error)
- func DecodeCloudProfileConfig(cloudProfile *gardencorev1beta1.CloudProfile) (*api.CloudProfileConfig, error)
- func FindMachineImage(machineImages []metal.MachineImage, name, version string) (*metal.MachineImage, error)
- func InfrastructureConfigFromInfrastructure(infra *extensionsv1alpha1.Infrastructure) (*api.InfrastructureConfig, error)
- func MergeIAMConfig(into *metal.IAMConfig, from *metal.IAMConfig) (*metal.IAMConfig, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme is a scheme with the types relevant for metal actuators. Scheme *runtime.Scheme )
Functions ¶
func CloudProfileConfigFromCluster ¶
func CloudProfileConfigFromCluster(cluster *controller.Cluster) (*api.CloudProfileConfig, error)
CloudProfileConfigFromCluster decodes the provider specific cloud profile configuration for a cluster
func ControlPlaneConfigFromControlPlane ¶
func ControlPlaneConfigFromControlPlane(cp *extensionsv1alpha1.ControlPlane) (*api.ControlPlaneConfig, error)
ControlPlaneConfigFromControlPlane extracts the ControlPlaneConfig from the ProviderConfig section of the given ControlPlane.
func DecodeCloudProfileConfig ¶
func DecodeCloudProfileConfig(cloudProfile *gardencorev1beta1.CloudProfile) (*api.CloudProfileConfig, error)
DecodeCloudProfileConfig decodes the cloud profile config
func FindMachineImage ¶
func FindMachineImage(machineImages []metal.MachineImage, name, version string) (*metal.MachineImage, error)
FindMachineImage takes a list of machine images and tries to find the first entry whose name, version, and zone matches with the given name, version, and zone. If no such entry is found then an error will be returned.
func InfrastructureConfigFromInfrastructure ¶
func InfrastructureConfigFromInfrastructure(infra *extensionsv1alpha1.Infrastructure) (*api.InfrastructureConfig, error)
InfrastructureConfigFromInfrastructure extracts the InfrastructureConfig from the ProviderConfig section of the given Infrastructure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.