()
| 25 | } |
| 26 | |
| 27 | func NewControllerClientOptions() *ControllerClientOptions { |
| 28 | return &ControllerClientOptions{ |
| 29 | Host: "127.0.0.1:8001", |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | func (o *ControllerClientOptions) AddFlags(fs *pflag.FlagSet) { |
| 34 | fs.StringVar(&o.Host, "controller-host", o.Host, "The host to access controller") |
no outgoing calls