Skip to content

Commit

Permalink
resource: add partition resource to proto-public to keep ENT and CE i…
Browse files Browse the repository at this point in the history
…n sync (#19920)
  • Loading branch information
analogue authored Dec 12, 2023
1 parent a5d5fd3 commit 69e3f93
Show file tree
Hide file tree
Showing 6 changed files with 259 additions and 0 deletions.
18 changes: 18 additions & 0 deletions proto-public/pbtenancy/v2beta1/partition.pb.binary.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

170 changes: 170 additions & 0 deletions proto-public/pbtenancy/v2beta1/partition.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions proto-public/pbtenancy/v2beta1/partition.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
syntax = "proto3";

package hashicorp.consul.tenancy.v2beta1;

import "pbresource/annotations.proto";

// The name of the partition (enterprise only) is in the outer Resource.ID.Name.
// It must be unique within a cluster and must be a DNS hostname.
// There are also other reserved names that may not be used.
message Partition {
option (hashicorp.consul.resource.spec) = {scope: SCOPE_CLUSTER};

// Optional user provided description. It is not used internally.
string description = 1;
}
27 changes: 27 additions & 0 deletions proto-public/pbtenancy/v2beta1/partition_deepcopy.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions proto-public/pbtenancy/v2beta1/partition_json.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions proto-public/pbtenancy/v2beta1/resource_types.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69e3f93

Please sign in to comment.