observation tags proto messages
This commit is contained in:
51 files changed
+458
-454
No files matched your search
@@ -27,7 +27,7 @@ enum CONNECTIONSTATUS {
|
||||
}
|
||||
|
||||
message Connection {
|
||||
string connection_id = 1; // @gotags: `class:"public"`
|
||||
string connection_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
CONNECTIONSTATUS status = 2;
|
||||
int64 bytes_up = 3; // @gotags: `class:"public"`
|
||||
int64 bytes_down = 4; // @gotags: `class:"public"`
|
||||
@@ -42,7 +42,7 @@ enum SESSIONSTATUS {
|
||||
}
|
||||
|
||||
message SessionJobInfo {
|
||||
string session_id = 1; // @gotags: `class:"public"`
|
||||
string session_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
SESSIONSTATUS status = 2;
|
||||
repeated Connection connections = 3;
|
||||
SessionProcessingError processing_error = 4; // @gotags: `class:"public"`
|
||||
@@ -54,7 +54,7 @@ enum SessionProcessingError {
|
||||
}
|
||||
|
||||
message MonitorSessionJobInfo {
|
||||
string session_id = 1; // @gotags: `class:"public"`
|
||||
string session_id = 1; // @gotags: `class:"public" eventstream:"observation"`
|
||||
SESSIONSTATUS status = 2; // @gotags: `class:"public"`
|
||||
SessionProcessingError processing_error = 3; // @gotags: `class:"public"`
|
||||
}
|
||||
@@ -173,7 +173,7 @@ message StatusResponse {
|
||||
|
||||
// The ID of the worker which made the request. The worker can send this value in subsequent requests so the
|
||||
// controller does not need to do a database lookup for the id using the name field.
|
||||
string worker_id = 40; // @gotags: `class:"public"`
|
||||
string worker_id = 40; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Of the worker key identifiers provided in the request, these are the ones
|
||||
// which are authorized to remain connected.
|
||||
|
||||
@@ -36,10 +36,10 @@ service SessionService {
|
||||
|
||||
message LookupSessionRequest {
|
||||
// The session ID from the client
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
// The id of the requesting worker, used for filtering to ensure this worker
|
||||
// can handle this session
|
||||
string worker_id = 20; // @gotags: `class:"public"`
|
||||
string worker_id = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
// LookupSessionResponse contains information necessary for a client to
|
||||
@@ -49,14 +49,14 @@ message LookupSessionResponse {
|
||||
string tofu_token = 20; // @gotags: `class:"secret"`
|
||||
uint32 version = 30; // @gotags: `class:"public"`
|
||||
string endpoint = 40; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp expiration = 50; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 60; // @gotags: `class:"public"`
|
||||
google.protobuf.Timestamp expiration = 50; // @gotags: `class:"public" eventstream:"observation"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 60; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int32 connection_limit = 70; // @gotags: `class:"public"`
|
||||
int32 connections_left = 80; // @gotags: `class:"public"`
|
||||
string host_id = 90; // @gotags: `class:"public"`
|
||||
string host_set_id = 100; // @gotags: `class:"public"`
|
||||
string target_id = 110; // @gotags: `class:"public"`
|
||||
string user_id = 120; // @gotags: `class:"public"`
|
||||
string host_id = 90; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string host_set_id = 100; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string target_id = 110; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string user_id = 120; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// credentials is deprecated on this response message. Instead use the
|
||||
// credentials field inside the ProtocolContext message.
|
||||
@@ -69,32 +69,32 @@ message ActivateSessionRequest {
|
||||
reserved 40;
|
||||
reserved "worker_id";
|
||||
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string tofu_token = 20; // @gotags: `class:"secret"`
|
||||
uint32 version = 30; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 50; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 50; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message ActivateSessionResponse {
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CancelSessionRequest {
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CancelSessionResponse {
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.SESSIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AuthorizeConnectionRequest {
|
||||
string session_id = 10; // @gotags: `class:"public"`
|
||||
string worker_id = 20; // @gotags: `class:"public"`
|
||||
string session_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string worker_id = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message AuthorizeConnectionResponse {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int32 connections_left = 30; // @gotags: `class:"public"`
|
||||
|
||||
// protocol_context contains information specific to the protocol being
|
||||
@@ -106,12 +106,12 @@ message AuthorizeConnectionResponse {
|
||||
}
|
||||
|
||||
message ConnectConnectionRequest {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
string client_tcp_address = 20; // @gotags: `class:"public"`
|
||||
uint32 client_tcp_port = 30; // @gotags: `class:"public"`
|
||||
string endpoint_tcp_address = 40; // @gotags: `class:"public"`
|
||||
uint32 endpoint_tcp_port = 50; // @gotags: `class:"public"`
|
||||
string type = 60; // @gotags: `class:"public"`
|
||||
string type = 60; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// user_client_ip is the user's client ip for the connection as determined by
|
||||
// the inbound http request handler
|
||||
@@ -119,25 +119,25 @@ message ConnectConnectionRequest {
|
||||
}
|
||||
|
||||
message ConnectConnectionResponse {
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 10; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionRequestData {
|
||||
string connection_id = 10; // @gotags: `class:"public"`
|
||||
string connection_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
int64 bytes_up = 20; // @gotags: `class:"public"`
|
||||
int64 bytes_down = 30; // @gotags: `class:"public"`
|
||||
string reason = 40; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
message CloseConnectionRequest {
|
||||
repeated CloseConnectionRequestData close_request_data = 10; // @gotags: `class:"public"`
|
||||
repeated CloseConnectionRequestData close_request_data = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionResponseData {
|
||||
string connection_id = 10;
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public"`
|
||||
controller.servers.services.v1.CONNECTIONSTATUS status = 20; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
|
||||
message CloseConnectionResponse {
|
||||
repeated CloseConnectionResponseData close_response_data = 10; // @gotags: `class:"public"`
|
||||
repeated CloseConnectionResponseData close_response_data = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
@@ -16,7 +16,7 @@ message TagPair {
|
||||
// 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; // @gotags: `class:"public"`
|
||||
string public_id = 10; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// Name of the resource (optional)
|
||||
string name = 20; // @gotags: `class:"public"`
|
||||
@@ -34,8 +34,8 @@ message ServerWorkerStatus {
|
||||
string key_id = 50; // @gotags: `class:"public"`
|
||||
|
||||
// The version of Boundary the worker binary is running
|
||||
string release_version = 60 [json_name = "release_version"]; // @gotags: `class:"public"`
|
||||
string release_version = 60 [json_name = "release_version"]; // @gotags: `class:"public" eventstream:"observation"`
|
||||
|
||||
// The state of the worker, to indicate if the worker is active or in shutdown.
|
||||
string operational_state = 70; // @gotags: `class:"public"`
|
||||
string operational_state = 70; // @gotags: `class:"public" eventstream:"observation"`
|
||||
}
|
||||
Reference in new issue
Block a user