Separate accounts/host catalogs/host sets into their own packages (#311)
This commit is contained in:
1 parent
936c970635
commit
17ecb6f2ce
64 files changed
+2298
-2265
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package controller.api.resources.authmethods.v1;
|
||||
package controller.api.resources.accounts.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authmethods;authmethods";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/accounts;accounts";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
+2
-19
@@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package controller.api.resources.hosts.v1;
|
||||
package controller.api.resources.hostcatalogs.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts;hosts";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hostcatalogs;hostcatalogs";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
@@ -44,20 +44,3 @@ message HostCatalog {
|
||||
// Attributes specific to the catalog type
|
||||
google.protobuf.Struct attributes = 90 [(custom_options.v1.generate_sdk_option) = true];
|
||||
}
|
||||
|
||||
message StaticHostCatalogDetails {
|
||||
// nothing here yet.
|
||||
}
|
||||
|
||||
message AwsEc2HostCatalogDetails {
|
||||
// The AWS regions from which this catalog will retrieve the EC2 instances.
|
||||
repeated string regions = 10;
|
||||
|
||||
// The access key used for authenticating with AWS when retrieving EC2 instance details.
|
||||
google.protobuf.StringValue access_key = 20 [json_name="access_key"];
|
||||
// Input only.
|
||||
google.protobuf.StringValue secret_key = 30 [json_name="secret_key"];
|
||||
|
||||
// This value will never be returned in a response.
|
||||
google.protobuf.BoolValue rotate = 40;
|
||||
}
|
||||
+2
-5
@@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package controller.api.resources.hosts.v1;
|
||||
package controller.api.resources.hostsets.v1;
|
||||
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hosts;hosts";
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/hostsets;hostsets";
|
||||
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
@@ -55,6 +55,3 @@ message HostSet {
|
||||
// The attributes that are applied for the specific host set type.
|
||||
google.protobuf.Struct attributes = 110;
|
||||
}
|
||||
|
||||
message StaticHostSetAttributes {
|
||||
}
|
||||
Reference in new issue
Block a user