Previously using the service name or a custom service name as the only host for the generated ServiceEntry, additional hosts are now supported for the ServiceEntry.
Use []*ServiceHostAlias to configure the original host and all aliases of the original host, if the original host is configured, the Source should append the aliases when convert a ServiceEntry .
NOTE: only nacos source support for now
usage:
the nacos service foo.go will be converted to a ServiceEntry with hosts foo.go,bar.go
Previously using the service name or a custom service name as the only host for the generated
ServiceEntry
, additional hosts are now supported for theServiceEntry
.Use
[]*ServiceHostAlias
to configure the original host and all aliases of the original host, if the original host is configured, theSource
should append the aliases when convert a ServiceEntry .NOTE: only nacos source support for now
usage:
the nacos service
foo.go
will be converted to aServiceEntry
with hostsfoo.go,bar.go