Documentation ¶
Overview ¶
Package cc is responsible for applying the cloud config to the system
see pkg/config(../config) for more information on the cloud config TODO: improve documentation
Index ¶
- func ApplyBootManifests(cfg *config.CloudConfig) error
- func ApplyBootcmd(cfg *config.CloudConfig) error
- func ApplyDNS(cfg *config.CloudConfig) error
- func ApplyDataSource(cfg *config.CloudConfig) error
- func ApplyEnvironment(cfg *config.CloudConfig) error
- func ApplyHostname(cfg *config.CloudConfig) error
- func ApplyInitcmd(cfg *config.CloudConfig) error
- func ApplyInstall(cfg *config.CloudConfig) error
- func ApplyK3S(cfg *config.CloudConfig, restart, install bool) error
- func ApplyK3SInstall(cfg *config.CloudConfig) error
- func ApplyK3SNoRestart(cfg *config.CloudConfig) error
- func ApplyK3SWithRestart(cfg *config.CloudConfig) error
- func ApplyModules(cfg *config.CloudConfig) error
- func ApplyPassword(cfg *config.CloudConfig) error
- func ApplyRuncmd(cfg *config.CloudConfig) error
- func ApplySSHKeys(cfg *config.CloudConfig) error
- func ApplySSHKeysWithNet(cfg *config.CloudConfig) error
- func ApplySysctls(cfg *config.CloudConfig) error
- func ApplyWifi(cfg *config.CloudConfig) error
- func ApplyWriteFiles(cfg *config.CloudConfig) error
- func BootApply(cfg *config.CloudConfig) error
- func InitApply(cfg *config.CloudConfig) error
- func InstallApply(cfg *config.CloudConfig) error
- func RunApply(cfg *config.CloudConfig, run ...applier) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyBootManifests ¶
func ApplyBootManifests(cfg *config.CloudConfig) error
Applys the settings for cloud Config (CC) for manifests
func ApplyBootcmd ¶
func ApplyBootcmd(cfg *config.CloudConfig) error
func ApplyDNS ¶
func ApplyDNS(cfg *config.CloudConfig) error
func ApplyDataSource ¶
func ApplyDataSource(cfg *config.CloudConfig) error
func ApplyEnvironment ¶
func ApplyEnvironment(cfg *config.CloudConfig) error
func ApplyHostname ¶
func ApplyHostname(cfg *config.CloudConfig) error
func ApplyInitcmd ¶
func ApplyInitcmd(cfg *config.CloudConfig) error
func ApplyInstall ¶
func ApplyInstall(cfg *config.CloudConfig) error
func ApplyK3SInstall ¶
func ApplyK3SInstall(cfg *config.CloudConfig) error
func ApplyK3SNoRestart ¶
func ApplyK3SNoRestart(cfg *config.CloudConfig) error
func ApplyK3SWithRestart ¶
func ApplyK3SWithRestart(cfg *config.CloudConfig) error
func ApplyModules ¶
func ApplyModules(cfg *config.CloudConfig) error
Syntactic sugar for the bare functions below
func ApplyPassword ¶
func ApplyPassword(cfg *config.CloudConfig) error
func ApplyRuncmd ¶
func ApplyRuncmd(cfg *config.CloudConfig) error
func ApplySSHKeys ¶
func ApplySSHKeys(cfg *config.CloudConfig) error
func ApplySSHKeysWithNet ¶
func ApplySSHKeysWithNet(cfg *config.CloudConfig) error
func ApplySysctls ¶
func ApplySysctls(cfg *config.CloudConfig) error
func ApplyWifi ¶
func ApplyWifi(cfg *config.CloudConfig) error
func ApplyWriteFiles ¶
func ApplyWriteFiles(cfg *config.CloudConfig) error
func BootApply ¶
func BootApply(cfg *config.CloudConfig) error
BootApply runs all current configuration 'boot' functions using the passed in config
func InitApply ¶
func InitApply(cfg *config.CloudConfig) error
InitApply runs all current configuration 'init' functions using the passed in config
func InstallApply ¶
func InstallApply(cfg *config.CloudConfig) error
InstallApply runs all current configuration 'install' functions using the passed in config
func RunApply ¶
func RunApply(cfg *config.CloudConfig, run ...applier) error
RunApply runs all current configuration 'run' functions using the passed in config the second parameter allows override of the functions run, used mainly for tests
Types ¶
This section is empty.