-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
113 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
RELEASE_VERSION=1.21.1 | ||
RELEASE_TITLE='fix man page bug - shed-contexts, shed' | ||
RELEASE_VERSION=1.22.0 | ||
RELEASE_TITLE='add man page - shed-kubectl-delete' | ||
|
||
REGISTRY_USERNAME_DOCKER=siakhooi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: siakhooi-shed | ||
Version: 1.21.1 | ||
Version: 1.22.0 | ||
Maintainer: Siak Hooi <[email protected]> | ||
Depends: bash, coreutils, findutils, grep, vim, man-db, sed, siakhooi-devutils-echo-colors (>= 1.0.0), git, siakhooi-textutils (>= 1.7.0), bash-completion, jq | ||
Architecture: amd64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
% SHED-KUBECTL-DELETE(1) Siak Hooi DevUtils 1.1.0 | Shed Commands | ||
% Siak Hooi | ||
% April 2024 | ||
|
||
# NAME | ||
shed-kubectl-delete - delete the resources based on resource located in directory set in \ | ||
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ environment variable SHED_CONFIG_DIRECTORY_RESOURCES.\ | ||
kd - alias to shed-kubectl-delete | ||
|
||
# SYNOPSIS | ||
**shed-kubectl-delete** kubectl-resource\ | ||
**shed kubectl-delete** kubectl-resource\ | ||
**kd** kubectl-resource | ||
|
||
# DESCRIPTION | ||
Delete the resources based on resource located in directory set in environment variable\ | ||
SHED_CONFIG_DIRECTORY_RESOURCES. | ||
|
||
# EXAMPLES | ||
**shed-kubectl-delete** hello-world\ | ||
\ \ \ \ + kubectl --context kube-dev-1 delete -f /home/user1/.shed/kubectl-resources/hello-world\ | ||
\ \ \ \ pod/hello-world deleted | ||
|
||
# FILES | ||
~/.shed/kubectl-resources | ||
: directory contains the resources | ||
|
||
# ENVIRONMENT VARIABLES | ||
SHED_CONFIG_DIRECTORY_RESOURCES | ||
: kubectl resources for **shed-kubectl-delete** and **shed-kubectl-delete**. | ||
|
||
# LICENSE | ||
MIT | ||
|
||
# BUGS | ||
Report bugs at https://github.com/siakhooi/shed/issues. | ||
|
||
# SEE ALSO | ||
shed-kubectl-resources(1),shed-kubectl-apply(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
tests/bats-test-scripts/man/man-1-shed-kubectl-delete.expected
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
SHED-KUBECTL-DELETE(1) Shed Commands SHED-KUBECTL-DELETE(1) | ||
|
||
NAME | ||
shed-kubectl-delete - delete the resources based on resource located in directory set in | ||
environment variable SHED_CONFIG_DIRECTORY_RESOURCES. | ||
kd - alias to shed-kubectl-delete | ||
|
||
SYNOPSIS | ||
shed-kubectl-delete kubectl-resource | ||
shed kubectl-delete kubectl-resource | ||
kd kubectl-resource | ||
|
||
DESCRIPTION | ||
Delete the resources based on resource located in directory set in environment variable | ||
SHED_CONFIG_DIRECTORY_RESOURCES. | ||
|
||
EXAMPLES | ||
shed-kubectl-delete hello-world | ||
+ kubectl -context kube-dev-1 delete -f /home/user1/.shed/kubectl-resources/hello-world | ||
pod/hello-world deleted | ||
|
||
FILES | ||
~/.shed/kubectl-resources | ||
directory contains the resources | ||
|
||
ENVIRONMENT VARIABLES | ||
SHED_CONFIG_DIRECTORY_RESOURCES | ||
kubectl resources for shed-kubectl-delete and shed-kubectl-delete. | ||
|
||
LICENSE | ||
MIT | ||
|
||
BUGS | ||
Report bugs at https://github.com/siakhooi/shed/issues. | ||
|
||
SEE ALSO | ||
shed-kubectl-resources(1),shed-kubectl-apply(1) | ||
|
||
AUTHORS | ||
Siak Hooi. | ||
|
||
Siak Hooi DevUtils 1.1.0 April 2024 SHED-KUBECTL-DELETE(1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters