forked from NationTech/harmony
		
	- Adds functionality to download, install, and manage k3d clusters. - Includes methods for downloading the latest release, creating clusters, and verifying cluster existence. - Implements `ensure_k3d_installed`, `get_latest_release_tag`, `download_latest_release`, `is_k3d_installed`, `verify_cluster_exists`, `create_cluster` and `create_kubernetes_client`. - Provides a `get_client` method to access the Kubernetes client. - Includes unit tests for download and installation. - Adds handling for different operating systems. - Improves error handling and logging. - Introduces a `K3d` struct to encapsulate k3d cluster management logic. - Adds the ability to specify the cluster name during K3d initialization.
		
			
				
	
	
		
			24 lines
		
	
	
		
			501 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			501 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
| [package]
 | |
| name = "k3d-rs"
 | |
| edition = "2021"
 | |
| version.workspace = true
 | |
| readme.workspace = true
 | |
| license.workspace = true
 | |
| 
 | |
| [dependencies]
 | |
| log = { workspace = true }
 | |
| async-trait = { workspace = true }
 | |
| tokio = { workspace = true }
 | |
| octocrab = "0.44.0"
 | |
| regex = "1.11.1"
 | |
| reqwest = { version = "0.12", features = ["stream"]  }
 | |
| url.workspace = true
 | |
| sha2 = "0.10.8"
 | |
| futures-util = "0.3.31"
 | |
| kube.workspace = true
 | |
| 
 | |
| [dev-dependencies]
 | |
| env_logger = { workspace = true }
 | |
| httptest = "0.16.3"
 | |
| pretty_assertions = "1.4.1"
 |