Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/canonical/cloud-init
/ get_runpath
Method
get_runpath
cloudinit/helpers.py:426–427 ·
view source on GitHub ↗
(self, name=None)
Source
from the content-addressed store, hash-verified
424
return
os.path.join(base, self.lookups[name])
425
426
def
get_runpath(self, name=None):
427
return
self._get_path(self.run_dir, name)
428
429
430
# This config parser will not throw when sections don't exist
Callers
15
_read_bootstrap_cfg
Method · 0.95
test_persist_instance_data_writes_network_json_when_set
Method · 0.95
test_get_data_base64encodes_unserializable_bytes
Method · 0.95
test_default_instance_data
Method · 0.95
test_root_fallback_from_sensitive_instance_data
Method · 0.95
_restore_from_checked_cache
Method · 0.80
_write_network_config_json
Method · 0.80
_reflect_cur_instance
Method · 0.80
consume_data
Method · 0.80
_get_per_boot_network_semaphore
Method · 0.80
persist_instance_data
Method · 0.80
get_parser
Function · 0.80
Calls
1
_get_path
Method · 0.95
Tested by
15
test_persist_instance_data_writes_network_json_when_set
Method · 0.76
test_get_data_base64encodes_unserializable_bytes
Method · 0.76
test_default_instance_data
Method · 0.76
test_root_fallback_from_sensitive_instance_data
Method · 0.76
test_expected_artifacts
Method · 0.64
test_get_data_does_not_write_instance_data_on_failure
Method · 0.64
test_get_data_writes_json_instance_data_on_success
Method · 0.64
test_get_data_writes_redacted_public_json_instance_data
Method · 0.64
test_get_data_writes_json_instance_data_sensitive
Method · 0.64
test_get_data_handles_redacted_unserializable_content
Method · 0.64
test_persist_instance_data_writes_ec2_metadata_when_set
Method · 0.64
test_handle_args_defaults_instance_data
Method · 0.64