app

package
v1.98.5 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 57 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand added in v1.84.0

func NewCommand() *cobra.Command

NewCommand 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
	KubeInformerFactory           kubeinformers.SharedInformerFactory
	SeedManagementInformerFactory seedmanagementinformers.SharedInformerFactory
	SettingsInformerFactory       settingsinformers.SharedInformerFactory
	SecurityInformerFactory       securityinformers.SharedInformerFactory

	Logs *logsv1.LoggingConfiguration
}

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, kubeClient kubernetes.Interface) 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