From 2fbaa251fedd6abfa41648e3c7ff1c31b4966ed8 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 11 Aug 2023 19:48:22 +0200 Subject: [PATCH] remove kube functions --- dot_config/fish/private_functions/kdjango.fish | 3 --- dot_config/fish/private_functions/kjsonlogs.fish | 3 --- dot_config/fish/private_functions/private_kbash.fish | 3 --- dot_config/fish/private_functions/private_kctx.fish | 3 --- dot_config/fish/private_functions/private_kgetall.fish | 6 ------ dot_config/fish/private_functions/private_kgpg.fish | 3 --- dot_config/fish/private_functions/private_klogs.fish | 4 ---- dot_config/fish/private_functions/private_kns.fish | 3 --- 8 files changed, 28 deletions(-) delete mode 100644 dot_config/fish/private_functions/kdjango.fish delete mode 100644 dot_config/fish/private_functions/kjsonlogs.fish delete mode 100644 dot_config/fish/private_functions/private_kbash.fish delete mode 100644 dot_config/fish/private_functions/private_kctx.fish delete mode 100644 dot_config/fish/private_functions/private_kgetall.fish delete mode 100644 dot_config/fish/private_functions/private_kgpg.fish delete mode 100644 dot_config/fish/private_functions/private_klogs.fish delete mode 100644 dot_config/fish/private_functions/private_kns.fish diff --git a/dot_config/fish/private_functions/kdjango.fish b/dot_config/fish/private_functions/kdjango.fish deleted file mode 100644 index 8396f93..0000000 --- a/dot_config/fish/private_functions/kdjango.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kdjango -kubectl django $argv -end diff --git a/dot_config/fish/private_functions/kjsonlogs.fish b/dot_config/fish/private_functions/kjsonlogs.fish deleted file mode 100644 index ce2a58d..0000000 --- a/dot_config/fish/private_functions/kjsonlogs.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kjsonlogs -klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"' -end diff --git a/dot_config/fish/private_functions/private_kbash.fish b/dot_config/fish/private_functions/private_kbash.fish deleted file mode 100644 index 40bcd3f..0000000 --- a/dot_config/fish/private_functions/private_kbash.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kbash -kubectl bash $argv -end diff --git a/dot_config/fish/private_functions/private_kctx.fish b/dot_config/fish/private_functions/private_kctx.fish deleted file mode 100644 index 7041799..0000000 --- a/dot_config/fish/private_functions/private_kctx.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kctx --wraps='kubectl ctx' - kubectl ctx $argv; -end diff --git a/dot_config/fish/private_functions/private_kgetall.fish b/dot_config/fish/private_functions/private_kgetall.fish deleted file mode 100644 index acb4d56..0000000 --- a/dot_config/fish/private_functions/private_kgetall.fish +++ /dev/null @@ -1,6 +0,0 @@ -function kgetall -for i in (kubectl api-resources --verbs=list --namespaced -o name | grep -v "events.events.k8s.io" | grep -v "events" | sort | uniq) -echo -e "\nResource:" $i -kubectl get $i -end -end diff --git a/dot_config/fish/private_functions/private_kgpg.fish b/dot_config/fish/private_functions/private_kgpg.fish deleted file mode 100644 index 6978674..0000000 --- a/dot_config/fish/private_functions/private_kgpg.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kgpg - killall gpg-agent; -end diff --git a/dot_config/fish/private_functions/private_klogs.fish b/dot_config/fish/private_functions/private_klogs.fish deleted file mode 100644 index 07a2026..0000000 --- a/dot_config/fish/private_functions/private_klogs.fish +++ /dev/null @@ -1,4 +0,0 @@ -# Defined interactively -function klogs --wraps=stern -stern --tail=50 $argv -end diff --git a/dot_config/fish/private_functions/private_kns.fish b/dot_config/fish/private_functions/private_kns.fish deleted file mode 100644 index a2b04c5..0000000 --- a/dot_config/fish/private_functions/private_kns.fish +++ /dev/null @@ -1,3 +0,0 @@ -function kns --wraps='kubectl ns' - kubectl ns $argv; -end