Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCRDRESTOptionsGetter ¶
func NewCRDRESTOptionsGetter(etcdOptions genericoptions.EtcdOptions) (genericregistry.RESTOptionsGetter, error)
NewCRDRESTOptionsGetter create a RESTOptionsGetter for CustomResources. This works on a copy of the etcd options so we don't mutate originals. We assume that the input etcd options have been completed already. Avoid messing with anything outside of changes to StorageConfig as that may lead to unexpected behavior when the options are applied.
Types ¶
type CustomResourceDefinitionsServerOptions ¶
type CustomResourceDefinitionsServerOptions struct { ServerRunOptions *genericoptions.ServerRunOptions RecommendedOptions *genericoptions.RecommendedOptions APIEnablement *genericoptions.APIEnablementOptions StdOut io.Writer StdErr io.Writer }
CustomResourceDefinitionsServerOptions describes the runtime options of an apiextensions-apiserver.
func NewCustomResourceDefinitionsServerOptions ¶
func NewCustomResourceDefinitionsServerOptions(out, errOut io.Writer) *CustomResourceDefinitionsServerOptions
NewCustomResourceDefinitionsServerOptions creates default options of an apiextensions-apiserver.
func (CustomResourceDefinitionsServerOptions) AddFlags ¶
func (o CustomResourceDefinitionsServerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds the apiextensions-apiserver flags to the flagset.
func (*CustomResourceDefinitionsServerOptions) Complete ¶
func (o *CustomResourceDefinitionsServerOptions) Complete() error
Complete fills in missing options.
func (CustomResourceDefinitionsServerOptions) Config ¶
func (o CustomResourceDefinitionsServerOptions) Config() (*apiserver.Config, error)
Config returns an apiextensions-apiserver configuration.
func (CustomResourceDefinitionsServerOptions) Validate ¶
func (o CustomResourceDefinitionsServerOptions) Validate() error
Validate validates the apiextensions-apiserver options.