Documentation ¶
Index ¶
- Constants
- Variables
- func AKOControlConfig() *akoControlConfig
- func CheckGatewayClassController(controllerName string) bool
- func FindListenerByName(name string, listener []gatewayv1.Listener) int
- func FindListenerStatusByName(name string, status []gatewayv1.ListenerStatus) int
- func FindPortName(serviceName, ns string, servicePort int32, key string) string
- func FindTargetPort(serviceName, ns string, svcPort int32, key string) intstr.IntOrString
- func GetChildName(parentNs, parentName, routeNs, routeName, matchName string) string
- func GetGatewayParentName(namespace, gwName string) string
- func GetPoolGroupName(parentNs, parentName, routeNs, routeName, matchName string) string
- func GetPoolName(...) string
- func InformersToRegister(kclient *kubernetes.Clientset) ([]string, error)
- func VerifyHostnameSubdomainMatch(hostname string) bool
- type GatewayAPIInformers
Constants ¶
View Source
const ( Prefix = "ako-gw-" GatewayController = "ako.vmware.com/avi-lb" )
View Source
const (
GatewayClassGatewayControllerIndex = "GatewayClassGatewayController"
)
View Source
const (
ZeroAttachedRoutes = 0
)
Variables ¶
View Source
var SupportedKinds = map[gatewayv1.ProtocolType][]gatewayv1.RouteGroupKind{ gatewayv1.HTTPProtocolType: {{Kind: lib.HTTPRoute}}, gatewayv1.HTTPSProtocolType: {{Kind: lib.HTTPRoute}}, }
Functions ¶
func AKOControlConfig ¶
func AKOControlConfig() *akoControlConfig
func FindListenerStatusByName ¶
func FindListenerStatusByName(name string, status []gatewayv1.ListenerStatus) int
func FindTargetPort ¶
func FindTargetPort(serviceName, ns string, svcPort int32, key string) intstr.IntOrString
func GetChildName ¶
child vs name format - ako-gw-clustername--encoded value of ako-gw-clustername--parentNs-parentName-routeNs-routeName-encodedMatch
func GetGatewayParentName ¶
parent vs name format - ako-gw-clustername--gatewayNs-gatewayName-EVH
func GetPoolGroupName ¶
func GetPoolName ¶
func InformersToRegister ¶
func InformersToRegister(kclient *kubernetes.Clientset) ([]string, error)
Types ¶
type GatewayAPIInformers ¶
type GatewayAPIInformers struct { GatewayInformer gatewayinformerv1.GatewayInformer GatewayClassInformer gatewayinformerv1.GatewayClassInformer HTTPRouteInformer gatewayinformerv1.HTTPRouteInformer }
Click to show internal directories.
Click to hide internal directories.