my-homelab-configs/graphify-out/cache/ast/v0.9.64-s4/92db7434eb2e8deb8a5eeee8d24...

1 line
22 KiB
JSON

{"nodes": [{"id": "$graphify-root$_scripts_workers", "label": "workers", "file_type": "code", "source_file": "scripts/workers", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_scripts_workers__entry", "label": "workers script", "file_type": "code", "source_file": "scripts/workers", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_scripts_workers_usage", "label": "usage()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L15", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_have", "label": "have()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L32", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_is_skipped", "label": "is_skipped()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L36", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_validate_index", "label": "validate_index()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L49", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_vmid_for_index", "label": "vmid_for_index()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L58", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_node_for_index", "label": "node_for_index()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L63", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_pimox_ssh", "label": "pimox_ssh()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L68", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_kubectl_cmd", "label": "kubectl_cmd()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L72", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_target_indexes", "label": "target_indexes()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L76", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_list_workers", "label": "list_workers()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L92", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_start_workers", "label": "start_workers()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L117", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_stop_workers", "label": "stop_workers()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L128", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_restart_workers", "label": "restart_workers()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L142", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_drain_node", "label": "drain_node()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L165", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_uncordon_node", "label": "uncordon_node()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L175", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_recreate_plan", "label": "recreate_plan()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L185", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_rebalance", "label": "rebalance()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L217", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_workers_tailnet_setup", "label": "tailnet_setup()", "file_type": "code", "source_file": "scripts/workers", "source_location": "L231", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_usage", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_have", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_is_skipped", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L36", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_validate_index", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L58", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_node_for_index", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L63", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_pimox_ssh", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L68", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_kubectl_cmd", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_target_indexes", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L76", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_list_workers", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L92", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_start_workers", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L117", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_stop_workers", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L128", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_restart_workers", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L142", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_drain_node", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L165", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_uncordon_node", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L175", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_recreate_plan", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L185", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_rebalance", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L217", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers", "target": "$graphify-root$_scripts_workers_tailnet_setup", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L231", "weight": 1.0}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_list_workers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L293", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_tailnet_setup", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L296", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_start_workers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L299", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_stop_workers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L302", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_restart_workers", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L305", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_drain_node", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L308", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_uncordon_node", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L311", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_recreate_plan", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L314", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_rebalance", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L317", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers__entry", "target": "$graphify-root$_scripts_workers_usage", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L320", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_target_indexes", "target": "$graphify-root$_scripts_workers_is_skipped", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L82", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_target_indexes", "target": "$graphify-root$_scripts_workers_validate_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L87", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L101", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_node_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L102", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_is_skipped", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L103", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_pimox_ssh", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L107", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_have", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L108", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_list_workers", "target": "$graphify-root$_scripts_workers_kubectl_cmd", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L109", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_start_workers", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L122", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_start_workers", "target": "$graphify-root$_scripts_workers_pimox_ssh", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L124", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_stop_workers", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L133", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_stop_workers", "target": "$graphify-root$_scripts_workers_pimox_ssh", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L135", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_restart_workers", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L148", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_restart_workers", "target": "$graphify-root$_scripts_workers_pimox_ssh", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L150", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_drain_node", "target": "$graphify-root$_scripts_workers_kubectl_cmd", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L172", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_uncordon_node", "target": "$graphify-root$_scripts_workers_kubectl_cmd", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L182", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_recreate_plan", "target": "$graphify-root$_scripts_workers_validate_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L190", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_recreate_plan", "target": "$graphify-root$_scripts_workers_vmid_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L191", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_recreate_plan", "target": "$graphify-root$_scripts_workers_node_for_index", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L192", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_rebalance", "target": "$graphify-root$_scripts_workers_have", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L218", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_workers_rebalance", "target": "$graphify-root$_scripts_workers_kubectl_cmd", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/workers", "source_location": "L223", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_scripts_workers__entry", "source_file": "scripts/workers", "source_location": "L2"}, {"language": "bash", "callee": "cd", "caller_nid": "$graphify-root$_scripts_workers__entry", "source_file": "scripts/workers", "source_location": "L4"}, {"language": "bash", "callee": "dirname", "caller_nid": "$graphify-root$_scripts_workers__entry", "source_file": "scripts/workers", "source_location": "L4"}, {"language": "bash", "callee": "pwd", "caller_nid": "$graphify-root$_scripts_workers__entry", "source_file": "scripts/workers", "source_location": "L4"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers__entry", "source_file": "scripts/workers", "source_location": "L324"}, {"language": "bash", "callee": "cat", "caller_nid": "$graphify-root$_scripts_workers_usage", "source_file": "scripts/workers", "source_location": "L16"}, {"language": "bash", "callee": "command", "caller_nid": "$graphify-root$_scripts_workers_have", "source_file": "scripts/workers", "source_location": "L33"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_scripts_workers_is_skipped", "source_file": "scripts/workers", "source_location": "L43"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_validate_index", "source_file": "scripts/workers", "source_location": "L53"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_validate_index", "source_file": "scripts/workers", "source_location": "L54"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_vmid_for_index", "source_file": "scripts/workers", "source_location": "L60"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_workers_node_for_index", "source_file": "scripts/workers", "source_location": "L65"}, {"language": "bash", "callee": "ssh", "caller_nid": "$graphify-root$_scripts_workers_pimox_ssh", "source_file": "scripts/workers", "source_location": "L69"}, {"language": "bash", "callee": "kubectl", "caller_nid": "$graphify-root$_scripts_workers_kubectl_cmd", "source_file": "scripts/workers", "source_location": "L73"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_target_indexes", "source_file": "scripts/workers", "source_location": "L83"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_workers_list_workers", "source_file": "scripts/workers", "source_location": "L99"}, {"language": "bash", "callee": "continue", "caller_nid": "$graphify-root$_scripts_workers_list_workers", "source_file": "scripts/workers", "source_location": "L105"}, {"language": "bash", "callee": "awk", "caller_nid": "$graphify-root$_scripts_workers_list_workers", "source_file": "scripts/workers", "source_location": "L107"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_list_workers", "source_file": "scripts/workers", "source_location": "L107"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_start_workers", "source_file": "scripts/workers", "source_location": "L123"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_stop_workers", "source_file": "scripts/workers", "source_location": "L134"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_stop_workers", "source_file": "scripts/workers", "source_location": "L137"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_restart_workers", "source_file": "scripts/workers", "source_location": "L149"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_drain_node", "source_file": "scripts/workers", "source_location": "L169"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_drain_node", "source_file": "scripts/workers", "source_location": "L170"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_uncordon_node", "source_file": "scripts/workers", "source_location": "L179"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_uncordon_node", "source_file": "scripts/workers", "source_location": "L180"}, {"language": "bash", "callee": "cat", "caller_nid": "$graphify-root$_scripts_workers_recreate_plan", "source_file": "scripts/workers", "source_location": "L193"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_rebalance", "source_file": "scripts/workers", "source_location": "L219"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_rebalance", "source_file": "scripts/workers", "source_location": "L220"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_scripts_workers_rebalance", "source_file": "scripts/workers", "source_location": "L226"}, {"language": "bash", "callee": "echo", "caller_nid": "$graphify-root$_scripts_workers_tailnet_setup", "source_file": "scripts/workers", "source_location": "L242"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_workers_tailnet_setup", "source_file": "scripts/workers", "source_location": "L244"}, {"language": "bash", "callee": "read", "caller_nid": "$graphify-root$_scripts_workers_tailnet_setup", "source_file": "scripts/workers", "source_location": "L252"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_workers_tailnet_setup", "source_file": "scripts/workers", "source_location": "L277"}, {"language": "bash", "callee": "env", "caller_nid": "$graphify-root$_scripts_workers_tailnet_setup", "source_file": "scripts/workers", "source_location": "L284"}], "bash_sources": []}