-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NET-6771 - Adding sameness group protobuff in consul CE (#19883)
Adding sameness group protobuff in consul CE
- Loading branch information
Showing
9 changed files
with
444 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright (c) HashiCorp, Inc. | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
|
||
//go:build !consulent | ||
|
||
package types | ||
|
||
import "github.com/hashicorp/consul/internal/resource" | ||
|
||
func RegisterEnterprise(r resource.Registry) { | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
proto-public/pbmulticluster/v2beta1/sameness_group.pb.binary.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
292 changes: 292 additions & 0 deletions
292
proto-public/pbmulticluster/v2beta1/sameness_group.pb.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// 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; | ||
} | ||
} |
Oops, something went wrong.