* 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>
27 lines
583 B
Protocol Buffer
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;
|
|
}
|