machineconfig

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 35

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 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 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