mirror of https://github.com/hashicorp/consul
20 lines
407 B
Protocol Buffer
20 lines
407 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.catalog.v1alpha1;
|
|
|
|
message Node {
|
|
repeated NodeAddress addresses = 1;
|
|
}
|
|
|
|
message NodeAddress {
|
|
// host can be an IP or DNS name.Í
|
|
string host = 1;
|
|
|
|
// external indicates whether this address should be used for external communication
|
|
// (aka a WAN address).
|
|
bool external = 3;
|
|
}
|