consul/agent/structs/connect_proxy_config_oss.go

19 lines
342 B
Go

//go:build !consulent
// +build !consulent
package structs
func (us *Upstream) GetEnterpriseMeta() *EnterpriseMeta {
return DefaultEnterpriseMetaInDefaultPartition()
}
func (us *Upstream) DestinationID() ServiceID {
return ServiceID{
ID: us.DestinationName,
}
}
func (us *Upstream) enterpriseIdentifierPrefix() string {
return ""
}