2023-12-12 05:13:20 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
2024-01-10 17:05:12 +00:00
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
2023-12-12 05:13:20 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
2024-02-08 16:05:06 +00:00
|
|
|
package hashicorp.consul.multicluster.v2beta1;
|
2023-12-12 05:13:20 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|