2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2020-01-24 10:04:58 -05:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package structs
|
|
|
|
|
2022-03-12 19:55:53 -08:00
|
|
|
import (
|
|
|
|
"github.com/hashicorp/consul/acl"
|
|
|
|
)
|
|
|
|
|
|
|
|
func (us *Upstream) GetEnterpriseMeta() *acl.EnterpriseMeta {
|
2021-07-22 13:20:45 -05:00
|
|
|
return DefaultEnterpriseMetaInDefaultPartition()
|
2020-01-24 10:04:58 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
func (us *Upstream) DestinationID() ServiceID {
|
|
|
|
return ServiceID{
|
|
|
|
ID: us.DestinationName,
|
|
|
|
}
|
|
|
|
}
|
2021-04-15 13:54:40 -06:00
|
|
|
|
2022-01-20 10:12:04 -06:00
|
|
|
func (us *Upstream) enterpriseStringPrefix() string {
|
2021-12-13 11:43:33 -06:00
|
|
|
return ""
|
2021-04-15 13:54:40 -06:00
|
|
|
}
|