syncer

package
v1.16.13 Latest Latest
Warning

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

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

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

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) UpdateProxies added in v1.9.25

func (s *TranslatorSyncer) UpdateProxies(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

Jump to

Keyboard shortcuts

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