strategy

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package strategy provides schedule constraints implements.

Function ConstraintsFit is the only external interface

Currently, constraints include: LIKE UNLIKE UNIQUE MAXPER GROUPBY CLUSTER GREATER EXCLUDE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstraintsFit

func ConstraintsFit(version *types.Version, offer *mesos.Offer, store store.Store, taskgroupID string) (bool, error)

ConstraintsFit Check whether an offer matches with the constraints for an application

Types

This section is empty.

Jump to

Keyboard shortcuts

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