baremetal

package
v1.14.16-dcf8320c8c4e Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 2

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.

Jump to

Keyboard shortcuts

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