2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2020-10-21 17:45:09 -04:00
|
|
|
// +build !consulent
|
|
|
|
|
2020-09-18 14:05:15 -04:00
|
|
|
package pbservice
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/hashicorp/consul/agent/structs"
|
2022-03-23 12:10:03 -04:00
|
|
|
"github.com/hashicorp/consul/proto/pbcommon"
|
2020-09-18 14:05:15 -04:00
|
|
|
)
|
|
|
|
|
2022-03-23 12:10:03 -04:00
|
|
|
func EnterpriseMetaToStructs(_ *pbcommon.EnterpriseMeta) structs.EnterpriseMeta {
|
2020-09-18 14:05:15 -04:00
|
|
|
return structs.EnterpriseMeta{}
|
|
|
|
}
|
|
|
|
|
2022-03-23 12:10:03 -04:00
|
|
|
func NewEnterpriseMetaFromStructs(_ structs.EnterpriseMeta) *pbcommon.EnterpriseMeta {
|
|
|
|
return &pbcommon.EnterpriseMeta{}
|
2020-09-18 14:05:15 -04:00
|
|
|
}
|