utils

package
v1.18.0-beta26 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatewaysByProxyName added in v0.19.0

func GatewaysByProxyName(gateways v1.GatewayList) map[string]v1.GatewayList

func GetProxyNamesForGateway added in v0.19.0

func GetProxyNamesForGateway(gw *v1.Gateway) []string

func TransitionFunction

func TransitionFunction(statusClient resources.StatusClient) v1.TransitionProxyFunc

Types

type GatewaysAndProxyName added in v1.16.5

type GatewaysAndProxyName struct {
	Gateways v1.GatewayList
	Name     string
}

GatewaysAndProxyName is a struct that holds a list of gateways and a proxy name

func SortedGatewaysByProxyName added in v1.16.5

func SortedGatewaysByProxyName(gateways v1.GatewayList) []GatewaysAndProxyName

SortedGatewaysByProxyName returns a slice of GatewaysAndProxyName structs, sorted by proxy name

Jump to

Keyboard shortcuts

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