app

package
v0.33.5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 45 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
	CoreInformerFactory     gardencoreinformers.SharedInformerFactory
	GardenInformerFactory   gardeninformers.SharedInformerFactory
	KubeInformerFactory     kubeinformers.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