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