k0s

package
v1.262.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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
}

Jump to

Keyboard shortcuts

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