cmd

package
v1.9.5 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstallCmd

func NewInstallCmd(c common.Args, ioStreams cmdutil.IOStreams) *cobra.Command

NewInstallCmd create install cmd

func NewJoinCmd added in v1.7.5

func NewJoinCmd() *cobra.Command

NewJoinCmd create join cmd

func NewKubeConfigCmd

func NewKubeConfigCmd() *cobra.Command

NewKubeConfigCmd create kubeconfig command for ctrl-plane

func NewLBInstallCmd

func NewLBInstallCmd() *cobra.Command

NewLBInstallCmd returns load-balancer install command

func NewLBUninstallCmd

func NewLBUninstallCmd() *cobra.Command

NewLBUninstallCmd returns a cobra command for uninstalling load balancer

func NewLBWizardCmd added in v1.7.4

func NewLBWizardCmd() *cobra.Command

NewLBWizardCmd returns load-balancer wizard command

func NewLoadBalancerCmd

func NewLoadBalancerCmd() *cobra.Command

NewLoadBalancerCmd return loca-balancer command

func NewStatusCmd

func NewStatusCmd() *cobra.Command

NewStatusCmd create status command

func NewTokenCmd

func NewTokenCmd() *cobra.Command

NewTokenCmd create token command

func NewUninstallCmd

func NewUninstallCmd() *cobra.Command

NewUninstallCmd create uninstall command

func NewVeladCommand

func NewVeladCommand() *cobra.Command

NewVeladCommand create velad command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd create version command

func PrintClusterStatus

func PrintClusterStatus(status apis.ClusterStatus) bool

PrintClusterStatus helps print cluster status

func PrintVelaStatus

func PrintVelaStatus(status apis.VelaStatus)

PrintVelaStatus helps print kubevela status

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is entry of all CLI, created by NewApp

func NewApp

func NewApp() App

NewApp create app

func (App) Run

func (a App) Run()

Run run the app, it can be vela or velad, depends on os.Args

Jump to

Keyboard shortcuts

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