consul/proto/private/pbcommon/common_oss.go

26 lines
529 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !consulent
2020-10-21 20:08:33 +00:00
// +build !consulent
package pbcommon
import "github.com/hashicorp/consul/acl"
2022-03-16 16:12:29 +00:00
2022-03-23 16:10:03 +00:00
var DefaultEnterpriseMeta = &EnterpriseMeta{}
2022-03-16 16:12:29 +00:00
func NewEnterpriseMetaFromStructs(_ acl.EnterpriseMeta) *EnterpriseMeta {
2022-03-16 16:12:29 +00:00
return &EnterpriseMeta{}
}
func EnterpriseMetaToStructs(s *EnterpriseMeta, t *acl.EnterpriseMeta) {
if s == nil {
return
}
}
func EnterpriseMetaFromStructs(t *acl.EnterpriseMeta, s *EnterpriseMeta) {
if s == nil {
return
}
}