app

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 46 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartGardenerAPIServer

func NewCommandStartGardenerAPIServer(out, errOut io.Writer, stopCh <-chan struct{}) *cobra.Command

NewCommandStartGardenerAPIServer creates a *cobra.Command object with default parameters.

Types

type Options

type Options struct {
	Recommended                   *genericoptions.RecommendedOptions
	ServerRunOptions              *genericoptions.ServerRunOptions
	ExtraOptions                  *apiserver.ExtraOptions
	CoreInformerFactory           gardencoreinformers.SharedInformerFactory
	ExternalCoreInformerFactory   gardenexternalcoreinformers.SharedInformerFactory
	KubeInformerFactory           kubeinformers.SharedInformerFactory
	SeedManagementInformerFactory seedmanagementinformer.SharedInformerFactory
	SettingsInformerFactory       settingsinformer.SharedInformerFactory
	StdOut                        io.Writer
	StdErr                        io.Writer
}

Options has all the context and parameters needed to run a Gardener API server.

func NewOptions

func NewOptions(out, errOut io.Writer) *Options

NewOptions returns a new Options object.

func (*Options) ApplyTo added in v0.33.0

func (o *Options) ApplyTo(config *apiserver.Config) error

ApplyTo applies the options to the given config.

Jump to

Keyboard shortcuts

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