Some checks failed
Auto Tag / autotag (push) Successful in 7s
Auto Tag / wiki-sync (push) Successful in 8s
Test / frontend-tests (push) Successful in 1m31s
Test / frontend-typecheck (push) Successful in 1m39s
Auto Tag / changelog (push) Successful in 1m47s
Auto Tag / build-macos-arm64 (push) Successful in 2m52s
Auto Tag / build-linux-amd64 (push) Has been cancelled
Auto Tag / build-linux-arm64 (push) Has been cancelled
Auto Tag / build-windows-amd64 (push) Has been cancelled
Test / rust-fmt-check (push) Has been cancelled
Test / rust-clippy (push) Has been cancelled
Test / rust-tests (push) Has been cancelled
- Bump version to 1.1.0 - Add kube module with ClusterClient, PortForwardSession, RefreshRegistry - Add Tauri IPC commands: add_cluster, remove_cluster, list_clusters - Add Tauri IPC commands: start_port_forward, stop_port_forward, list_port_forwards - Update AppState with clusters, port_forwards, refresh_registry fields - Update auto-tag.yml to mark releases as draft (pre-release) - Add Buy Me A Coffee section to README - Add serde_yaml dependency for kubeconfig parsing
23 lines
385 B
Rust
23 lines
385 B
Rust
pub struct ClusterClient {
|
|
pub id: String,
|
|
pub name: String,
|
|
pub context: String,
|
|
pub server_url: String,
|
|
}
|
|
|
|
impl ClusterClient {
|
|
pub fn new(
|
|
id: String,
|
|
name: String,
|
|
context: String,
|
|
server_url: String,
|
|
) -> Self {
|
|
Self {
|
|
id,
|
|
name,
|
|
context,
|
|
server_url,
|
|
}
|
|
}
|
|
}
|