MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / get

Method get

gateway/src/cert_store.rs:144–146  ·  view source on GitHub ↗

Get the current CertStore (lock-free)

(&self)

Source from the content-addressed store, hash-verified

142
143 /// Get the current CertStore (lock-free)
144 pub fn get(&self) -> Guard<Arc<CertStore>> {
145 self.store.load()
146 }
147
148 /// Replace the CertStore atomically (lock-free)
149 pub fn set(&self, new_store: Arc<CertStore>) {

Callers 15

run_watchdogFunction · 0.45
resolve_certMethod · 0.45
get_cert_dataMethod · 0.45
list_domainsMethod · 0.45
has_certMethod · 0.45
update_certMethod · 0.45
fmtMethod · 0.45
get_infoMethod · 0.45
instance_ipMethod · 0.45
instance_port_policyMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected