controller

package
v0.0.0-...-fe9cd46 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodGroupController

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

PodGroupController is a controller that process pod groups using provided Handler interface

func NewPodGroupController

func NewPodGroupController(client kubernetes.Interface,
	pgInformer pginformer.PodGroupInformer,
	pgRateLimiter workqueue.RateLimiter,
	pgClient *pgclientset.Clientset,
	pgCache pgcache.Cache, rejectPod func(types.UID),
	addToBackOff func(string)) *PodGroupController

NewPodGroupController returns a new *PodGroupController

func (*PodGroupController) Run

func (ctrl *PodGroupController) Run(workers int, stopCh <-chan struct{})

Run starts listening on channel events

Jump to

Keyboard shortcuts

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