mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
b92b3772ca
* remove access manager from code base * document new node ssh workflow * keep config backwards compatible * slow down link checking to prevent http 429 Signed-off-by: Fabian Kammel <fk@edgeless.systems>
47 lines
1.1 KiB
Protocol Buffer
47 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/v2/debugd/service";
|
|
|
|
package debugd;
|
|
|
|
service Debugd {
|
|
rpc UploadBootstrapper(stream Chunk) returns (UploadBootstrapperResponse) {}
|
|
rpc DownloadBootstrapper(DownloadBootstrapperRequest) returns (stream Chunk) {}
|
|
rpc UploadSystemServiceUnits(UploadSystemdServiceUnitsRequest) returns (UploadSystemdServiceUnitsResponse) {}
|
|
}
|
|
|
|
message DownloadBootstrapperRequest {}
|
|
|
|
message Chunk {
|
|
bytes content = 1;
|
|
}
|
|
|
|
message UploadBootstrapperResponse {
|
|
UploadBootstrapperStatus status = 1;
|
|
}
|
|
|
|
enum UploadBootstrapperStatus {
|
|
UPLOAD_BOOTSTRAPPER_SUCCESS = 0;
|
|
UPLOAD_BOOTSTRAPPER_UPLOAD_FAILED = 1;
|
|
UPLOAD_BOOTSTRAPPER_START_FAILED = 2;
|
|
UPLOAD_BOOTSTRAPPER_FILE_EXISTS = 3;
|
|
}
|
|
|
|
message ServiceUnit {
|
|
string name = 1;
|
|
string contents = 2;
|
|
}
|
|
|
|
message UploadSystemdServiceUnitsRequest {
|
|
repeated ServiceUnit units = 1;
|
|
}
|
|
|
|
message UploadSystemdServiceUnitsResponse {
|
|
UploadSystemdServiceUnitsStatus status = 1;
|
|
}
|
|
|
|
enum UploadSystemdServiceUnitsStatus {
|
|
UPLOAD_SYSTEMD_SERVICE_UNITS_SUCCESS = 0;
|
|
UPLOAD_SYSTEMD_SERVICE_UNITS_FAILURE = 1;
|
|
}
|