Documentation ¶
Index ¶
- func ForAuthorizedKeys(key string, role string) (*mcfgv1.MachineConfig, error)
- func ForDualStackAddresses(role string) (*mcfgv1.MachineConfig, error)
- func ForFIPSEnabled(role string) (*mcfgv1.MachineConfig, error)
- func ForHyperthreadingDisabled(role string) (*mcfgv1.MachineConfig, error)
- func ForMultipathEnabled(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 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 IsManifest ¶
IsManifest tests whether the specified filename is a MachineConfig manifest.
Types ¶
This section is empty.