cleaner

package
v0.0.0-...-330f3ae Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2021 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PeriodicCleanup

func PeriodicCleanup(danmClient danmclientset.Interface, podLister corelisters.PodLister, stopCh <-chan struct{})

Types

type Cleaner

type Cleaner struct {
	DanmClient  danmclientset.Interface
	Initialized bool
	PodLister   corelisters.PodLister
	PodSynced   cache.InformerSynced
	Workqueue   workqueue.RateLimitingInterface
}

func New

func New(
	danmClient danmclientset.Interface,
	podInformer coreinformers.PodInformer) *Cleaner

func (*Cleaner) Initialize

func (c *Cleaner) Initialize() bool

func (*Cleaner) Run

func (c *Cleaner) Run(threadiness int, stopCh <-chan struct{}) error

Jump to

Keyboard shortcuts

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