cmd

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AzureRGString        = "resource-group"
	AzureClusterString   = "cluster"
	AzureAdminCredString = "admin"
)

CodeSmell variables to make Sonar happy

Variables

View Source
var (
	AzureRG        string
	AzureCluster   string
	AzureAdminCred bool
)
View Source
var (
	RancherURL     string
	RancherToken   string
	RancherCluster string
)
View Source
var (
	Version   = "empty version"
	BuildDate = "empty date"
	CommitSHA = "empty sha"
)
View Source
var (
	Verbose bool
)

Functions

func Add

func Add(cfg *api.Config) error

func AddAKS added in v0.5.0

func AddAKS(rg string, name string, admin bool) error

func AddAKSComposer added in v0.5.0

func AddAKSComposer(cmd *cobra.Command, args []string) error

func AddComposer

func AddComposer(cmd *cobra.Command, args []string) error

func AddRancher

func AddRancher(url string, cluster string, token string) error

func AddRancherComposer

func AddRancherComposer(cmd *cobra.Command, args []string) error

func Ctx

func Ctx(ctx string) error

func CtxComposer

func CtxComposer(cmd *cobra.Command, args []string) error

func Del

func Del(ctx string) error

func DelComposer

func DelComposer(cmd *cobra.Command, args []string) error

func Execute

func Execute()

func Export

func Export(ctx string) error

func ExportComposer

func ExportComposer(cmd *cobra.Command, args []string) error

func List

func List() error

func ListComposer

func ListComposer(cmd *cobra.Command, args []string) error

func Ns

func Ns(ns string) error

func NsComposer

func NsComposer(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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