Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Server = &cobra.Command{ Use: "server", Short: "Run the spnego-proxy server", PreRunE: func(cmd *cobra.Command, args []string) error { common.SetLogger() return nil }, Run: Run, }
View Source
var Version = &cobra.Command{ Use: "version", Short: "Print the kafka-proxy version", Run: func(cmd *cobra.Command, args []string) { fmt.Printf("version: %s \n", common.Version) fmt.Printf("buildTime: %s \n", common.BuildTime) fmt.Printf("branch: %s \n", common.Branch) fmt.Printf("commitID: %s \n", common.CommitId) fmt.Printf("commitDate: %s \n", common.CommitDate) fmt.Printf("go version: %s \n", common.GoVersion) }, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.