mirror of https://github.com/hashicorp/consul
parent
6dd0abdc9f
commit
818d00fda3
16
api/agent.go
16
api/agent.go
|
@ -123,10 +123,18 @@ type AgentServiceConnectProxyConfig struct {
|
||||||
|
|
||||||
// AgentMember represents a cluster member known to the agent
|
// AgentMember represents a cluster member known to the agent
|
||||||
type AgentMember struct {
|
type AgentMember struct {
|
||||||
Name string
|
Name string
|
||||||
Addr string
|
Addr string
|
||||||
Port uint16
|
Port uint16
|
||||||
Tags map[string]string
|
Tags map[string]string
|
||||||
|
// Status of the Member which corresponds to github.com/hashicorp/serf/serf.MemberStatus
|
||||||
|
// Value is one of:
|
||||||
|
//
|
||||||
|
// AgentMemberNone = 0
|
||||||
|
// AgentMemberAlive = 1
|
||||||
|
// AgentMemberLeaving = 2
|
||||||
|
// AgentMemberLeft = 3
|
||||||
|
// AgentMemberFailed = 4
|
||||||
Status int
|
Status int
|
||||||
ProtocolMin uint8
|
ProtocolMin uint8
|
||||||
ProtocolMax uint8
|
ProtocolMax uint8
|
||||||
|
|
Loading…
Reference in New Issue