2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2020-01-24 10:04:58 -05:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package xds
|
|
|
|
|
|
|
|
import (
|
2021-02-26 16:23:15 -06:00
|
|
|
envoy_core_v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
|
2021-02-22 15:00:15 -06:00
|
|
|
|
2022-04-05 14:10:06 -07:00
|
|
|
"github.com/hashicorp/consul/acl"
|
2020-01-24 10:04:58 -05:00
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
|
|
|
)
|
|
|
|
|
2022-04-05 14:10:06 -07:00
|
|
|
func parseEnterpriseMeta(node *envoy_core_v3.Node) *acl.EnterpriseMeta {
|
2021-07-22 13:20:45 -05:00
|
|
|
return structs.DefaultEnterpriseMetaInDefaultPartition()
|
2020-01-24 10:04:58 -05:00
|
|
|
}
|