helper

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Scheme is a scheme with the types relevant for onmetal 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 InfrastructureConfigFromInfrastructure

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

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

func InfrastructureStatusFromRaw

func InfrastructureStatusFromRaw(raw *runtime.RawExtension) (*api.InfrastructureStatus, error)

InfrastructureStatusFromRaw extracts the InfrastructureStatus from the ProviderStatus section of the given Infrastructure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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