options

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL