MCPcopy Create free account
hub / github.com/canonical/cloud-init / process

Method process

cloudinit/user_data.py:81–88  ·  view source on GitHub ↗
(self, blob)

Source from the content-addressed store, hash-verified

79 self.ssl_details = util.fetch_ssl_details(paths)
80
81 def process(self, blob):
82 accumulating_msg = MIMEMultipart()
83 if isinstance(blob, list):
84 for b in blob:
85 self._process_msg(convert_string(b), accumulating_msg)
86 else:
87 self._process_msg(convert_string(blob), accumulating_msg)
88 return accumulating_msg
89
90 def _process_msg(self, base_msg, append_msg):
91 def find_ctype(payload):

Callers 11

get_userdataMethod · 0.80
get_vendordataMethod · 0.80
get_vendordata2Method · 0.80
testMultiEmailIndexMethod · 0.80
testHeaderEmailIndexMethod · 0.80
testConfigEmailIndexMethod · 0.80
testNoneIndexMethod · 0.80
testIndexesMethod · 0.80

Calls 2

_process_msgMethod · 0.95
convert_stringFunction · 0.85

Tested by 8

testMultiEmailIndexMethod · 0.64
testHeaderEmailIndexMethod · 0.64
testConfigEmailIndexMethod · 0.64
testNoneIndexMethod · 0.64
testIndexesMethod · 0.64