Documentation ¶
Overview ¶
Package baremetal generates Machine objects for bare metal.
Package baremetal generates Machine objects for bare metal.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MachineSets ¶
func MachineSets(clusterID string, config *types.InstallConfig, pool *types.MachinePool, osImage, role, userDataSecret string) ([]*machineapi.MachineSet, error)
MachineSets returns a list of machinesets for a machinepool.
func Machines ¶
func Machines(clusterID string, config *types.InstallConfig, pool *types.MachinePool, role, userDataSecret string) ([]machineapi.Machine, error)
Machines returns a list of machines for a machinepool.
Types ¶
type HostSettings ¶
type HostSettings struct { // Hosts are the BareMetalHost objects for the hardware making up // the cluster. Hosts []baremetalhost.BareMetalHost // Secrets holds the credential information for communicating with // the management controllers on the hosts. Secrets []corev1.Secret // NetworkConfigSecrets holds the networking configuration defined // on the host. NetworkConfigSecrets []corev1.Secret }
HostSettings hold the information needed to build the manifests to register hosts with the cluster.
func Hosts ¶
func Hosts(config *types.InstallConfig, machines []machineapi.Machine, userDataSecret string) (*HostSettings, error)
Hosts returns the HostSettings with details of the hardware being used to construct the cluster.
Click to show internal directories.
Click to hide internal directories.