feat: implement RFS client with authentication and file management APIs
This commit is contained in:
		| @@ -32,6 +32,7 @@ sal-net = { workspace = true } | ||||
| sal-zinit-client = { workspace = true } | ||||
| sal-kubernetes = { workspace = true } | ||||
| sal-service-manager = { workspace = true, features = ["rhai"] } | ||||
| sal-rfs-client = { workspace = true } | ||||
|  | ||||
|  | ||||
| [features] | ||||
|   | ||||
| @@ -80,6 +80,9 @@ pub use sal_virt::rhai::{ | ||||
|     bah_new, register_bah_module, register_nerdctl_module, register_rfs_module, | ||||
| }; | ||||
|  | ||||
| // Re-export RFS client module from sal-rfs-client package under a distinct name | ||||
| pub use sal_rfs_client::rhai::register_rfs_module as register_rfs_client_module; | ||||
|  | ||||
| // Re-export git module from sal-git package | ||||
| pub use sal_git::rhai::register_git_module; | ||||
| pub use sal_git::{GitRepo, GitTree}; | ||||
| @@ -163,6 +166,10 @@ pub fn register(engine: &mut Engine) -> Result<(), Box<rhai::EvalAltResult>> { | ||||
|     // Register Net module functions | ||||
|     sal_net::rhai::register_net_module(engine)?; | ||||
|  | ||||
|     // Register RFS client module functions (OpenAPI-based client) | ||||
|     // Note: This is distinct from sal-virt's RFS which handles filesystem ops. | ||||
|     sal_rfs_client::rhai::register_rfs_module(engine)?; | ||||
|  | ||||
|     // RFS module functions are now registered as part of sal_virt above | ||||
|  | ||||
|     // Register Crypto module functions - TEMPORARILY DISABLED | ||||
|   | ||||
		Reference in New Issue
	
	Block a user