func WithNamespace(ns string) Option {
	return optionFn(func(o *options) {
		o.namespace = ns
	})
}
WithNamespace sets a namespace for the eventer.
package eventer
import (
	"k8s.io/client-go/kubernetes"
	"go.uber.org/zap"
)
type Option interface {
	execute(*options)
}
type options struct {
	kubeClient kubernetes.Interface
	logger     *zap.Logger
	namespace  string
	component  string
}
type optionFn func(o *options)
func (fn optionFn) execute(o *options) {
	fn(o)
}
func WithClient(c kubernetes.Interface) Option {
	return optionFn(func(o *options) {
		o.kubeClient = c
	})
}
func WithLogger(l *zap.Logger) Option {
	return optionFn(func(o *options) {
		o.logger = l
	})
}