apihelpers

package
Version: v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

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)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL