-
-
Notifications
You must be signed in to change notification settings - Fork 16
SK-298 // chore: minor style updates #262
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
Changes from 14 commits
952a012
fb31730
bc5b072
ff8154a
d54260c
d3d07f4
2d360a7
8da14c0
285eec3
ba0967b
af6a62b
8f49078
533a3d8
ee52d00
d44634f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,4 +7,5 @@ mod util_test; | |
| use sk_testutils::*; | ||
|
|
||
| use super::*; | ||
| use crate::constants::*; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also now needed because the prelude is not being imported in |
||
| use crate::macros::*; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| use assertables::*; | ||
| use clockabilly::Utc; | ||
| use kube::api::DynamicObject; | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. and .... also now needed because the prelude is not being imported in |
||
| use serde_json::Value; | ||
|
|
||
| use super::*; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,26 @@ | ||
| use std::collections::BTreeMap; | ||
|
|
||
| use kube::api::Resource; | ||
| use k8s_openapi::api::core::v1 as corev1; | ||
| use k8s_openapi::apimachinery::pkg::apis::meta::v1 as metav1; | ||
| use kube::ResourceExt; | ||
| use kube::api::{ | ||
| DynamicObject, | ||
| Resource, | ||
| }; | ||
| use serde_json::{ | ||
| Map, | ||
| Value, | ||
| }; | ||
|
|
||
| use super::*; | ||
| use crate::constants::*; | ||
| use crate::errors::*; | ||
| use crate::k8s::{ | ||
| DEPL_REVISION_LABEL_KEY, | ||
| GVK, | ||
| KubernetesError, | ||
| LAST_APPLIED_CONFIG_LABEL_KEY, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Feel like these should be moved into |
||
| }; | ||
| use crate::prelude::KubeResourceExt; | ||
|
|
||
| const MAX_LABEL_LENGTH: usize = 63; | ||
|
|
||
|
|
||
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.
because we are no longer importing prelude in
sk-core/src/k8s/mod.rs