consul/agent/xds/configfetcher/config_fetcher.go

8 lines
224 B
Go

package configfetcher
// ConfigFetcher is the interface the agent needs to expose
// for the xDS server to fetch agent config, currently only one field is fetched
type ConfigFetcher interface {
AdvertiseAddrLAN() string
}