MCPcopy Index your code
hub / github.com/SpaceNetLab/StarryNet / run

Method run

starrynet/sn_utils.py:223–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 self.container_id_list = copy.deepcopy(container_id_list)
222
223 def run(self):
224
225 # Reset docker environment.
226 sn_reset_docker_env(self.remote_ssh, self.docker_service_name,
227 self.node_size)
228 # Get container list in each machine.
229 self.container_id_list = sn_get_container_info(self.remote_ssh)
230 # Rename all containers with the global idx
231 sn_rename_all_container(self.remote_ssh, self.container_id_list,
232 self.container_global_idx)
233
234
235def sn_get_container_info(remote_machine_ssh):

Callers

nothing calls this directly

Calls 3

sn_reset_docker_envFunction · 0.85
sn_rename_all_containerFunction · 0.85
sn_get_container_infoFunction · 0.70

Tested by

no test coverage detected