apiextensions-apiserver: k8s.io/apiextensions-apiserver/pkg/cmd/server/options Index | Files

package options

import "k8s.io/apiextensions-apiserver/pkg/cmd/server/options"

Index

Package Files

options.go

func NewCRDRESTOptionsGetter Uses

func NewCRDRESTOptionsGetter(etcdOptions genericoptions.EtcdOptions) genericregistry.RESTOptionsGetter

NewCRDRESTOptionsGetter create a RESTOptionsGetter for CustomResources.

type CustomResourceDefinitionsServerOptions Uses

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 Uses

func NewCustomResourceDefinitionsServerOptions(out, errOut io.Writer) *CustomResourceDefinitionsServerOptions

NewCustomResourceDefinitionsServerOptions creates default options of an apiextensions-apiserver.

func (CustomResourceDefinitionsServerOptions) AddFlags Uses

func (o CustomResourceDefinitionsServerOptions) AddFlags(fs *pflag.FlagSet)

AddFlags adds the apiextensions-apiserver flags to the flagset.

func (*CustomResourceDefinitionsServerOptions) Complete Uses

func (o *CustomResourceDefinitionsServerOptions) Complete() error

Complete fills in missing options.

func (CustomResourceDefinitionsServerOptions) Config Uses

func (o CustomResourceDefinitionsServerOptions) Config() (*apiserver.Config, error)

Config returns an apiextensions-apiserver configuration.

func (CustomResourceDefinitionsServerOptions) Validate Uses

func (o CustomResourceDefinitionsServerOptions) Validate() error

Validate validates the apiextensions-apiserver options.

Package options imports 16 packages (graph) and is imported by 8 packages. Updated 2019-08-29. Refresh now. Tools for package owners.