Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "kubewatch", Short: "A watcher for Kubernetes", Long: ` Kubewath: A watcher for Kubernetes kubewatch is a Kubernetes watcher that could publishes notification to Slack/hipchat/mattermost/flock channels. It watches the cluster for resource changes and notifies them through webhooks. supported webhooks: - slack - hipchat - mattermost - flock - webhook `, Run: func(cmd *cobra.Command, args []string) { config := &config.Config{} if err := config.Load(); err != nil { logrus.Fatal(err) } config.CheckMissingResourceEnvvars() c.Run(config) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.