tenancy: split up tenancy `types.go` into CE version (#18966)

This commit is contained in:
Semir Patel 2023-09-22 07:33:15 -05:00 committed by GitHub
parent 0a11499588
commit d2be7577b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 8 deletions

View File

@ -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)
}

View File

@ -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)
}