mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
5ad89ff02f
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
34 lines
639 B
Protocol Buffer
34 lines
639 B
Protocol Buffer
syntax = "proto3";
|
|
package api;
|
|
option go_package = "github.com/jsiebens/ionscale/pkg/gen;api";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
import "google/protobuf/duration.proto";
|
|
|
|
import "api/ref.proto";
|
|
|
|
message ListMachinesRequest {
|
|
uint64 tailnet_id = 1;
|
|
}
|
|
|
|
message ListMachinesResponse {
|
|
repeated Machine machines = 1;
|
|
}
|
|
|
|
message DeleteMachineRequest {
|
|
uint64 machine_id = 1;
|
|
}
|
|
|
|
message DeleteMachineResponse {}
|
|
|
|
message Machine {
|
|
uint64 id = 1;
|
|
string name = 2;
|
|
string ipv4 = 3;
|
|
string ipv6 = 4;
|
|
bool ephemeral = 5;
|
|
google.protobuf.Timestamp last_seen = 6;
|
|
bool connected = 7;
|
|
Ref tailnet = 8;
|
|
Ref user = 9;
|
|
} |