nova

package
v0.0.0-...-ddb491b Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func NewPipeline

Create a new Nova scheduler pipeline.

Types

type StepScoper

type StepScoper struct {
	// The wrapped step to scope.
	Step scheduler.Step[api.ExternalSchedulerRequest]
	// 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 conf.RawOpts) error

Initialize the wrapped step with the database and options.

func (*StepScoper) Run

Run the step and sRun(traceLog *slog.Logger, request api.ExternalSchedulerRequest) (*scheduler.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