github.com/outbrain/consul@v1.4.5/agent/structs/catalog.go (about)

     1  package structs
     2  
     3  import (
     4  	"github.com/hashicorp/consul/types"
     5  )
     6  
     7  // These are used to manage the built-in "serfHealth" check that's attached
     8  // to every node in the catalog.
     9  const (
    10  	SerfCheckID           types.CheckID = "serfHealth"
    11  	SerfCheckName                       = "Serf Health Status"
    12  	SerfCheckAliveOutput                = "Agent alive and reachable"
    13  	SerfCheckFailedOutput               = "Agent not live or unreachable"
    14  )
    15  
    16  const (
    17  	// These are used to manage the "consul" service that's attached to every
    18  	// Consul server node in the catalog.
    19  	ConsulServiceID   = "consul"
    20  	ConsulServiceName = "consul"
    21  )