informer

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InformersMap sync.Map
View Source
var StopChanMap sync.Map

Functions

func DeleteInformer

func DeleteInformer(clusterID, namespace string)

func NewInformer

func NewInformer(clusterID, namespace string, cls *kubernetes.Clientset) (informers.SharedInformerFactory, error)

NewInformer initialize and start an informer for specific namespace in given cluster. Currently the informer will NOT stop unless the service is down If you want to watch a new resource, remember to register here Current list: - Deployment - StatefulSet - Service - Pod - Ingress (extentions/v1beta1) <- as of version 1.9.0, this is the resource we watch

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL