Documentation
¶
Overview ¶
Package cliinstall implements the interactive k3OS installation workflow.
Index ¶
- func Ask(cfg *config.CloudConfig) (bool, error)
- func AskConfigURL(cfg *config.CloudConfig) error
- func AskGithub(cfg *config.CloudConfig) error
- func AskInstall(cfg *config.CloudConfig) error
- func AskInstallDevice(cfg *config.CloudConfig) error
- func AskPassword(cfg *config.CloudConfig) error
- func AskServerAgent(cfg *config.CloudConfig) error
- func AskToken(cfg *config.CloudConfig, server bool) error
- func AskWifi(cfg *config.CloudConfig) error
- func Run() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ask ¶
func Ask(cfg *config.CloudConfig) (bool, error)
Ask prompts the user to choose between install and server/agent configuration.
func AskConfigURL ¶
func AskConfigURL(cfg *config.CloudConfig) error
AskConfigURL prompts the user for a cloud-init configuration URL.
func AskGithub ¶
func AskGithub(cfg *config.CloudConfig) error
AskGithub prompts the user to authorize GitHub users for SSH access.
func AskInstall ¶
func AskInstall(cfg *config.CloudConfig) error
AskInstall prompts the user for all installation configuration options.
func AskInstallDevice ¶
func AskInstallDevice(cfg *config.CloudConfig) error
AskInstallDevice prompts the user to select a target disk device for installation.
func AskPassword ¶
func AskPassword(cfg *config.CloudConfig) error
AskPassword prompts the user to set a password for the rancher user.
func AskServerAgent ¶
func AskServerAgent(cfg *config.CloudConfig) error
AskServerAgent prompts the user to configure k3s as a server or agent.
func AskToken ¶
func AskToken(cfg *config.CloudConfig, server bool) error
AskToken prompts the user for a cluster token or secret.
func AskWifi ¶
func AskWifi(cfg *config.CloudConfig) error
AskWifi prompts the user to configure WiFi network settings.
Types ¶
This section is empty.