Documentation
¶
Overview ¶
Package k3s
Copyright © 2023 zcubbs https://github.com/zcubbs
Package k3s.
Copyright © 2023 zcubbs https://github.com/zcubbs
Index ¶
- Constants
- func Install(config Config, debug bool) error
- func InstallK9s(debug bool) error
- func PrintKubeconfig(kubeconfig, serverUrl string) error
- func Uninstall(debug bool) error
- func WriteTemplateToFile(templateStr string, config Config, outputFilePath string) error
- type Config
- type DefaultManager
Constants ¶
View Source
const ConfigFileLocation = "/etc/rancher/k3s"
View Source
const InstallScript = "/tmp/k3s-install.sh"
View Source
const UninstallScript = "/usr/local/bin/k3s-uninstall.sh"
Variables ¶
This section is empty.
Functions ¶
func InstallK9s ¶
func PrintKubeconfig ¶
Types ¶
type DefaultManager ¶
type DefaultManager struct{}
DefaultManager is the default implementation of K3sManager
func (DefaultManager) Uninstall ¶
func (d DefaultManager) Uninstall(debug bool) error
Click to show internal directories.
Click to hide internal directories.