2023-03-28 21:12:41 +01:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2018-03-27 16:50:17 -07:00
|
|
|
package api
|
|
|
|
|
2023-03-10 15:52:54 -05:00
|
|
|
// HCPMetricsCollectorName is the service name for the HCP Metrics Collector
|
|
|
|
const HCPMetricsCollectorName string = "hcp-metrics-collector"
|
|
|
|
|
2018-03-27 16:50:17 -07:00
|
|
|
// Connect can be used to work with endpoints related to Connect, the
|
|
|
|
// feature for securely connecting services within Consul.
|
|
|
|
type Connect struct {
|
|
|
|
c *Client
|
|
|
|
}
|
|
|
|
|
2018-03-28 14:16:41 -07:00
|
|
|
// Connect returns a handle to the connect-related endpoints
|
2018-03-27 16:50:17 -07:00
|
|
|
func (c *Client) Connect() *Connect {
|
|
|
|
return &Connect{c}
|
|
|
|
}
|