feat: advanced filtering
Allow filtering by name, image name, status, or a combination of all of the three
This commit is contained in:
+4
-2
@@ -175,7 +175,9 @@ mod tests {
|
||||
use bollard::service::{ContainerSummary, Port};
|
||||
|
||||
use crate::{
|
||||
app_data::{AppData, ContainerId, ContainerItem, ContainerPorts, State, StatefulList},
|
||||
app_data::{
|
||||
AppData, ContainerId, ContainerItem, ContainerPorts, Filter, State, StatefulList,
|
||||
},
|
||||
parse_args::CliArgs,
|
||||
};
|
||||
|
||||
@@ -217,7 +219,7 @@ mod tests {
|
||||
hidden_containers: vec![],
|
||||
error: None,
|
||||
sorted_by: None,
|
||||
filter_term: None,
|
||||
filter: Filter::new(),
|
||||
args: gen_args(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user