mirror of
https://github.com/status-im/consul.git
synced 2025-02-04 18:03:39 +00:00
7e65678c52
This commit updates mesh gateway watches for cross-partitions communication. * Mesh gateways are keyed by partition and datacenter. * Mesh gateways will now watch gateways in partitions that export services to their partition. * Mesh gateways in non-default partitions will not have cross-datacenter watches. They are not involved in traditional WAN federation.
20 lines
375 B
Go
20 lines
375 B
Go
// +build !consulent
|
|
|
|
package proxycfg
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/hashicorp/go-hclog"
|
|
|
|
"github.com/hashicorp/consul/agent/cache"
|
|
)
|
|
|
|
func (s *handlerMeshGateway) initializeEntWatches(_ context.Context) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *handlerMeshGateway) handleEntUpdate(_ hclog.Logger, _ context.Context, _ cache.UpdateEvent, _ *ConfigSnapshot) error {
|
|
return nil
|
|
}
|