node

package
v0.0.0-...-c01aa29 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

NodeController 调度器控制器

func NewNodeController

func NewNodeController(
	ni informer.Informer,
	stepLister step.Lister,
	stepRecorder step.Recorder,
) *Controller

NewNodeController pipeline controller

func (*Controller) AsyncRun

func (c *Controller) AsyncRun(ctx context.Context) error

func (*Controller) Debug

func (c *Controller) Debug(log logger.Logger)

func (*Controller) HandleAdd

func (c *Controller) HandleAdd(n *node.Node) error

当有新的节点加入时, 那些调度失败的节点需要重新调度

func (*Controller) Run

func (c *Controller) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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