cmd

package
v0.0.0-...-3bcb0fb Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

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

func Execute

func Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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