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

Dynamic registration of Kanister functions with multiple versions #371

Merged
merged 6 commits into from
Oct 25, 2019

Conversation

pavannd1
Copy link
Contributor

@pavannd1 pavannd1 commented Oct 22, 2019

Change Overview

The PR can be reviewed commit wise.

  • Register multiple functions with different versions
  • Select appropriate version during execution of an ActionSet using Version supplied
  • Add unit tests to verify registration of multiple functions, fall back mechanism, no version specified in ActionSet as well as no version found.
  • Minor changes to signatures in existing tests

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

Copy link
Contributor

@tdmanv tdmanv left a comment

Choose a reason for hiding this comment

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

Looks good though I'm not sure this is safe to merge if a version is not specified

pkg/phase.go Outdated Show resolved Hide resolved
pkg/controller/controller.go Show resolved Hide resolved
@mergify mergify bot merged commit 0f922ac into master Oct 25, 2019
@mergify mergify bot deleted the func_version branch October 25, 2019 18:55
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.

None yet

3 participants