dataholder

package
v0.0.0-...-c10446a Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllGatewayListenerSections

func GetAllGatewayListenerSections() []gwapiv1.Listener

GetAllGatewayListenerSections return the list of all the listeners that stored in the gateway cache

func GetGatewayMap

func GetGatewayMap() map[string]gwapiv1.Gateway

GetGatewayMap returns list of cached gateways

func GetListenersAsPortalPortMap

func GetListenersAsPortalPortMap() map[string]map[uint32][]gwapiv1.Listener

GetListenersAsPortalPortMap returns a map that have a structure protocol -> port -> list of listeners for that port and protocol combination Data is derived based on the current status of the gatwayMap cache

func RemoveGateway

func RemoveGateway(gateway gwapiv1.Gateway)

RemoveGateway removes the gateway from the cache

func UpdateGateway

func UpdateGateway(gateway gwapiv1.Gateway)

UpdateGateway caches the gateway

Types

This section is empty.

Jump to

Keyboard shortcuts

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