k3s

package
v1.5.21 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package k3s

Copyright © 2023 zcubbs https://github.com/zcubbs

Package k3s.

Copyright © 2023 zcubbs https://github.com/zcubbs

Index

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 Install

func Install(config Config, debug bool) error

func InstallK9s

func InstallK9s(debug bool) error

func Uninstall

func Uninstall(debug bool) error

func WriteTemplateToFile

func WriteTemplateToFile(templateStr string, config Config, outputFilePath string) error

Types

type Config

type Config struct {
	Disable                 []string
	TlsSan                  []string
	DataDir                 string
	DefaultLocalStoragePath string
	WriteKubeconfigMode     string
}

Jump to

Keyboard shortcuts

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