constraintenforcer

package
v0.0.0-...-35d28e4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstraintEnforcer

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

ConstraintEnforcer watches for updates to nodes and shuts down tasks that no longer satisfy scheduling constraints or resource limits.

func New

New creates a new ConstraintEnforcer.

func (*ConstraintEnforcer) Run

func (ce *ConstraintEnforcer) Run()

Run is the ConstraintEnforcer's main loop.

func (*ConstraintEnforcer) Stop

func (ce *ConstraintEnforcer) Stop()

Stop stops the ConstraintEnforcer and waits for the main loop to exit.

Jump to

Keyboard shortcuts

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