// AddFlags adds flags for a specific APIServer to the specified FlagSet
func(s*APIServer)AddFlags(fs*pflag.FlagSet){
// Add the generic flags.
s.ServerRunOptions.AddFlags(fs)
// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
// arrange these text blocks sensibly. Grrr.
fs.StringVar(&s.DeprecatedStorageVersion,"storage-version",s.DeprecatedStorageVersion,"The version to store the legacy v1 resources with. Defaults to server preferred")
fs.MarkDeprecated("storage-version","--storage-version is deprecated and will be removed when the v1 API is retired. See --storage-versions instead.")
fs.StringVar(&s.StorageVersions,"storage-versions",s.StorageVersions,"The per-group version to store resources in. "+
"Specified in the format \"group1/version1,group2/version2,...\". "+
"In the case where objects are moved from one group to the other, you may specify the format \"group1=group2/v1beta1,group3/v1beta1,...\". "+
"You only need to pass the groups you wish to change from the defaults. "+
"It defaults to a list of preferred versions of all registered groups, which is derived from the KUBE_API_VERSIONS environment variable.")
fs.StringVar(&s.DefaultStorageMediaType,"storage-media-type",s.DefaultStorageMediaType,"The media type to use to store objects in storage. Defaults to application/json. Some resources may only support a specific media type and will ignore this setting.")
fs.DurationVar(&s.EventTTL,"event-ttl",s.EventTTL,"Amount of time to retain events. Default 1 hour.")
fs.StringVar(&s.BasicAuthFile,"basic-auth-file",s.BasicAuthFile,"If set, the file that will be used to admit requests to the secure port of the API server via http basic authentication.")
--watch-cache-sizes=[]: List of watch cache sizes for every resource (pods, nodes, etc.), comma separated. The individual override format: resource#size, where size is a number. It takes effect when watch-cache is enabled.
```
###### Auto generated by spf13/cobra on 8-May-2016
###### Auto generated by spf13/cobra on 9-May-2016
// AddFlags adds flags for a specific APIServer to the specified FlagSet
func(s*APIServer)AddFlags(fs*pflag.FlagSet){
// Add the generic flags.
s.ServerRunOptions.AddFlags(fs)
// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
// arrange these text blocks sensibly. Grrr.
fs.StringVar(&s.DeprecatedStorageVersion,"storage-version",s.DeprecatedStorageVersion,"The version to store the legacy v1 resources with. Defaults to server preferred")
fs.MarkDeprecated("storage-version","--storage-version is deprecated and will be removed when the v1 API is retired. See --storage-versions instead.")
fs.StringVar(&s.StorageVersions,"storage-versions",s.StorageVersions,"The per-group version to store resources in. "+
"Specified in the format \"group1/version1,group2/version2,...\". "+
"In the case where objects are moved from one group to the other, you may specify the format \"group1=group2/v1beta1,group3/v1beta1,...\". "+
"You only need to pass the groups you wish to change from the defaults. "+
"It defaults to a list of preferred versions of all registered groups, which is derived from the KUBE_API_VERSIONS environment variable.")
fs.StringVar(&s.DefaultStorageMediaType,"storage-media-type",s.DefaultStorageMediaType,"The media type to use to store objects in storage. Defaults to application/json. Some resources may only support a specific media type and will ignore this setting.")
fs.DurationVar(&s.EventTTL,"event-ttl",s.EventTTL,"Amount of time to retain events. Default 1 hour.")
fs.StringVar(&s.BasicAuthFile,"basic-auth-file",s.BasicAuthFile,"If set, the file that will be used to admit requests to the secure port of the API server via http basic authentication.")
fs.StringVar(&s.DeprecatedStorageVersion,"storage-version",s.DeprecatedStorageVersion,"The version to store the legacy v1 resources with. Defaults to server preferred")
fs.MarkDeprecated("storage-version","--storage-version is deprecated and will be removed when the v1 API is retired. See --storage-versions instead.")
fs.StringVar(&s.StorageVersions,"storage-versions",s.StorageVersions,"The per-group version to store resources in. "+
"Specified in the format \"group1/version1,group2/version2,...\". "+
"In the case where objects are moved from one group to the other, you may specify the format \"group1=group2/v1beta1,group3/v1beta1,...\". "+
"You only need to pass the groups you wish to change from the defaults. "+
"It defaults to a list of preferred versions of all registered groups, which is derived from the KUBE_API_VERSIONS environment variable.")