Back to godoc.org
k8s.io/apiserver / pkg / util / apihelpers

Package apihelpers

v0.18.8
Latest Go to latest
Published: 1 day ago | License: Apache-2.0 | Module: k8s.io/apiserver

Index

Package Files

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.

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)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier