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

23 lines
454 B
Protocol Buffer
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
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;
}
}