Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InstallCmd = &cobra.Command{ Use: "install", Short: "install prometheus rules", Long: "", Run: func(cmd *cobra.Command, args []string) { initK8SClient() initConfig() for { if err := install(); err != nil { scope.Errorf("install rules failed: %s", err.Error()) time.Sleep(time.Duration(1) * time.Second) } else { break } } }, } )
View Source
var RootCmd = &cobra.Command{
Use: "job",
Short: "alameda job",
Long: "",
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.