mirror of
https://github.com/status-im/consul.git
synced 2025-01-09 21:35:52 +00:00
b117eb0126
For consistency, resource type names must follow these rules: - `Group` must be snake case, and in most cases a single word. - `GroupVersion` must be lowercase, start with a "v" and end with a number. - `Kind` must be pascal case. These were chosen because they map to our protobuf type naming conventions.
12 lines
207 B
Go
12 lines
207 B
Go
package resource
|
|
|
|
import "github.com/hashicorp/consul/proto-public/pbresource"
|
|
|
|
var (
|
|
TypeV1Tombstone = &pbresource.Type{
|
|
Group: "internal",
|
|
GroupVersion: "v1",
|
|
Kind: "Tombstone",
|
|
}
|
|
)
|