fix: fix mobile view + add orphean deletions

This commit is contained in:
2026-05-20 08:48:14 +02:00
parent b3176c4dfa
commit 35643b2ea9
8 changed files with 1185 additions and 149 deletions

View File

@ -40,19 +40,22 @@ message ImageInfo {
repeated string tags = 2;
int64 size = 3;
int64 created_at = 4;
bool is_orphan = 5;
}
message VolumeInfo {
string name = 1;
string driver = 2;
string mountpoint = 3;
bool is_orphan = 4;
}
message NetworkInfo {
string id = 1;
string name = 2;
string driver = 3;
string scope = 4;
string id = 1;
string name = 2;
string driver = 3;
string scope = 4;
bool is_orphan = 5;
}
message ContainerSnapshot {
@ -163,17 +166,37 @@ message UpdateContainerCommand {
string container_id = 2;
}
message DeleteImageCommand {
string command_id = 1;
string image_id = 2;
bool force = 3;
}
message DeleteVolumeCommand {
string command_id = 1;
string volume_name = 2;
bool force = 3;
}
message DeleteNetworkCommand {
string command_id = 1;
string network_id = 2;
}
message ServerMessage {
oneof payload {
ContainerCommand container_cmd = 1;
StreamLogsCommand stream_logs = 2;
ListDirCommand list_dir = 3;
ReadFileCommand read_file = 4;
WriteFileCommand write_file = 5;
ExecComposeCommand exec_compose = 6;
CreateDirCommand create_dir = 7;
CheckUpdateCommand check_update = 8;
UpdateContainerCommand update_container = 9;
ContainerCommand container_cmd = 1;
StreamLogsCommand stream_logs = 2;
ListDirCommand list_dir = 3;
ReadFileCommand read_file = 4;
WriteFileCommand write_file = 5;
ExecComposeCommand exec_compose = 6;
CreateDirCommand create_dir = 7;
CheckUpdateCommand check_update = 8;
UpdateContainerCommand update_container = 9;
DeleteImageCommand delete_image = 10;
DeleteVolumeCommand delete_volume = 11;
DeleteNetworkCommand delete_network = 12;
}
}