k0s

package
v1.328.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDownloadCmd

func AddDownloadCmd(download *cobra.Command, opts *util.GlobalOptions)

func AddInstallCmd

func AddInstallCmd(install *cobra.Command, opts *util.GlobalOptions)

Types

type DownloadK0sCmd

type DownloadK0sCmd struct {
	Opts       DownloadK0sOpts
	Env        env.Env
	FileWriter intutil.FileIO
	// contains filtered or unexported fields
}

DownloadK0sCmd represents the k0s download command

func (*DownloadK0sCmd) DownloadK0s

func (c *DownloadK0sCmd) DownloadK0s(k0s installer.K0sManager) error

func (*DownloadK0sCmd) RunE

func (c *DownloadK0sCmd) RunE(_ *cobra.Command, args []string) error

type DownloadK0sOpts

type DownloadK0sOpts struct {
	*util.GlobalOptions
	Version string
	Force   bool
	Quiet   bool
}

type InstallK0sCmd

type InstallK0sCmd struct {
	Opts       InstallK0sOpts
	Env        env.Env
	FileWriter intutil.FileIO
	// contains filtered or unexported fields
}

InstallK0sCmd represents the k0s download command

func (*InstallK0sCmd) InstallK0s

func (*InstallK0sCmd) RunE

func (c *InstallK0sCmd) RunE(_ *cobra.Command, args []string) error

type InstallK0sOpts

type InstallK0sOpts struct {
	*util.GlobalOptions
	Version       string
	K0sctlVersion string
	Package       string
	InstallConfig string
	SSHKeyPath    string
	Force         bool
	NoDownload    bool
	Vault         string
	VaultPrivKey  string
	VaultType     string
}

Jump to

Keyboard shortcuts

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