emissions

package
v0.0.0-...-5a60d54 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Emissions"

Name is the name of the plugin used in the Registry and configurations.

Variables

This section is empty.

Functions

func New

New initializes a new plugin and returns it.

Types

type Emissions

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

Emissions is a prefilter plugin that schedules pods based on the current emssisions score for a region. Implements framework.ScorePlugin

func (*Emissions) Name

func (n *Emissions) Name() string

Name returns name of the plugin. It is used in logs, etc.

func (*Emissions) PreFilter

func (*Emissions) PreFilterExtensions

func (e *Emissions) PreFilterExtensions() framework.PreFilterExtensions

Jump to

Keyboard shortcuts

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