2018-03-27 23:50:17 +00:00
|
|
|
package api
|
|
|
|
|
2023-03-10 21:50:30 +00:00
|
|
|
// HCPMetricsCollectorName is the service name for the HCP Metrics Collector
|
|
|
|
const HCPMetricsCollectorName string = "hcp-metrics-collector"
|
|
|
|
|
2018-03-27 23:50:17 +00: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 21:16:41 +00:00
|
|
|
// Connect returns a handle to the connect-related endpoints
|
2018-03-27 23:50:17 +00:00
|
|
|
func (c *Client) Connect() *Connect {
|
|
|
|
return &Connect{c}
|
|
|
|
}
|