1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"nodes": [{"id": "$graphify-root$_scripts_resource_budget", "label": "resource-budget", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L1", "metadata": {"language": "bash", "kind": "file"}}, {"id": "$graphify-root$_scripts_resource_budget__entry", "label": "resource-budget script", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L1", "metadata": {"language": "bash", "kind": "bash_entrypoint"}}, {"id": "$graphify-root$_scripts_resource_budget_usage", "label": "usage()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L13", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_section", "label": "section()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L41", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_warn", "label": "warn()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L45", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_fail", "label": "fail()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L50", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_have", "label": "have()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L55", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_host_budget", "label": "host_budget()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L59", "metadata": {"language": "bash", "kind": "bash_function"}}, {"id": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "label": "kubernetes_budget()", "file_type": "code", "source_file": "scripts/resource-budget", "source_location": "L79", "metadata": {"language": "bash", "kind": "bash_function"}}], "edges": [{"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget__entry", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_usage", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_section", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L41", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_warn", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_fail", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_have", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L55", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_host_budget", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L59", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget", "target": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "relation": "defines", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L79", "weight": 1.0}, {"source": "$graphify-root$_scripts_resource_budget__entry", "target": "$graphify-root$_scripts_resource_budget_usage", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L30", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget__entry", "target": "$graphify-root$_scripts_resource_budget_section", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L232", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget__entry", "target": "$graphify-root$_scripts_resource_budget_fail", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L236", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget__entry", "target": "$graphify-root$_scripts_resource_budget_host_budget", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L239", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget__entry", "target": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L240", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_host_budget", "target": "$graphify-root$_scripts_resource_budget_section", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L60", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_host_budget", "target": "$graphify-root$_scripts_resource_budget_have", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L62", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_host_budget", "target": "$graphify-root$_scripts_resource_budget_warn", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L67", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "target": "$graphify-root$_scripts_resource_budget_section", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L80", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "target": "$graphify-root$_scripts_resource_budget_have", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L82", "weight": 1.0, "context": "call"}, {"source": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "target": "$graphify-root$_scripts_resource_budget_warn", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/resource-budget", "source_location": "L83", "weight": 1.0, "context": "call"}], "raw_calls": [{"language": "bash", "callee": "set", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L2"}, {"language": "bash", "callee": "cd", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L4"}, {"language": "bash", "callee": "dirname", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L4"}, {"language": "bash", "callee": "pwd", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L4"}, {"language": "bash", "callee": "exit", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L31"}, {"language": "bash", "callee": "shift", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L38"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_resource_budget__entry", "source_file": "scripts/resource-budget", "source_location": "L234"}, {"language": "bash", "callee": "cat", "caller_nid": "$graphify-root$_scripts_resource_budget_usage", "source_file": "scripts/resource-budget", "source_location": "L14"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_resource_budget_section", "source_file": "scripts/resource-budget", "source_location": "L42"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_resource_budget_warn", "source_file": "scripts/resource-budget", "source_location": "L47"}, {"language": "bash", "callee": "printf", "caller_nid": "$graphify-root$_scripts_resource_budget_fail", "source_file": "scripts/resource-budget", "source_location": "L52"}, {"language": "bash", "callee": "command", "caller_nid": "$graphify-root$_scripts_resource_budget_have", "source_file": "scripts/resource-budget", "source_location": "L56"}, {"language": "bash", "callee": "free", "caller_nid": "$graphify-root$_scripts_resource_budget_host_budget", "source_file": "scripts/resource-budget", "source_location": "L63"}, {"language": "bash", "callee": "awk", "caller_nid": "$graphify-root$_scripts_resource_budget_host_budget", "source_file": "scripts/resource-budget", "source_location": "L63"}, {"language": "bash", "callee": "df", "caller_nid": "$graphify-root$_scripts_resource_budget_host_budget", "source_file": "scripts/resource-budget", "source_location": "L73"}, {"language": "bash", "callee": "true", "caller_nid": "$graphify-root$_scripts_resource_budget_host_budget", "source_file": "scripts/resource-budget", "source_location": "L73"}, {"language": "bash", "callee": "return", "caller_nid": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "source_file": "scripts/resource-budget", "source_location": "L84"}, {"language": "bash", "callee": "kubectl", "caller_nid": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "source_file": "scripts/resource-budget", "source_location": "L86"}, {"language": "bash", "callee": "python3", "caller_nid": "$graphify-root$_scripts_resource_budget_kubernetes_budget", "source_file": "scripts/resource-budget", "source_location": "L91"}], "bash_sources": []} |