From f83c657df0482be75e3df4a8d1a4739f472addba Mon Sep 17 00:00:00 2001 From: Donal Byrne Date: Tue, 30 Jul 2024 20:45:03 +0200 Subject: [PATCH] WIP --- src/get.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/get.rs b/src/get.rs index ce6a33e..d3aec3a 100644 --- a/src/get.rs +++ b/src/get.rs @@ -57,6 +57,8 @@ pub enum GetCommands { Pod(GetObjectArgs), #[command(alias("deployments"))] Deployment(GetObjectArgs), + #[command(alias("daemonsets"))] + Daemonsets(GetObjectArgs), #[command(alias("nodes"))] Node(GetObjectArgs), #[command()] @@ -72,6 +74,7 @@ pub async fn get(args: GetArgs) -> Result<(), Box> { match args.commands { GetCommands::Pod(args) => get_pod(global_args, args).await, GetCommands::Deployment(args) => get_deployment(global_args, args).await, + GetCommands::Daemonsets(args) => todo!(), GetCommands::Node(args) => get_nodes(global_args, args).await, GetCommands::Ingress(args) => get_ingress(global_args, args).await, GetCommands::Cronjob(args) => get_cronjobs(global_args, args).await,