cc

package
v1.6.3-v1.27.5-k3s1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

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

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 ApplyK3S

func ApplyK3S(cfg *config.CloudConfig, restart, install bool) 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.

Jump to

Keyboard shortcuts

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