ensurer

package
v1.22.14-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFlowSchemaRemoveCandidate

func GetFlowSchemaRemoveCandidate(client flowcontrolclient.FlowSchemaInterface, bootstrap []*flowcontrolv1beta1.FlowSchema) ([]string, error)

GetFlowSchemaRemoveCandidate returns a list of FlowSchema object names that are candidates for deletion from the cluster. bootstrap: a set of hard coded FlowSchema configuration objects kube-apiserver maintains in-memory.

func GetPriorityLevelRemoveCandidate

GetPriorityLevelRemoveCandidate returns a list of PriorityLevelConfiguration names that are candidates for removal from the cluster. bootstrap: a set of hard coded PriorityLevelConfiguration configuration objects kube-apiserver maintains in-memory.

Types

type FlowSchemaEnsurer

type FlowSchemaEnsurer interface {
	Ensure([]*flowcontrolv1beta1.FlowSchema) error
}

FlowSchemaEnsurer ensures the specified bootstrap configuration objects

func NewMandatoryFlowSchemaEnsurer

func NewMandatoryFlowSchemaEnsurer(client flowcontrolclient.FlowSchemaInterface) FlowSchemaEnsurer

NewMandatoryFlowSchemaEnsurer returns a FlowSchemaEnsurer instance that can be used to ensure a set of mandatory FlowSchema configuration objects.

func NewSuggestedFlowSchemaEnsurer

func NewSuggestedFlowSchemaEnsurer(client flowcontrolclient.FlowSchemaInterface) FlowSchemaEnsurer

NewSuggestedFlowSchemaEnsurer returns a FlowSchemaEnsurer instance that can be used to ensure a set of suggested FlowSchema configuration objects.

type FlowSchemaRemover

type FlowSchemaRemover interface {
	Remove([]string) error
}

FlowSchemaRemover removes the specified bootstrap configuration objects

func NewFlowSchemaRemover

func NewFlowSchemaRemover(client flowcontrolclient.FlowSchemaInterface) FlowSchemaRemover

NewFlowSchemaRemover returns a FlowSchemaRemover instance that can be used to remove a set of FlowSchema configuration objects.

type PriorityLevelEnsurer

type PriorityLevelEnsurer interface {
	Ensure([]*flowcontrolv1beta1.PriorityLevelConfiguration) error
}

PriorityLevelEnsurer ensures the specified bootstrap configuration objects

func NewMandatoryPriorityLevelEnsurer

func NewMandatoryPriorityLevelEnsurer(client flowcontrolclient.PriorityLevelConfigurationInterface) PriorityLevelEnsurer

NewMandatoryPriorityLevelEnsurer returns a PriorityLevelEnsurer instance that can be used to ensure a set of mandatory PriorityLevelConfiguration configuration objects.

func NewSuggestedPriorityLevelEnsurerEnsurer

func NewSuggestedPriorityLevelEnsurerEnsurer(client flowcontrolclient.PriorityLevelConfigurationInterface) PriorityLevelEnsurer

NewSuggestedPriorityLevelEnsurerEnsurer returns a PriorityLevelEnsurer instance that can be used to ensure a set of suggested PriorityLevelConfiguration configuration objects.

type PriorityLevelRemover

type PriorityLevelRemover interface {
	Remove([]string) error
}

PriorityLevelRemover removes the specified bootstrap configuration objects

func NewPriorityLevelRemover

NewPriorityLevelRemover returns a PriorityLevelRemover instance that can be used to remove a set of PriorityLevelConfiguration configuration objects.

Jump to

Keyboard shortcuts

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