pub struct Client {}
Implementations§
Source§impl Client
impl Client
pub fn cache(&self, key: &str) -> Result<Cache, Error>
pub fn devbox(&self) -> Result<Devbox, Error>
pub fn devenv(&self) -> Result<Devenv, Error>
pub fn directory(&self, path: &str) -> Result<Directory, Error>
pub fn envhub(&self) -> Result<Envhub, Error>
pub fn file(&self, path: &str) -> Result<File, Error>
pub fn flox(&self) -> Result<Flox, Error>
pub fn git(&self, url: &str) -> Result<Git, Error>
pub fn http(&self, url: &str) -> Result<File, Error>
pub fn mise(&self) -> Result<Mise, Error>
pub fn hermit(&self) -> Result<Hermit, Error>
pub fn nix(&self, args: NixArgs) -> Result<Nix, Error>
pub fn pipeline(&self, name: &str) -> Result<Pipeline, Error>
pub fn pixi(&self) -> Result<Pixi, Error>
pub fn pkgx(&self) -> Result<Pkgx, Error>
pub fn proto(&self) -> Result<Proto, Error>
pub fn get_env(&self, key: &str) -> Result<String, Error>
pub fn has_env(&self, key: &str) -> Result<bool, Error>
pub fn set_envs(&self, envs: Vec<(String, String)>) -> Result<(), Error>
pub fn remove_env(&self, key: &str) -> Result<(), Error>
pub fn get_os(&self) -> Result<String, Error>
pub fn get_arch(&self) -> Result<String, Error>
pub fn call( &self, url: &str, func: &str, args: Vec<&str>, ) -> Result<String, Error>
pub fn google_secret_manager( &self, project: &str, google_credentials_file: &str, ) -> Result<SecretManager, Error>
pub fn aws_secrets_manager( &self, region: &str, access_key_id: &str, secret_access_key: &str, ) -> Result<SecretManager, Error>
pub fn azure_keyvault( &self, client_id: &str, client_secret: &str, tenant_id: &str, keyvault_name: &str, keyvault_url: &str, ) -> Result<SecretManager, Error>
pub fn hashicorp_vault( &self, address: &str, token: &str, cacert: Option<&str>, ) -> Result<SecretManager, Error>
pub fn set_secret(&self, name: &str, value: &str) -> Result<Secret, Error>
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more