-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(upgrade): expose modules to pub scope
Signed-off-by: Niladri Halder <[email protected]>
- Loading branch information
Showing
26 changed files
with
184 additions
and
171 deletions.
There are no files selected for viewing
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
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
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
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
14 changes: 7 additions & 7 deletions
14
k8s/upgrade/src/bin/upgrade-job/common.rs → k8s/upgrade/src/common.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
/// Contains constant values which are used as arguments to functions and in log messages. | ||
pub(crate) mod constants; | ||
pub mod constants; | ||
|
||
/// Contains the error handling tooling. | ||
pub(crate) mod error; | ||
pub mod error; | ||
|
||
/// Contains tools to work with Kubernetes APIs. | ||
pub(crate) mod kube; | ||
pub mod kube; | ||
|
||
/// Contains macros. | ||
pub(crate) mod macros; | ||
pub mod macros; | ||
|
||
/// Contains tools to create storage API clients. | ||
pub(crate) mod rest_client; | ||
pub mod rest_client; | ||
|
||
/// Contains tools for working with files. | ||
pub(crate) mod file; | ||
pub mod file; | ||
|
||
/// Contains a wrapper around regex::Regex. | ||
pub(crate) mod regex; | ||
pub mod regex; |
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
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
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
2 changes: 1 addition & 1 deletion
2
...pgrade/src/bin/upgrade-job/common/kube.rs → k8s/upgrade/src/common/kube.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/// This contains tools for working with the Kubernetes REST API. | ||
pub(crate) mod client; | ||
pub mod client; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ | |
macro_rules! vec_to_strings { | ||
($($x:expr),*) => (vec![$($x.to_string()),*]); | ||
} | ||
|
||
pub use vec_to_strings; |
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
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
2 changes: 1 addition & 1 deletion
2
k8s/upgrade/src/bin/upgrade-job/events.rs → k8s/upgrade/src/events.rs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/// This contains the builder and the Events helper functions. | ||
pub(crate) mod event_recorder; | ||
pub mod event_recorder; |
Oops, something went wrong.