Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseNotifier ¶
type BaseNotifier struct {
// contains filtered or unexported fields
}
func NewBaseNotifier ¶
func NewBaseNotifier() BaseNotifier
func (*BaseNotifier) Notify ¶
func (i *BaseNotifier) Notify(event *informer.Event)
func (*BaseNotifier) Subscribe ¶
func (i *BaseNotifier) Subscribe(observer Observer)
func (*BaseNotifier) Unsubscribe ¶
func (i *BaseNotifier) Unsubscribe(observer Observer)
type InformerOption ¶
type InformerOption func(*informersConfig)
func WithKubeClient ¶
func WithKubeClient(client kubernetes.Interface) InformerOption
func WithKubeConfigPath ¶
func WithKubeConfigPath(path string) InformerOption
func WithResyncPeriod ¶
func WithResyncPeriod(period time.Duration) InformerOption
func WithoutNodes ¶
func WithoutNodes() InformerOption
func WithoutServices ¶
func WithoutServices() InformerOption
type Informers ¶
type Informers struct { BaseNotifier // contains filtered or unexported fields }
func InitInformers ¶
func InitInformers(ctx context.Context, opts ...InformerOption) (*Informers, error)
Click to show internal directories.
Click to hide internal directories.