requirements

package
v0.0.0-...-a69e935 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0, MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAndRequirementBuilder

func NewAndRequirementBuilder(subRequirements ...gPlacement.RequirementBuilder) gPlacement.RequirementBuilder

NewAndRequirementBuilder will create a new and requirement builder for generating and requirements.

func NewLabelRequirementBuilder

func NewLabelRequirementBuilder(scope, label labels.Template, comparison requirements.Comparison,
	occurrences int) gPlacement.RequirementBuilder

NewLabelRequirementBuilder will create a new label requirement builder requiring that the labels occurrences to fulfill the comparison.

func NewMetricRequirementBuilder

func NewMetricRequirementBuilder(metricType metrics.Type, comparison requirements.Comparison,
	value generation.Distribution) gPlacement.RequirementBuilder

NewMetricRequirementBuilder will create a new metrics requirement builder requiring the metric to fulfill the requirement.

func NewOrRequirementBuilder

func NewOrRequirementBuilder(subRequirements ...gPlacement.RequirementBuilder) gPlacement.RequirementBuilder

NewOrRequirementBuilder will create a new or requirement builder for generating or requirements.

func NewRelationRequirementBuilder

func NewRelationRequirementBuilder(scope, relation labels.Template, comparison requirements.Comparison,
	occurrences int) gPlacement.RequirementBuilder

NewRelationRequirementBuilder will create a new relation requirement builder requiring that the relations occurrences to fulfill the comparison.

Types

This section is empty.

Jump to

Keyboard shortcuts

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