-
Notifications
You must be signed in to change notification settings - Fork 152
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
Improve func interface to have Arguments
method and add other utils
#1251
Conversation
Hi @pavannd1, |
cd7705a
to
c241e8b
Compare
Arguments
method and add other utils
0e9fce2
to
485bc20
Compare
The mock function that we were using in the controller test didn't return any argument, and because of that the execution of actionset failed. This fixes that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor feedback. Otherwise, LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍🏼
Change Overview
This PR refactors the func interface in kanister to add another method named
Arguments() []string
that is going to get us all the arguments that are supported by a kanister function.It also adds a simple function that lists all the kanister functions that registered and can be used in blueprints.
Pull request type
Please check the type of change your PR introduces:
Issues
Test Plan