* Setup buf to see and process protos correctly. This commit adds a proposed directory structure for protos. Included is a rough draft of the Ec2Catalog protos. * Setup buf to see and process protos correctly. This commit adds a proposed directory structure for protos, but leaves the existing oplog related protos alone. Included is a rough draft of the Ec2Catalog protos. * Update makefile and add script to generate the appropriate pb.go files. * Add comment explaining google.golang.org/protobuf vs github.com/golang/protobuf * Move all protos and generated files to under the internal directory. This also required updating the buf config to explicitly name the excluded linted proto files under oplog since previously /internal/ was listed as a root in buf. Future commit will move oplog proto files to be with the others. * Moved oplog related protos to under the proto directory and regenerated. * Update the oplog protos to be compliant with buf lint.
12 lines
304 B
Protocol Buffer
12 lines
304 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package controller.storage.v1;
|
|
|
|
option go_package = "github.com/hashicorp/watchtower/internal/gen/controller/storage;storage";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
|
|
// A placeholder is empty to capture the directory structure for storage focused protos.
|
|
message Placeholder {
|
|
}
|