Files
dev-intel-v2/test/ground-truth/bash-deploy.json

93 lines
1.7 KiB
JSON
Raw Normal View History

{
"file": "/tmp/deploy.sh",
"language": "bash",
"entities": [
{
"id": "deploy.sh",
"type": "Module",
"name": "deploy.sh",
"kind": "module",
"visibility": "public",
"line_range": [
1,
17
]
},
{
"id": "dep:./utils.sh",
"type": "Dependency",
"name": "./utils.sh",
"kind": "import",
"visibility": "internal",
"line_range": [
2,
2
]
},
{
"id": "deploy.sh:build_image",
"type": "Function",
"name": "build_image",
"kind": "function",
"visibility": "public",
"line_range": [
4,
8
]
},
{
"id": "deploy.sh:deploy_k8s",
"type": "Function",
"name": "deploy_k8s",
"kind": "function",
"visibility": "public",
"line_range": [
10,
12
]
}
],
"relationships": [
{
"type": "IMPORTS",
"source": "deploy.sh",
"target": "dep:./utils.sh"
},
{
"type": "CONTAINS",
"source": "deploy.sh",
"target": "deploy.sh:build_image"
},
{
"type": "CALLS",
"source": "deploy.sh:build_image",
"target": "docker"
},
{
"type": "CONTAINS",
"source": "deploy.sh",
"target": "deploy.sh:deploy_k8s"
},
{
"type": "CALLS",
"source": "deploy.sh:deploy_k8s",
"target": "kubectl"
},
{
"type": "CALLS",
"source": "deploy.sh",
"target": "echo"
},
{
"type": "CALLS",
"source": "deploy.sh",
"target": "build_image"
},
{
"type": "CALLS",
"source": "deploy.sh",
"target": "deploy_k8s"
}
]
}