Add alternative names for the server binaries to hyperkube

This commit is contained in:
Lucas Käldström
2017-02-06 17:05:42 +02:00
parent 09cb6ee193
commit e2f829418e
7 changed files with 21 additions and 11 deletions

View File

@@ -30,9 +30,10 @@ type serverRunFunc func(s *Server, args []string) error
// Server describes a server that this binary can morph into.
type Server struct {
SimpleUsage string // One line description of the server.
Long string // Longer free form description of the server
Run serverRunFunc // Run the server. This is not expected to return.
SimpleUsage string // One line description of the server.
Long string // Longer free form description of the server
Run serverRunFunc // Run the server. This is not expected to return.
AlternativeName string
flags *pflag.FlagSet // Flags for the command (and all dependents)
name string