tftsr-devops_investigation/src-tauri/src/kube/client.rs
Shaun Arman 1d0689556d
Some checks failed
Test / frontend-tests (pull_request) Successful in 1m22s
Test / frontend-typecheck (pull_request) Successful in 1m33s
PR Review Automation / review (pull_request) Successful in 3m29s
Test / rust-fmt-check (pull_request) Successful in 10m27s
Test / rust-clippy (pull_request) Failing after 12m9s
Test / rust-tests (pull_request) Successful in 13m37s
fix(fmt): format code with cargo fmt
2026-06-06 13:30:35 -05:00

28 lines
520 B
Rust

use std::sync::Arc;
pub struct ClusterClient {
pub id: String,
pub name: String,
pub context: String,
pub server_url: String,
pub kubeconfig_content: Arc<String>,
}
impl ClusterClient {
pub fn new(
id: String,
name: String,
context: String,
server_url: String,
kubeconfig_content: Arc<String>,
) -> Self {
Self {
id,
name,
context,
server_url,
kubeconfig_content,
}
}
}