cache

package
v0.0.0-...-f6c0219 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Log             *zap.Logger
	InformerFactory informers.SharedInformerFactory
}

func (*Cache) GetPodInformer

func (c *Cache) GetPodInformer(ttlCache *ttlcache.Cache) cache.SharedIndexInformer

Creates a PodInformer and indexer, watches events and returns informer

func (*Cache) GetReplicaSetLister

func (c *Cache) GetReplicaSetLister() v1.ReplicaSetLister

Creates a ReplicaSet informer, watches event and returns a Replicaset lister

Jump to

Keyboard shortcuts

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