Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "k8s-custom-controller", Short: "A k8s controller that react on anything with annotation test.alpha.kubernetes.io/service-name", Long: `A k8s controller which react as soon as a new service is created with annotation and takes some action on it.`, Run: func(cmd *cobra.Command, args []string) { conf, err := config.Validate() if err != nil { logrus.Fatal(err) } client.Run(conf) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.