mirror of https://github.com/status-im/consul.git
25 lines
564 B
Protocol Buffer
25 lines
564 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.catalog.v1alpha1;
|
|
|
|
import "pbresource/annotations.proto";
|
|
|
|
message VirtualIPs {
|
|
option (hashicorp.consul.resource.spec) = {scope: SCOPE_NAMESPACE};
|
|
|
|
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;
|
|
}
|