in scripts/store-agent-creds.py [0:0]
def _get_system_arch() -> Tuple[str, str]:
uname = platform.uname()
if uname.system == "Linux":
system = "linux"
elif uname.system == "Darwin":
system = "osx"
else:
raise RuntimeError("Un-supported platform")
if uname.machine == "x86_64":
arch = "x64"
else:
raise RuntimeError("Un-supported architecture")
return system, arch