Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (s *TranslatorSyncer) GeneratedDesiredProxies(ctx context.Context, snap *v1.ApiSnapshot) (reconciler.GeneratedProxies, reconciler.InvalidProxies)
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
Click to show internal directories.
Click to hide internal directories.