Files
threshold/internal/proto/controller/servers/v1/servers.proto
T
HaotianandTodd 1830605a7e refact(servers) Update api for new worker and controller server tables (#2101)
* Discontinue support for old Server message in ServerCoordinationService. Split message into ServerWorkerStatus and UpstreamServer (which currently contains controller addresses). Remove unnecessary fields. Modify workerStatusServer to use new fields.

Co-authored-by: Todd <github@quaddi.com>
2022-06-03 11:59:02 -07:00

27 lines
583 B
Protocol Buffer

syntax = "proto3";
package controller.servers.v1;
option go_package = "github.com/hashicorp/boundary/internal/servers;servers";
// TagPair matches a key to a value.
message TagPair {
string key = 1;
string value = 2;
}
// ServerWorkerStatus is the new message used in place of Server to relay status request info.
message ServerWorkerStatus {
// Id of the worker.
string public_id = 10;
// Name of the resource (optional)
string name = 20;
// Address for the worker. This must be set.
string address = 30;
// Tags for workers
repeated TagPair tags = 40;
}