mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-13 18:04:20 -05:00
b461c40c3a
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
32 lines
680 B
Protocol Buffer
32 lines
680 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package pubapi;
|
|
|
|
option go_package = "github.com/edgelesssys/constellation/activation/server/activationproto";
|
|
|
|
service API {
|
|
rpc ActivateNode(ActivateNodeRequest) returns (ActivateNodeResponse);
|
|
rpc ActivateCoordinator(ActivateCoordinatorRequest) returns (ActivateCoordinatorResponse);
|
|
}
|
|
|
|
|
|
message ActivateNodeRequest {
|
|
string disk_uuid = 1;
|
|
}
|
|
|
|
message ActivateNodeResponse {
|
|
bytes state_disk_key = 1;
|
|
bytes owner_id = 2;
|
|
bytes cluster_id = 3;
|
|
string api_server_endpoint = 4;
|
|
string token = 5;
|
|
string discovery_token_ca_cert_hash = 6;
|
|
}
|
|
|
|
|
|
message ActivateCoordinatorRequest {
|
|
}
|
|
|
|
message ActivateCoordinatorResponse {
|
|
}
|