xds

package
v0.0.0-...-e46bc45 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSingleApplication

func AddSingleApplication(label string, application internal_types.ApplicationEvent)

AddSingleApplication will update the Application specified by the UUID to the xds cache

func AddSingleSubscription

func AddSingleSubscription(label string, subscription internal_types.SubscriptionEvent)

AddSingleSubscription will update the Subscription specified by the UUID to the xds cache

func FeedData

func FeedData()

FeedData mock data

func InitAPKMgtServer

func InitAPKMgtServer()

InitAPKMgtServer initializes the APK management server

func RemoveApplication

func RemoveApplication(label, appUUID string)

RemoveApplication removes the Application entry from XDS cache

func RemoveSubscription

func RemoveSubscription(label, subUUID string)

RemoveSubscription removes the Subscription entry from XDS cache

func SetEmptySnapshot

func SetEmptySnapshot(label string) error

SetEmptySnapshot sets an empty snapshot into the applicationCache for the given label this is used to set empty snapshot when there are no Applications available for a label

Types

type IDHash

type IDHash struct{}

IDHash uses ID field as the node hash.

func (IDHash) ID

func (IDHash) ID(node *corev3.Node) string

ID uses the node ID field

Directories

Path Synopsis
Package callbacks is used to intercept the XDS requests/responses
Package callbacks is used to intercept the XDS requests/responses

Jump to

Keyboard shortcuts

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