mirror of https://github.com/hashicorp/consul
30 lines
645 B
Protocol Buffer
30 lines
645 B
Protocol Buffer
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: MPL-2.0
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package hashicorp.consul.mesh.v2beta1.pbproxystate;
|
||
|
|
||
|
import "pbresource/resource.proto";
|
||
|
|
||
|
message LeafCertificateRef {
|
||
|
string name = 1;
|
||
|
string namespace = 2;
|
||
|
string partition = 3;
|
||
|
string host = 4;
|
||
|
string datacenter = 5;
|
||
|
repeated string dns_san = 6;
|
||
|
}
|
||
|
|
||
|
message TrustBundleRef {
|
||
|
string peer = 1;
|
||
|
string trust_domain = 2;
|
||
|
}
|
||
|
|
||
|
message EndpointRef {
|
||
|
// id is the ServiceEndpoints resource id.
|
||
|
hashicorp.consul.resource.ID id = 1;
|
||
|
// port is the name of the port in the ServiceEndpoints to generate the Endpoints from.
|
||
|
string port = 2;
|
||
|
}
|