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

Method get_vault_entry

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

Source from the content-addressed store, hash-verified

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

Callers 15

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
vault_embedMethod · 0.45
rebuild_kgMethod · 0.45
newMethod · 0.45
vault_storeMethod · 0.45

Calls 2

callMethod · 0.45
into_innerMethod · 0.45

Tested by

no test coverage detected