diff --git a/proto/jumpstarter/client/v1/client.proto b/proto/jumpstarter/client/v1/client.proto index 4f5d732..38416a2 100644 --- a/proto/jumpstarter/client/v1/client.proto +++ b/proto/jumpstarter/client/v1/client.proto @@ -67,7 +67,17 @@ message Exporter { string name = 1 [(google.api.field_behavior) = IDENTIFIER]; map labels = 2; - bool online = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + bool online = 3 [(google.api.field_behavior) = OUTPUT_ONLY, deprecated = true]; + ExporterStatus status = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; +} + +enum ExporterStatus { + EXPORTER_STATUS_UNSPECIFIED = 0; // Unspecified exporter status + EXPORTER_STATUS_OFFLINE = 1; // Exporter is offline + EXPORTER_STATUS_AVAILABLE = 2; // Exporter is available to be leased + EXPORTER_STATUS_BEFORE_LEASE_HOOK = 3; // Exporter is executing before lease hook(s) + EXPORTER_STATUS_LEASE_READY = 4; // Exporter is leased and ready to accept commands + EXPORTER_STATUS_AFTER_LEASE_HOOK = 5; // Exporter is executing after lease hook(s) } message Lease {