2023-03-28 20:12:41 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-11 13:12:13 +00:00
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
2023-03-28 20:12:41 +00:00
|
|
|
|
2021-11-16 18:04:01 +00:00
|
|
|
//go:build !consulent
|
2019-10-15 20:58:50 +00:00
|
|
|
|
|
|
|
package acl
|
|
|
|
|
peering: initial sync (#12842)
- Add endpoints related to peering: read, list, generate token, initiate peering
- Update node/service/check table indexing to account for peers
- Foundational changes for pushing service updates to a peer
- Plumb peer name through Health.ServiceNodes path
see: ENT-1765, ENT-1280, ENT-1283, ENT-1283, ENT-1756, ENT-1739, ENT-1750, ENT-1679,
ENT-1709, ENT-1704, ENT-1690, ENT-1689, ENT-1702, ENT-1701, ENT-1683, ENT-1663,
ENT-1650, ENT-1678, ENT-1628, ENT-1658, ENT-1640, ENT-1637, ENT-1597, ENT-1634,
ENT-1613, ENT-1616, ENT-1617, ENT-1591, ENT-1588, ENT-1596, ENT-1572, ENT-1555
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
Co-authored-by: freddygv <freddy@hashicorp.com>
Co-authored-by: Chris S. Kim <ckim@hashicorp.com>
Co-authored-by: Evan Culver <eculver@hashicorp.com>
Co-authored-by: Nitya Dhanushkodi <nitya@hashicorp.com>
2022-04-21 22:34:40 +00:00
|
|
|
const (
|
2022-10-13 22:54:14 +00:00
|
|
|
WildcardPartitionName = ""
|
|
|
|
DefaultPartitionName = ""
|
2024-05-28 22:20:59 +00:00
|
|
|
// NonEmptyDefaultPartitionName is the name of the default partition that is
|
|
|
|
// not empty. An example of this being supplied is when a partition is specified
|
|
|
|
// in the request for DNS by consul-dataplane. This has been added to support
|
|
|
|
// DNS v1.5, which needs to be compatible with the original DNS subsystem which
|
|
|
|
// supports partition being "default" or empty. Otherwise, use DefaultPartitionName.
|
|
|
|
NonEmptyDefaultPartitionName = "default"
|
|
|
|
|
|
|
|
// DefaultNamespaceName is used to mimic the behavior in consul/structs/intention.go,
|
|
|
|
// where we define IntentionDefaultNamespace as 'default' and so we use the same here.
|
|
|
|
// This is a little bit strange; one might want it to be "" like DefaultPartitionName.
|
|
|
|
DefaultNamespaceName = "default"
|
2021-09-07 20:29:32 +00:00
|
|
|
|
2024-05-28 22:20:59 +00:00
|
|
|
// EmptyNamespaceName is the name of the default partition that is an empty string.
|
|
|
|
// An example of this being supplied is when a namespace is specifiedDNS v1.
|
|
|
|
// EmptyNamespaceName has been added to support DNS v1.5, which needs to be
|
|
|
|
// compatible with the original DNS subsystem which supports partition being "default" or empty.
|
|
|
|
// Otherwise, use DefaultNamespaceName.
|
|
|
|
EmptyNamespaceName = ""
|
|
|
|
)
|
2022-03-12 03:51:24 +00:00
|
|
|
|
2020-01-13 20:51:40 +00:00
|
|
|
type EnterpriseConfig struct {
|
2023-08-22 14:46:03 +00:00
|
|
|
// no fields in CE
|
2020-01-13 20:51:40 +00:00
|
|
|
}
|
2019-12-06 19:01:34 +00:00
|
|
|
|
2020-01-13 20:51:40 +00:00
|
|
|
func (_ *EnterpriseConfig) Close() {
|
|
|
|
// do nothing
|
|
|
|
}
|