2023-05-05 13:47:28 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2023-08-21 17:31:54 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-05-05 13:47:28 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2023-09-22 16:51:15 +00:00
|
|
|
package hashicorp.consul.catalog.v2beta1;
|
2023-05-05 13:47:28 +00:00
|
|
|
|
2023-09-21 21:18:47 +00:00
|
|
|
import "pbresource/annotations.proto";
|
|
|
|
|
2023-05-05 13:47:28 +00:00
|
|
|
message VirtualIPs {
|
2023-09-21 21:18:47 +00:00
|
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
|
2023-05-05 13:47:28 +00:00
|
|
|
repeated IP ips = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message IP {
|
|
|
|
// address is the string IPv4 address.
|
|
|
|
// This could also store IPv6 in the future.
|
|
|
|
string address = 1;
|
|
|
|
|
|
|
|
// generated indicates whether Consul generated or it is user-provided
|
|
|
|
// (e.g. a ClusterIP of the Kubernetes service).
|
|
|
|
bool generated = 2;
|
|
|
|
}
|