feat(host/plugin): Support External Name field
The new `ExternalName` field is an optional field that is used to store the cloud providers' human-identifiable name for a given compute instance. This field is not user-editable, but it is kept in sync with the cloud provider's through Boundary's `SetSyncJob`.
This commit is contained in:
1 parent
26ebaefd70
commit
2ff9b8efac
13 files changed
+340
-132
No files matched your search
@@ -165,6 +165,10 @@ message Host {
|
||||
// @inject_tag: `gorm:"not_null"`
|
||||
string external_id = 2;
|
||||
|
||||
// external_name is an optional name provided by the plugin.
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string external_name = 11;
|
||||
|
||||
// The create_time is set by the database.
|
||||
// @inject_tag: `gorm:"default:current_timestamp"`
|
||||
timestamp.v1.Timestamp create_time = 3;
|
||||
|
||||
Reference in new issue
Block a user