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()
Click to show internal directories.
Click to hide internal directories.