You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/agent/consul/tenancy_bridge.go

18 lines
531 B

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package consul
import "github.com/hashicorp/consul/agent/grpc-external/services/resource"
// V1TenancyBridge is used by the resource service to access V1 implementations of
// partitions and namespaces. This bridge will be removed when V2 implemenations
// of partitions and namespaces are available.
type V1TenancyBridge struct {
server *Server
}
func NewV1TenancyBridge(server *Server) resource.TenancyBridge {
return &V1TenancyBridge{server: server}
}