Skip to content

Comments

Subcommand for akcess delete#21

Open
vaibhavp wants to merge 2 commits intoviveksinghggits:masterfrom
vaibhavp:master
Open

Subcommand for akcess delete#21
vaibhavp wants to merge 2 commits intoviveksinghggits:masterfrom
vaibhavp:master

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