pipeline

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: 15 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
}

PipelineTaskScheduler 调度器控制器

func NewPipelineController

func NewPipelineController(
	schedulerName string,
	nodeStore cache.Store,
	pi informer.Informer,
	si step.Informer,

) *Controller

NewPipelineController 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) Run

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

func (*Controller) SetPipelinePicker

func (c *Controller) SetPipelinePicker(picker algorithm.PipelinePicker)

SetPicker 设置Node挑选器

func (*Controller) UpdateStepCallback

func (c *Controller) UpdateStepCallback(old, new *pipeline.Step)

step 如果完成后, 将状态记录到Pipeline上, 并删除step

Jump to

Keyboard shortcuts

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