informer

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InformersMap sync.Map
View Source
var NamingConvention = "%s-%s-%s"
View Source
var StopChanMap sync.Map

Functions

func NewInformer

func NewInformer(kubeCluster, namespace, srvName 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