2023-03-28 22:48:58 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 22:48:58 +00:00
|
|
|
|
2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2020-10-21 21:45:09 +00:00
|
|
|
// +build !consulent
|
|
|
|
|
2020-09-18 18:05:15 +00:00
|
|
|
package pbservice
|
|
|
|
|
|
|
|
import (
|
2022-04-05 21:10:06 +00:00
|
|
|
"github.com/hashicorp/consul/acl"
|
2023-02-17 21:14:46 +00:00
|
|
|
"github.com/hashicorp/consul/proto/private/pbcommon"
|
2020-09-18 18:05:15 +00:00
|
|
|
)
|
|
|
|
|
2022-04-05 21:10:06 +00:00
|
|
|
func EnterpriseMetaToStructs(_ *pbcommon.EnterpriseMeta) acl.EnterpriseMeta {
|
|
|
|
return acl.EnterpriseMeta{}
|
2020-09-18 18:05:15 +00:00
|
|
|
}
|
|
|
|
|
2022-04-05 21:10:06 +00:00
|
|
|
func NewEnterpriseMetaFromStructs(_ acl.EnterpriseMeta) *pbcommon.EnterpriseMeta {
|
2022-03-23 16:10:03 +00:00
|
|
|
return &pbcommon.EnterpriseMeta{}
|
2020-09-18 18:05:15 +00:00
|
|
|
}
|