app

package
v0.55.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartGardenerEventLogger

func NewCommandStartGardenerEventLogger() *cobra.Command

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

Types

type Options

type Options struct {
	SeedEventWatcher  events.SeedOptions
	ShootEventWatcher events.ShootOptions
}

Options has all the context and parameters needed to run a Gardener Events logger.

func NewOptions

func NewOptions() *Options

NewOptions returns a new Options object.

func (*Options) AddFlags

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

AddFlags adds all flags to the given FlagSet.

func (*Options) ApplyTo

func (o *Options) ApplyTo(config *events.GardenerEventWatcherConfig) error

ApplyTo applies the options to the given config.

func (*Options) Run

func (o *Options) Run(stopCh <-chan struct{}) error

Run runs gardener-apiserver with the given Options.

func (*Options) Validate

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