Documentation ¶
Index ¶
- func NewAndRequirementBuilder(subRequirements ...gPlacement.RequirementBuilder) gPlacement.RequirementBuilder
- func NewLabelRequirementBuilder(scope, label labels.Template, comparison requirements.Comparison, ...) gPlacement.RequirementBuilder
- func NewMetricRequirementBuilder(metricType metrics.Type, comparison requirements.Comparison, ...) gPlacement.RequirementBuilder
- func NewOrRequirementBuilder(subRequirements ...gPlacement.RequirementBuilder) gPlacement.RequirementBuilder
- func NewRelationRequirementBuilder(scope, relation labels.Template, comparison requirements.Comparison, ...) gPlacement.RequirementBuilder
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.
Click to show internal directories.
Click to hide internal directories.