MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / get_vault_entry

Method get_vault_entry

atomic-cli/src/service/mod.rs:855–874  ·  view source on GitHub ↗
(
        &self,
        request: pb::GetVaultEntryRequest,
    )

Source from the content-addressed store, hash-verified

853 }
854
855 pub fn get_vault_entry(
856 &self,
857 request: pb::GetVaultEntryRequest,
858 ) -> CliResult<pb::GetVaultEntryResponse> {
859 self.call(move |backend| async move {
860 match backend {
861 Backend::Local(state) => services_agent::VaultImpl { state }
862 .get_vault_entry(Request::new(request))
863 .await
864 .map(|response| response.into_inner()),
865 Backend::Reactor(channel) => {
866 let mut vault = pb::vault_service_client::VaultServiceClient::new(channel);
867 vault
868 .get_vault_entry(request)
869 .await
870 .map(|response| response.into_inner())
871 }
872 }
873 })
874 }
875
876 pub fn list_vault_entries(
877 &self,

Callers 7

print_attestation_jsonFunction · 0.45
intent_showFunction · 0.45
memory_showFunction · 0.45
vault_showFunction · 0.45
intent_deleteFunction · 0.45
vault_goal_showFunction · 0.45
intent_graphFunction · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected