app

package
v1.22.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 47 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartGardenerAPIServer

func NewCommandStartGardenerAPIServer() *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
}

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

func NewOptions

func NewOptions() *Options

NewOptions returns a new Options object.

func (*Options) AddFlags added in v1.20.0

func (o *Options) AddFlags(flags *pflag.FlagSet)

AddFlags adds all flags to the given FlagSet.

func (*Options) ApplyTo added in v0.33.0

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

ApplyTo applies the options to the given config.

func (*Options) Run added in v1.20.0

func (o *Options) Run(ctx context.Context) error

Run runs gardener-apiserver with the given Options.

func (*Options) Validate added in v1.20.0

func (o *Options) Validate() error

Validate validates all the required options.

Jump to

Keyboard shortcuts

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