2021-11-16 12:04:01 -06:00
|
|
|
//go:build !consulent
|
2020-10-21 16:08:33 -04:00
|
|
|
// +build !consulent
|
|
|
|
|
|
|
|
package pbcommon
|
|
|
|
|
2022-04-05 14:10:06 -07:00
|
|
|
import "github.com/hashicorp/consul/acl"
|
2022-03-16 12:12:29 -04:00
|
|
|
|
2022-03-23 12:10:03 -04:00
|
|
|
var DefaultEnterpriseMeta = &EnterpriseMeta{}
|
2022-03-16 12:12:29 -04:00
|
|
|
|
2022-04-05 14:10:06 -07:00
|
|
|
func NewEnterpriseMetaFromStructs(_ acl.EnterpriseMeta) *EnterpriseMeta {
|
2022-03-16 12:12:29 -04:00
|
|
|
return &EnterpriseMeta{}
|
|
|
|
}
|
2022-04-05 14:10:06 -07:00
|
|
|
func EnterpriseMetaToStructs(s *EnterpriseMeta, t *acl.EnterpriseMeta) {
|
2022-03-22 16:30:00 -04:00
|
|
|
if s == nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
2022-04-05 14:10:06 -07:00
|
|
|
func EnterpriseMetaFromStructs(t *acl.EnterpriseMeta, s *EnterpriseMeta) {
|
2022-03-22 16:30:00 -04:00
|
|
|
if s == nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|