func (o *Options) Flags(allControllers []string, disabledByDefaultControllers []string) cliflag.NamedFlagSets {
	fss := cliflag.NamedFlagSets{}
	o.Generic.AddFlags(&fss, allControllers, disabledByDefaultControllers)
	o.SecureServing.AddFlags(fss.FlagSet("secure serving"))

	o.EtcdClusterController.AddFlags(fss.FlagSet("etcdcluster controller"))

	o.Metrics.AddFlags(fss.FlagSet("metrics"))
	o.Logs.AddFlags(fss.FlagSet("logs"))

	fs := fss.FlagSet("misc")
	fs.StringVar(&o.Master, "master", o.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig).")
	fs.StringVar(&o.Kubeconfig, "kubeconfig", o.Kubeconfig, "Path to kubeconfig file with authorization and master location information.")
	return fss
}
// Flags returns flags for a specific app by section name
Flags returns flags for a specific app by section name
// Flags returns flags for a specific app by section name
func (o *Options) Flags(allControllers []string, disabledByDefaultControllers []string) cliflag.NamedFlagSets {
	fss := cliflag.NamedFlagSets{}
	o.Generic.AddFlags(&fss, allControllers, disabledByDefaultControllers)
	o.SecureServing.AddFlags(fss.FlagSet("secure serving"))
	o.EtcdClusterController.AddFlags(fss.FlagSet("etcdcluster controller"))
	o.Metrics.AddFlags(fss.FlagSet("metrics"))
	o.Logs.AddFlags(fss.FlagSet("logs"))
	fs := fss.FlagSet("misc")
	fs.StringVar(&o.Master, "master", o.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig).")
	fs.StringVar(&o.Kubeconfig, "kubeconfig", o.Kubeconfig, "Path to kubeconfig file with authorization and master location information.")
	return fss
}
func ( o * Options ) Flags ( allControllers [ ] string , disabledByDefaultControllers [ ] string ) cliflag . NamedFlagSets { fss := cliflag . NamedFlagSets { } o . Generic . AddFlags ( & fss , allControllers , disabledByDefaultControllers ) o . SecureServing . AddFlags ( fss . FlagSet ( " " ) ) o . EtcdClusterController . AddFlags ( fss . FlagSet ( " " ) ) o . Metrics . AddFlags ( fss . FlagSet ( " " ) ) o . Logs . AddFlags ( fss . FlagSet ( " " ) ) fs := fss . FlagSet ( " " ) fs . StringVar ( & o . Master , " " , o . Master , " " ) fs . StringVar ( & o . Kubeconfig , " " , o . Kubeconfig , " " ) return fss }
Flags returns flags for a specific app by section name
Flags returns flags for a specific app by section name