syncer

package
v1.18.0-beta28 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 28 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TranslatorSyncer added in v1.9.25

type TranslatorSyncer struct {
	// contains filtered or unexported fields
}

func NewTranslatorSyncer

func NewTranslatorSyncer(ctx context.Context, writeNamespace string, proxyWatcher gloov1.ProxyClient, proxyReconciler reconciler.ProxyReconciler, reporter reporter.StatusReporter, translator translator.Translator, statusClient resources.StatusClient, statusMetrics metrics.ConfigStatusMetrics, identity leaderelector.Identity) *TranslatorSyncer

func (*TranslatorSyncer) GeneratedDesiredProxies added in v1.9.25

GeneratedDesiredProxies performs Edge Gateway-to-Proxy translation for the Edge `Gateways` in the provided snapshot. Successfully translated Proxies and references to any unsuccessfully translated Proxies will be returned along with their corresponding translation reports.

func (*TranslatorSyncer) Sync added in v1.9.25

TODO (ilackarms): make sure that sync happens if proxies get updated as well; may need to resync

func (*TranslatorSyncer) UpdateStatusForAllProxies added in v1.17.5

func (s *TranslatorSyncer) UpdateStatusForAllProxies(ctx context.Context)

This replaced a watch on the proxy CR from when the gloo and gateway pods were separate Now it is called at the end of the gloo translation loop after statuses have been set for proxies This is where we update statuses on gateway types based on the proxy statuses. After this method runs, the gateway syncer's status syncer will have an updated view of the status of all Proxies (those retrieved from the proxy client), which will trigger a status update for the Gateway resources.

Jump to

Keyboard shortcuts

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