options

package
v0.18.7-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 16 Imported by: 78

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCRDRESTOptionsGetter

func NewCRDRESTOptionsGetter(etcdOptions genericoptions.EtcdOptions) genericregistry.RESTOptionsGetter

NewCRDRESTOptionsGetter create a RESTOptionsGetter for CustomResources.

Types

type CustomResourceDefinitionsServerOptions

type CustomResourceDefinitionsServerOptions struct {
	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

AddFlags adds the apiextensions-apiserver flags to the flagset.

func (*CustomResourceDefinitionsServerOptions) Complete

Complete fills in missing options.

func (CustomResourceDefinitionsServerOptions) Config

Config returns an apiextensions-apiserver configuration.

func (CustomResourceDefinitionsServerOptions) Validate

Validate validates the apiextensions-apiserver options.

Jump to

Keyboard shortcuts

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