machineconfig

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForAuthorizedKeys

func ForAuthorizedKeys(key string, role string) (*mcfgv1.MachineConfig, error)

ForAuthorizedKeys creates the MachineConfig to set the authorized key for `core` user.

func ForDualStackAddresses added in v0.9.153

func ForDualStackAddresses(role string) (*mcfgv1.MachineConfig, error)

ForDualStackAddresses creates the MachineConfig to tell kernel to configure the IP addresses with DHCP and DHCPV6.

func ForFIPSEnabled

func ForFIPSEnabled(role string) (*mcfgv1.MachineConfig, error)

ForFIPSEnabled creates the MachineConfig to enable FIPS. See also https://github.com/openshift/machine-config-operator/pull/889

func ForHyperthreadingDisabled

func ForHyperthreadingDisabled(role string) (*mcfgv1.MachineConfig, error)

ForHyperthreadingDisabled creates the MachineConfig to disable hyperthreading. RHCOS ships with pivot.service to override the kernel arguments for hosts.

func ForMultipathEnabled added in v0.9.153

func ForMultipathEnabled(role string) (*mcfgv1.MachineConfig, error)

ForMultipathEnabled creates the MachineConfig to enable multipath.

func ForPowerSMT added in v0.9.153

func ForPowerSMT(role string, smtLevel string) (*mcfgv1.MachineConfig, error)

ForPowerSMT sets the SMT level for Power machines.

func IsManifest

func IsManifest(filename string) (bool, error)

IsManifest tests whether the specified filename is a MachineConfig manifest.

func Load

func Load(f asset.FileFetcher, role, directory string) ([]*asset.File, error)

Load loads the MachineConfig manifests.

func Manifests

func Manifests(configs []*mcfgv1.MachineConfig, role, directory string) ([]*asset.File, error)

Manifests creates manifest files containing the MachineConfigs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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