Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRDConvertOptions ¶
type CRDConvertOptions struct { InputFIle []*os.File Out *os.File // contains filtered or unexported fields }
func NewCRDConvertOptions ¶
func NewCRDConvertOptions() *CRDConvertOptions
NewCRDConvertOptions creates default options of this command.
func (*CRDConvertOptions) AddFlags ¶
func (o *CRDConvertOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds the apiextensions-apiserver flags to the flagset.
func (*CRDConvertOptions) Complete ¶
func (o *CRDConvertOptions) Complete() error
Complete fills in missing options.
func (CRDConvertOptions) Config ¶
func (o CRDConvertOptions) Config() (*openapi.Config, error)
Config returns an convert configuration.
func (CRDConvertOptions) Validate ¶
func (o CRDConvertOptions) Validate() error
Validate validates the apiextensions-apiserver options.
Click to show internal directories.
Click to hide internal directories.