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
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 (c *InstallK0sCmd) InstallK0s(pm installer.PackageManager, k0s installer.K0sManager, k0sctl installer.K0sctlManager) error
Click to show internal directories.
Click to hide internal directories.