Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subcommand for akcess delete #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vaibhavp
Copy link

Added a new subcommand for akcess delete to delete all resources.

Closes #7

return errors.Wrap(err, "Calling list from store")
}
for _, c := range list {
kube.DeleteResources(c.Id, kubeConfigPathDel)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should try to delete the resources for every id concurrently. And would also make sure that we are not running more than n routines.
And let's move this entire thing to another function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

akcess delete should have a subcommand to delete all the created resource
2 participants