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

Method decode_vm_config

dstack-attest/src/attestation.rs:507–509  ·  view source on GitHub ↗

Decode the VM config from the external or embedded config.

(&'a self, config: &'a str)

Source from the content-addressed store, hash-verified

505impl AttestationV1 {
506 /// Decode the VM config from the external or embedded config.
507 pub fn decode_vm_config<'a>(&'a self, config: &'a str) -> Result<VmConfig> {
508 decode_vm_config_with_fallback(config, self.stack.config())
509 }
510
511 /// Decode the app info from the event log.
512 pub fn decode_app_info(&self, boottime_mr: bool) -> Result<AppInfo> {

Callers 2

decode_app_info_exMethod · 0.80
verify_os_image_hashMethod · 0.80

Calls 3

configMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected