commands

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApiServerName      string = "testkube-api-server"
	ApiServerPort      int    = 8088
	ApiVersion         string = "v1"
	DashboardURI       string = "http://dashboard.testkube.io"
	CurrentApiVersion  string = apiclient.Version
	DashboardName      string = "testkube-dashboard"
	DashboardPort      int    = 80
	DashboardLocalPort int    = 8080
)

Variables

View Source
var (
	Commit  string
	Version string
	BuiltBy string
	Date    string
)
View Source
var RootCmd = &cobra.Command{
	Use:   "kubectl-testkube",
	Short: "Testkube entrypoint for kubectl plugin",
	Run: func(cmd *cobra.Command, args []string) {
		ui.Logo()
		cmd.Usage()
		cmd.DisableAutoGenTag = true
	},

	PersistentPostRun: func(cmd *cobra.Command, args []string) {
		ui.Verbose = verbose

		if analyticsEnabled {
			ui.Debug("collecting anonymous analytics data, you can disable it by calling `kubectl testkube disable analytics`")
			analytics.SendAnonymouscmdInfo()
		}
	},
}

Functions

func Execute

func Execute()

func HelmUpgradeOrInstalTestkube added in v0.9.0

func HelmUpgradeOrInstalTestkube(name, namespace, chart string, noDashboard, noMinio, noJetstack bool) error

func NewAbortCmd added in v0.10.0

func NewAbortCmd() *cobra.Command

func NewCreateCmd added in v0.10.0

func NewCreateCmd() *cobra.Command

func NewDashboardCmd added in v0.5.52

func NewDashboardCmd() *cobra.Command

NewDashboardCmd is a method to create new dashboard command

func NewDeleteCmd added in v0.10.0

func NewDeleteCmd() *cobra.Command

func NewDisableCmd added in v0.10.0

func NewDisableCmd() *cobra.Command

func NewDownloadAllArtifactsCmd added in v0.6.29

func NewDownloadAllArtifactsCmd() *cobra.Command

func NewDownloadCmd added in v0.10.0

func NewDownloadCmd() *cobra.Command

func NewDownloadSingleArtifactsCmd added in v0.6.29

func NewDownloadSingleArtifactsCmd() *cobra.Command

func NewEnableCmd added in v0.10.0

func NewEnableCmd() *cobra.Command

func NewGenerateCmd added in v0.10.0

func NewGenerateCmd() *cobra.Command

func NewGetCmd added in v0.10.0

func NewGetCmd() *cobra.Command

func NewInstallCmd

func NewInstallCmd() *cobra.Command

func NewListArtifactsCmd added in v0.6.9

func NewListArtifactsCmd() *cobra.Command

func NewMigrateCmd added in v0.8.9

func NewMigrateCmd() *cobra.Command

func NewRunCmd added in v0.10.0

func NewRunCmd() *cobra.Command

func NewStatusCmd added in v0.10.0

func NewStatusCmd() *cobra.Command

func NewUninstallCmd

func NewUninstallCmd() *cobra.Command

func NewUpdateCmd added in v0.10.0

func NewUpdateCmd() *cobra.Command

func NewUpgradeCmd added in v0.9.0

func NewUpgradeCmd() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

func NewWatchCmd added in v0.10.0

func NewWatchCmd() *cobra.Command

func RunMigrations added in v0.9.0

func RunMigrations(cmd *cobra.Command) (hasMigrations bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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