workerruntime

package
v0.0.0-...-a134451 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name is the name of the plugin used in the plugin registry and configurations.
	Name = names.WorkerRuntime

	// ErrReason returned when worker name doesn't match.
	ErrReason = "worker(s) didn't match the requested worker runtime"
)

Variables

This section is empty.

Functions

func Fits

func Fits(stage *meta.Stage, workerInfo *framework.WorkerInfo) bool

Fits actually checks if the stage fits the worker.

func New

New initializes a new plugin and returns it.

Types

type WorkerRuntime

type WorkerRuntime struct{}

func (*WorkerRuntime) EventsToRegister

func (pl *WorkerRuntime) EventsToRegister() []framework.ClusterEvent

func (*WorkerRuntime) Filter

func (*WorkerRuntime) Name

func (pl *WorkerRuntime) Name() string

Jump to

Keyboard shortcuts

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