cliinstall

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package cliinstall implements the interactive k3OS installation workflow.

Index

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.

func Run

func Run() error

Run executes the interactive k3OS installation and configuration workflow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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