cmd

package
v0.0.0-...-4965d2f Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenerateDatastudioCmd = &cobra.Command{
	Use:   "generate_datastudio",
	Short: "Generate the sql queries and vega charts to use in datastudio.",
	PreRun: func(cmd *cobra.Command, args []string) {
		viper.BindPFlags(cmd.Flags())
	},
	Run: func(cmd *cobra.Command, args []string) {
		generateDatastudioCmd(cmd)
	},
}

GenerateDatastudioCmd generates the queries and charts to use in datastudio.

View Source
var GithubMatrixCmd = &cobra.Command{
	Use:   "github_matrix",
	Short: "Generate a github actions matrix in json format",
	PreRun: func(cmd *cobra.Command, args []string) {
		viper.BindPFlags(cmd.Flags())
	},
	Run: func(cmd *cobra.Command, args []string) {
		githubMatrixCmd(cmd)
	},
}

GithubMatrixCmd generates a matrix in json format to be used on github actions to run a suite.

View Source
var RootCmd = &cobra.Command{
	Use:   "root",
	Short: "root command used by other commands",
}

RootCmd is the base command used to add other commands.

View Source
var RunCmd = &cobra.Command{
	Use:   "run",
	Short: "Launch perf experiment, managed by the px-perf cluster",
	PreRun: func(cmd *cobra.Command, args []string) {
		viper.BindPFlags(cmd.Flags())
	},
	RunE: func(cmd *cobra.Command, args []string) error {
		return runCmdWithInterrruptableContext(runCmd, cmd)
	},
}

RunCmd launches a perf experiment by sending queueing the experiment for the px-perf cloud to handle.

View Source
var TestGKEClusterCmd = &cobra.Command{
	Use:   "test_gke_cluster",
	Short: "Test creation of GKE cluster",
	PreRun: func(cmd *cobra.Command, args []string) {
		viper.BindPFlags(cmd.Flags())
	},
	Run: func(cmd *cobra.Command, args []string) {
		os.Exit(testGKEClusterCmd(cmd))
	},
}

TestGKEClusterCmd tests `gke.ClusterProvider` by creating a cluster.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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