Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddServiceFlags ¶
AddServiceFlags add all supported service flags to the flagset.
func Merge ¶
func Merge(cmd *cobra.Command, spec *api.ServiceSpec, c api.ControlClient) error
Merge merges a flagset into a service spec.
Types ¶
This section is empty.
Notes ¶
Bugs ¶
Cobra stringslice actually doesn't correctly handle comma separated values, so multiple flags aren't really supported. We'll have to replace StringSlice with a type that doesn't use the csv parser. This is good enough for now.
Click to show internal directories.
Click to hide internal directories.