Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions proto/jumpstarter/exporter/v1/exporter.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
// Copyright 2024 The Jumpstarter Authors

syntax = "proto3";

package jumpstarter.exporter.v1;

service ExporterService {
rpc Register(RegisterRequest) returns (RegisterResponse);
rpc Unregister(UnregisterRequest) returns (UnregisterResponse);
rpc Listen(ListenRequest) returns (ListenResponse);
rpc Status(StatusRequest) returns (StatusResponse);
rpc AuditEvent(AuditEventRequest) returns (AuditEventResponse);
}

message RegisterRequest {
map<string, string> labels = 1;
repeated DriverInstanceReport reports = 2;
}

message DriverInstanceReport {
string uuid = 1; // a unique id within the expoter
optional string parent_uuid = 2; // optional, if device has a parent device
map<string, string> labels = 3;
}

message RegisterResponse {}

message UnregisterRequest {
string reason = 1;
}

message UnregisterResponse {}

message ListenRequest {
string lease_name = 1;
}

message ListenResponse {
bool pending = 1;
optional string router_endpoint = 2;
optional string router_token = 3;
}

message StatusRequest {}

message StatusResponse {
bool leased = 1;
optional string lease_name = 2;
optional string client_name = 3;
}

message AuditEventRequest {
string driver_instance_uuid = 1;
string severity = 2;
string message = 3;
}

message AuditEventResponse {}