nova

package
v0.0.0-...-c951766 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	TopicFinished = "cortex/scheduler/nova/pipeline/finished"
)

Variables

This section is empty.

Functions

func NewNovaPipelineConsumer

func NewNovaPipelineConsumer() *novaPipelineConsumer

func NewPipeline

Create a new Nova scheduler pipeline.

Types

type NovaStep

type NovaStep = scheduling.Step[api.PipelineRequest]

type StepScoper

type StepScoper struct {
	// The wrapped step to scope.
	Step scheduling.Step[api.PipelineRequest]
	// The scope for this step.
	Scope conf.NovaSchedulerStepScope
	// The database to use for querying host capabilities.
	DB db.DB
}

func (*StepScoper) GetAlias

func (s *StepScoper) GetAlias() string

Get the alias of the wrapped step.

func (*StepScoper) GetName

func (s *StepScoper) GetName() string

Get the name of the wrapped step.

func (*StepScoper) Init

func (s *StepScoper) Init(alias string, db db.DB, opts libconf.RawOpts) error

Initialize the wrapped step with the database and options.

func (*StepScoper) Run

func (s *StepScoper) Run(traceLog *slog.Logger, request api.PipelineRequest) (*scheduling.StepResult, error)

Run the step and sRun(traceLog *slog.Logger, request api.ExternalSchedulerRequest) (*scheduling.StepResult, error)

Directories

Path Synopsis
api
plugins
kvm

Jump to

Keyboard shortcuts

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