Compare commits
1 Commits
a12d12aa4f
...
e8968d2cd2
| Author | SHA1 | Date | |
|---|---|---|---|
| e8968d2cd2 |
@@ -91,23 +91,6 @@ impl K8sClient {
|
|||||||
Ok(resource.get(name).await?)
|
Ok(resource.get(name).await?)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn get_secret_json_value(
|
|
||||||
&self,
|
|
||||||
name: &str,
|
|
||||||
namespace: Option<&str>,
|
|
||||||
) -> Result<DynamicObject, Error> {
|
|
||||||
self.get_resource_json_value(
|
|
||||||
name,
|
|
||||||
namespace,
|
|
||||||
&GroupVersionKind {
|
|
||||||
group: "".to_string(),
|
|
||||||
version: "v1".to_string(),
|
|
||||||
kind: "Secret".to_string(),
|
|
||||||
},
|
|
||||||
)
|
|
||||||
.await
|
|
||||||
}
|
|
||||||
|
|
||||||
pub async fn get_deployment(
|
pub async fn get_deployment(
|
||||||
&self,
|
&self,
|
||||||
name: &str,
|
name: &str,
|
||||||
|
|||||||
Reference in New Issue
Block a user