Implement UpdateWorker service method (#2133)
This commit is contained in:
6 files changed
+687
-99
No files matched your search
@@ -2,6 +2,7 @@ syntax = "proto3";
|
||||
|
||||
package controller.storage.servers.store.v1;
|
||||
|
||||
import "controller/custom_options/v1/options.proto";
|
||||
import "controller/storage/timestamp/v1/timestamp.proto";
|
||||
|
||||
option go_package = "github.com/hashicorp/boundary/internal/servers/store;store";
|
||||
@@ -14,15 +15,24 @@ message Worker {
|
||||
|
||||
// Name of the resource (optional)
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string name = 20;
|
||||
string name = 20 [(custom_options.v1.mask_mapping) = {
|
||||
this: "name"
|
||||
that: "name"
|
||||
}];
|
||||
|
||||
// Description of the resource (optional)
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string description = 30;
|
||||
string description = 30 [(custom_options.v1.mask_mapping) = {
|
||||
this: "description"
|
||||
that: "description"
|
||||
}];
|
||||
|
||||
// Address for the worker. This is optional.
|
||||
// @inject_tag: `gorm:"default:null"`
|
||||
string address = 40;
|
||||
string address = 40 [(custom_options.v1.mask_mapping) = {
|
||||
this: "address"
|
||||
that: "address"
|
||||
}];
|
||||
|
||||
// The create_time is set by the database.
|
||||
// @inject_tag: `gorm:"default:current_timestamp"`
|
||||
|
||||
Reference in new issue
Block a user