consul/proto-public/pbmulticluster/v2beta1/sameness_group.proto

23 lines
453 B
Protocol Buffer
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
2024-01-10 17:05:12 +00:00
// SPDX-License-Identifier: MPL-2.0
syntax = "proto3";
package hashicorp.consul.multicluster.v2beta1;
import "pbresource/annotations.proto";
message SamenessGroup {
option (hashicorp.consul.resource.spec) = {scope: SCOPE_PARTITION};
bool default_for_failover = 1;
repeated SamenessGroupMember members = 2;
}
message SamenessGroupMember {
oneof member {
string peer = 1;
string partition = 2;
}
}