mirror of https://github.com/hashicorp/consul
23 lines
448 B
Protocol Buffer
23 lines
448 B
Protocol Buffer
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: MPL-2.0
|
||
|
|
||
|
syntax = "proto3";
|
||
|
|
||
|
package hashicorp.consul.multicluster.v2;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|