was

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WasCmd = &cobra.Command{
	Use:   "was",
	Short: "Auto scaling snowflake warehouse",
	Long: `snowflake-was is a Go written utility that helps to auto scale 
Snowflake warehouse size. It does so by monitoring warehouse activity
and responding to different escalation points to upsize or downsize the warehouse size`,
	Run: func(cmd *cobra.Command, args []string) {
		sfConfig, appConfig, defaultCheck := argumentResolver()
		if viper.ConfigFileUsed() == "" && defaultCheck == true {
			cmd.Help()
		} else {
			operator.OperateWAS(sfConfig, appConfig)
		}
	},
}

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