Version: v0.18.9 Latest Latest

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 11 Imported by: 0




This section is empty.


View Source
var (
	// Scheme is a scheme with the types relevant for metal actuators.
	Scheme *runtime.Scheme


func CloudProfileConfigFromCluster

func CloudProfileConfigFromCluster(cluster *controller.Cluster) (*api.CloudProfileConfig, error)

CloudProfileConfigFromCluster decodes the provider specific cloud profile configuration for a cluster

func ControlPlaneConfigFromClusterShootSpec added in v0.15.5

func ControlPlaneConfigFromClusterShootSpec(cluster *controller.Cluster) (*api.ControlPlaneConfig, error)

ControlPlaneConfigFromClusterShootSpec extracts the ControlPlaneConfig from the shoot spec of a given 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 FindMetalControlPlane added in v0.15.1

func FindMetalControlPlane(cloudProfileConfig *metal.CloudProfileConfig, partition string) (*metal.MetalControlPlane, *metal.Partition, error)

FindMetalControlPlane returns the metal control plane from a given cluster spec

func InfrastructureConfigFromInfrastructure

func InfrastructureConfigFromInfrastructure(infra *extensionsv1alpha1.Infrastructure) (*api.InfrastructureConfig, error)

InfrastructureConfigFromInfrastructure extracts the InfrastructureConfig from the ProviderConfig section of the given Infrastructure.

func MergeIAMConfig

func MergeIAMConfig(into *metal.IAMConfig, from *metal.IAMConfig) (*metal.IAMConfig, error)

MergeIAMConfig merges the one iam config into the other


This section is empty.

Jump to

Keyboard shortcuts

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