syncer

package
v1.12.0-beta9 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 26 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(ctx context.Context, kubeCache kube.SharedCache, inMemoryCache memory.InMemoryResourceCache, settings *gloov1.Settings) error

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) *TranslatorSyncer

func (*TranslatorSyncer) GeneratedDesiredProxies added in v1.9.25

func (*TranslatorSyncer) Sync added in v1.9.25

func (s *TranslatorSyncer) Sync(ctx context.Context, snap *v1.ApiSnapshot) error

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