mirror of https://github.com/status-im/consul.git
tenancy: split up tenancy `types.go` into CE version (#18966)
This commit is contained in:
parent
0a11499588
commit
d2be7577b9
|
@ -3,16 +3,8 @@
|
|||
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/hashicorp/consul/internal/resource"
|
||||
)
|
||||
|
||||
const (
|
||||
GroupName = "tenancy"
|
||||
VersionV1Alpha1 = "v1alpha1"
|
||||
CurrentVersion = VersionV1Alpha1
|
||||
)
|
||||
|
||||
func Register(r resource.Registry) {
|
||||
RegisterNamespace(r)
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
//go:build !consulent
|
||||
// +build !consulent
|
||||
|
||||
package types
|
||||
|
||||
import "github.com/hashicorp/consul/internal/resource"
|
||||
|
||||
func Register(r resource.Registry) {
|
||||
RegisterNamespace(r)
|
||||
}
|
Loading…
Reference in New Issue