cmds

package
v1.26.3-rke2r1-build20... Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DisableItems = []string{"rke2-coredns", "rke2-ingress-nginx", "rke2-metrics-server"}
	CNIItems     = []string{"calico", "canal", "cilium"}
)

Functions

func AgentRun

func AgentRun(clx *cli.Context) error

func NewAgentCommand

func NewAgentCommand() cli.Command

func NewApp

func NewApp() *cli.App

func NewCertCommand

func NewCertCommand() cli.Command

func NewEtcdSnapshotCommand

func NewEtcdSnapshotCommand() cli.Command

func NewSecretsEncryptCommand

func NewSecretsEncryptCommand() cli.Command

func NewServerCommand

func NewServerCommand() cli.Command

func NewTokenCommand

func NewTokenCommand() cli.Command

func Rotate

func Rotate(clx *cli.Context) error

func ServerRun

func ServerRun(clx *cli.Context) error

Types

type CLIRole

type CLIRole int64
const (
	Agent CLIRole = iota
	Server
)

type K3SFlagOption

type K3SFlagOption struct {
	Hide    bool
	Drop    bool
	Ignore  bool
	Usage   string
	Default string
}

K3SFlagOption describes how a CLI flag from K3s should be wrapped.

type K3SFlagSet

type K3SFlagSet map[string]*K3SFlagOption

K3SFlagSet is a map of flag names to options

func (K3SFlagSet) CopyInto

func (k K3SFlagSet) CopyInto(d K3SFlagSet)

CopyInto copies flags from a source set into the destination

Jump to

Keyboard shortcuts

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