You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/proto-public/pbmulticluster/v2/computed_exported_services....

29 lines
652 B

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
package hashicorp.consul.multicluster.v2;
import "pbresource/annotations.proto";
import "pbresource/resource.proto";
message ComputedExportedServices {
option (hashicorp.consul.resource.spec) = {scope: SCOPE_PARTITION};
repeated ComputedExportedService services = 1;
}
message ComputedExportedService {
hashicorp.consul.resource.Reference target_ref = 1;
repeated ComputedExportedServiceConsumer consumers = 2;
}
message ComputedExportedServiceConsumer {
// no sameness group
oneof tenancy {
string peer = 3;
string partition = 4;
}
}