spreadconstraint

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 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 = "SpreadConstraint"
)

Variables

This section is empty.

Functions

func New

func New() (framework.Plugin, error)

New instantiates the spreadconstraint plugin.

Types

type SpreadConstraint

type SpreadConstraint struct{}

SpreadConstraint is a plugin that checks if spread property in the Cluster.Spec.

func (*SpreadConstraint) Filter

Filter checks if the cluster Provider/Zone/Region spread is null.

func (*SpreadConstraint) Name

func (p *SpreadConstraint) Name() string

Name returns the plugin name.

Jump to

Keyboard shortcuts

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