informer

package
v0.0.0-...-19fb9ea Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGlobalMapClusterNamespace

func NewGlobalMapClusterNamespace() map[string]map[string]bool

Types

type K8sInformerFactory

type K8sInformerFactory interface {
	GetLatestNamespaceListGroupByCLuster() map[string]map[string]bool
	BuildInformer(clusterInfo []*bean.ClusterInfo)
	CleanNamespaceInformer(clusterName string)
}

type K8sInformerFactoryImpl

type K8sInformerFactoryImpl struct {
	// contains filtered or unexported fields
}

func NewK8sInformerFactoryImpl

func NewK8sInformerFactoryImpl(logger *zap.SugaredLogger, globalMapClusterNamespace map[string]map[string]bool, runtimeConfig *client.RuntimeConfig) *K8sInformerFactoryImpl

func (*K8sInformerFactoryImpl) BuildInformer

func (impl *K8sInformerFactoryImpl) BuildInformer(clusterInfo []*bean.ClusterInfo)

func (*K8sInformerFactoryImpl) CleanNamespaceInformer

func (impl *K8sInformerFactoryImpl) CleanNamespaceInformer(clusterName string)

func (*K8sInformerFactoryImpl) GetLatestNamespaceListGroupByCLuster

func (impl *K8sInformerFactoryImpl) GetLatestNamespaceListGroupByCLuster() map[string]map[string]bool

Jump to

Keyboard shortcuts

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