cmd

package
v0.0.0-...-23ca623 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 28 Imported by: 1

Documentation

Overview

Copyright Alex Ellis, OpenFaaS Ltd 2025 Inspired by update command in openfaas/faas-cli

Index

Constants

View Source
const PinnedK3sChannel = "stable"

PinnedK3sChannel will track the stable channel of the K3s API, so for production use, you should pin to a specific version such as v1.19 Channels API available at: https://update.k3s.io/v1-release/channels

Variables

View Source
var (
	Version   string
	GitCommit string
)

Functions

func MakeGet

func MakeGet() *cobra.Command

MakeGet creates the get parent command

func MakeGetConfig

func MakeGetConfig() *cobra.Command

MakeGetConfig creates the get-config command

func MakeGetPro

func MakeGetPro() *cobra.Command

MakeGetPro creates the 'get pro' command

func MakeInstall

func MakeInstall() *cobra.Command

MakeInstall creates the install command

func MakeJoin

func MakeJoin() *cobra.Command

MakeJoin creates the join command

func MakeNodeToken

func MakeNodeToken() *cobra.Command

MakeNodeToken creates the node-token command

func MakePlan

func MakePlan() *cobra.Command

func MakeReady

func MakeReady() *cobra.Command

func MakeUpdate

func MakeUpdate() *cobra.Command

func MakeVersion

func MakeVersion() *cobra.Command

func PrintK3supASCIIArt

func PrintK3supASCIIArt()

Types

type DoneFunc

type DoneFunc func()

type Host

type Host struct {
	Hostname string `json:"hostname"`
	IP       string `json:"ip"`
}

Jump to

Keyboard shortcuts

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