apihelpers

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlowSchemaConditionByType

func GetFlowSchemaConditionByType(flowSchema *flowcontrol.FlowSchema, conditionType flowcontrol.FlowSchemaConditionType) *flowcontrol.FlowSchemaCondition

GetFlowSchemaConditionByType gets conditions.

func GetPriorityLevelConfigurationConditionByType

func GetPriorityLevelConfigurationConditionByType(priorityLevel *flowcontrol.PriorityLevelConfiguration, conditionType flowcontrol.PriorityLevelConfigurationConditionType) *flowcontrol.PriorityLevelConfigurationCondition

GetPriorityLevelConfigurationConditionByType gets conditions.

func SetFlowSchemaCondition

func SetFlowSchemaCondition(flowSchema *flowcontrol.FlowSchema, newCondition flowcontrol.FlowSchemaCondition)

SetFlowSchemaCondition sets conditions.

func SetPriorityLevelConfigurationCondition

func SetPriorityLevelConfigurationCondition(priorityLevel *flowcontrol.PriorityLevelConfiguration, newCondition flowcontrol.PriorityLevelConfigurationCondition)

SetPriorityLevelConfigurationCondition sets conditions.

Types

type FlowSchemaSequence

type FlowSchemaSequence []*flowcontrol.FlowSchema

FlowSchemaSequence holds sorted set of pointers to FlowSchema objects. FlowSchemaSequence implements `sort.Interface`

func (FlowSchemaSequence) Len

func (s FlowSchemaSequence) Len() int

func (FlowSchemaSequence) Less

func (s FlowSchemaSequence) Less(i, j int) bool

func (FlowSchemaSequence) Swap

func (s FlowSchemaSequence) Swap(i, j int)

Jump to

Keyboard shortcuts

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