-
Notifications
You must be signed in to change notification settings - Fork 98
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
Merge GetUnusedDeployments and GetUnusedDeploymentsJSON #52
Comments
Hi @linrl3 |
This comment was marked as off-topic.
This comment was marked as off-topic.
back to this here's an example form configmap supporting all output format in one function
and function call is
|
@loaynaser3 Sounds reasonable. |
@loaynaser3 #77 was merged |
I think we should merge
GetUnusedDeployments(includeExcludeLists IncludeExcludeLists, kubeconfig string)
andGetUnusedDeploymentsJSON(includeExcludeLists IncludeExcludeLists, kubeconfig string) (string, error)
into something likeGetUnusedDeployments(includeExcludeLists IncludeExcludeLists, kubeconfig string, format string)
.Because they have many duplicated codes and provide similar functionality, the only difference is the output format. I see another issue is talking about adding yaml output format. At that time we may have 3 similar functions. The case also apply on other resources function
GetUnusedXXX
.The text was updated successfully, but these errors were encountered: