consul/proto-public/pbcatalog/v2beta1/vip.proto

25 lines
563 B
Protocol Buffer

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
package hashicorp.consul.catalog.v2beta1;
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;
}