-
Notifications
You must be signed in to change notification settings - Fork 30
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
refactor(upgrade): expose modules to pub scope #580
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Niladri Halder <[email protected]>
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.
Remind me again, is this for the unified plugin or to allow for more binaries?
self.base.deprecated_log_silence_level() | ||
} | ||
|
||
pub(crate) fn jaeger_operator_image_tag(&self) -> &str { | ||
pub fn jaeger_operator_image_tag(&self) -> &str { |
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.
missing doc comment
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.
I'll add in all of these missing doc comments.
@@ -52,7 +52,7 @@ pub(crate) fn version_from_core_chart_release(chart_name: &str) -> Result<Versio | |||
}) | |||
} | |||
|
|||
pub(crate) async fn core_version_from_umbrella_release( | |||
pub async fn core_version_from_umbrella_release( |
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.
Missing doc comment
This is for the unified plugin, which will be a new binary. |
Does it need this big public api surface exposed or can we expose minimal api and leave internal details here? |
Hmm... sure, I'll trim this down. All of this doesn't need to be in pub scope. 👍 |
This is a refactor which moves most of the upgrade-job 'bin' code to the upgrade lib, and expands its visibility scope from 'pub(crate)' to 'pub'.