Documentation
¶
Index ¶
- func GetController(clientset *kubernetes.Clientset, namespace string, ...) cache.Controller
- func NewEventInformerFuncForNamespace(origin, namespace string) kubeinformersinterfaces.NewInformerFunc
- type EventWatcherConfig
- type GardenerEventWatcher
- type GardenerEventWatcherConfig
- type Options
- type SeedOptions
- type ShootOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetController ¶
func GetController(clientset *kubernetes.Clientset, namespace string, fieldSelector fields.Selector) cache.Controller
func NewEventInformerFuncForNamespace ¶
func NewEventInformerFuncForNamespace(origin, namespace string) kubeinformersinterfaces.NewInformerFunc
Types ¶
type EventWatcherConfig ¶
type GardenerEventWatcher ¶
type GardenerEventWatcher struct {
SeedKubeInformerFactory kubeinformers.SharedInformerFactory
ShootKubeInformerFactory kubeinformers.SharedInformerFactory
}
func (*GardenerEventWatcher) Run ¶
func (e *GardenerEventWatcher) Run(stopCh <-chan struct{})
type GardenerEventWatcherConfig ¶
type GardenerEventWatcherConfig struct {
SeedEventWatcherConfig EventWatcherConfig
SeedKubeInformerFactory kubeinformers.SharedInformerFactory
ShootEventWatcherConfig EventWatcherConfig
ShootKubeInformerFactory kubeinformers.SharedInformerFactory
}
func (*GardenerEventWatcherConfig) New ¶
func (e *GardenerEventWatcherConfig) New() *GardenerEventWatcher
type Options ¶
///////////// Options has all the context and parameters needed to run a Gardener Event Logger.
func (*Options) ApplyTo ¶
func (o *Options) ApplyTo(config *EventWatcherConfig) error
type SeedOptions ¶
type SeedOptions struct {
Options
}
func (*SeedOptions) AddFlags ¶
func (o *SeedOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds all flags to the given FlagSet.
func (*SeedOptions) ApplyTo ¶
func (o *SeedOptions) ApplyTo(config *EventWatcherConfig) error
func (*SeedOptions) Validate ¶
func (o *SeedOptions) Validate() []error
Validate all flags of the given Options.
type ShootOptions ¶
type ShootOptions struct {
Options
}
func (*ShootOptions) AddFlags ¶
func (o *ShootOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds all flags to the given FlagSet.
func (*ShootOptions) ApplyTo ¶
func (o *ShootOptions) ApplyTo(config *EventWatcherConfig) error
func (*ShootOptions) Validate ¶
func (o *ShootOptions) Validate() []error
Validate all flags of the given Options.
Click to show internal directories.
Click to hide internal directories.