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/structs/catalog.go

25 lines
727 B

package structs
import (
"github.com/hashicorp/consul/types"
)
// These are used to manage the built-in "serfHealth" check that's attached
// to every node in the catalog.
const (
SerfCheckID types.CheckID = "serfHealth"
SerfCheckName = "Serf Health Status"
SerfCheckAliveOutput = "Agent alive and reachable"
SerfCheckFailedOutput = "Agent not live or unreachable"
)
const (
// These are used to manage the "consul" service that's attached to every
// Consul server node in the catalog.
ConsulServiceID = "consul"
ConsulServiceName = "consul"
// ConnectProxyServiceName is the name of the proxy services.
ConnectProxyServiceName = "connect-proxy"
)