This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 489
plugins - automatically reload/remove Go plugins #2818
Merged
GuessWhoSamFoo
merged 3 commits into
vmware-archive:master
from
kubefun:go-plugin-restart
Sep 2, 2021
Merged
plugins - automatically reload/remove Go plugins #2818
GuessWhoSamFoo
merged 3 commits into
vmware-archive:master
from
kubefun:go-plugin-restart
Sep 2, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Wayne Witzel III <wayne@riotousliving.com>
Signed-off-by: Wayne Witzel III <wayne@riotousliving.com>
Not necessarily something to be addressed in this PR: whenever a plugin panics, the content manager stops returning any data. |
Signed-off-by: Wayne Witzel III <wayne@riotousliving.com>
Yeah, I think that would be out of scope for this. That is currently the case before this change. I'll create an issue for it. |
GuessWhoSamFoo
approved these changes
Sep 2, 2021
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.
The plugin path redirect on delete has been addressed.
Remaining issues are windows specific or already existed so they are out of scope for 0.24
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Wayne Witzel III wayne@riotousliving.com
What this PR does / why we need it:
Currently Go plugins do not automatically reload or remove themselves based on changes happening to the binaries in the plugin folder and a full restart of Octant is required to view plugin changes. We want to enable the same behavior we have for the JavaScript plugins for the Go plugins.
Which issue(s) this PR fixes