controller

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodGroupControllerName = "PodGroupController"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodGroupController

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

PodGroupController is used to control that process pod groups using provided Handler interface

func NewPodGroupController

func NewPodGroupController(
	pgInformer schedinformer.PodGroupInformer,
	podInformer coreinformer.PodInformer,
	pgClient schedclientset.Interface,
	podGroupManager *core.PodGroupManager,
	workers int,
) *PodGroupController

NewPodGroupController returns a new *PodGroupController

func (PodGroupController) Name added in v1.0.0

func (ctrl PodGroupController) Name() string

func (*PodGroupController) Run

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

Run starts listening on channel events

func (*PodGroupController) Start added in v1.0.0

func (ctrl *PodGroupController) Start()

Jump to

Keyboard shortcuts

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