Skip to content
Merged
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
12 changes: 11 additions & 1 deletion proto/jumpstarter/client/v1/client.proto
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,17 @@ message Exporter {

string name = 1 [(google.api.field_behavior) = IDENTIFIER];
map<string, string> 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 {
Expand Down