Struct shipcat_definitions::vault::Vault [−][src]
pub struct Vault { /* fields omitted */ }Expand description
Vault client with cached data
Implementations
impl Vault[src]
impl Vault[src]pub fn from_evars() -> Result<Vault>[src]
pub fn from_evars() -> Result<Vault>[src]Initialize using the same evars or token files that the vault CLI uses
pub fn regional(vc: &VaultConfig) -> Result<Vault>[src]
pub fn regional(vc: &VaultConfig) -> Result<Vault>[src]Initialize using VAULT_TOKEN evar + addr from the Region
pub fn mocked(vc: &VaultConfig) -> Result<Vault>[src]
pub fn mocked(vc: &VaultConfig) -> Result<Vault>[src]Initialize using dummy values and return garbage
pub fn mode(&self) -> Mode[src]
Auto Trait Implementations
impl !RefUnwindSafe for Vault
impl Send for Vault
impl Sync for Vault
impl Unpin for Vault
impl !UnwindSafe for Vault
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more