Documentation ¶
Index ¶
- func ForAuthorizedKeys(key string, role string) (*mcfgv1.MachineConfig, error)
- func ForFIPSEnabled(role string) (*mcfgv1.MachineConfig, error)
- func ForHyperthreadingDisabled(role string) (*mcfgv1.MachineConfig, error)
- func IsManifest(filename string) (bool, error)
- func Load(f asset.FileFetcher, role, directory string) ([]*asset.File, error)
- func Manifests(configs []*mcfgv1.MachineConfig, role, directory string) ([]*asset.File, error)
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 ¶
IsManifest tests whether the specified filename is a MachineConfig manifest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.