-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
122 lines (122 loc) · 3.63 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "Example workflow",
"external_objects": [
"example-object"
],
"observable_objects": [],
"observable_registers": 1,
"registers": 3,
"tasks": [
{
"type": "script",
"name": "example_script",
"input_registers": [
1
],
"output_registers": [
0,
2
],
"reactive": true,
"script": "<PLACEHOLDER>"
},
{
"type": "execution",
"name": "example_execution",
"channels": [
{
"buffer_size": 1048576,
"file_buffer_size": 1073741824,
"limit": 2147483648,
"source_pipe": 0,
"target_pipe": 1
}
],
"exclusive": true,
"filesystems": [
{
"type": "image",
"image": "example-image",
"path": ""
},
{
"type": "empty"
},
{
"type": "object",
"handle": "example-object"
}
],
"hard_time_limit": 2137,
"mount_namespaces": [
{
"root": 0,
"mountpoints": [
{
"source": 1,
"target": "/exe",
"writable": false
}
]
}
],
"output_register": 1,
"pid_namespaces": 1,
"pipes": 3,
"processes": [
{
"arguments": [
"/exe",
"--help"
],
"descriptors": {
"0": {
"type": "object_read",
"handle": "stdin"
},
"1": {
"type": "object_write",
"handle": "stdout"
},
"2": {
"type": "null"
},
"3": {
"type": "pipe_write",
"pipe": 0
},
"4": {
"type": "pipe_read",
"pipe": 1
},
"65534": {
"type": "file",
"filesystem": 0,
"path": "/etc/hosts",
"mode": "read"
}
},
"environment": [
"TERM=xterm-256color"
],
"image": "/exe",
"mount_namespace": 0,
"pid_namespace": 0,
"resource_group": 0,
"working_directory": "/"
}
],
"resource_groups": [
{
"cpu_usage_limit": 21.37,
"instruction_limit": 2137000000,
"memory_limit": 2147483648,
"oom_terminate_all_tasks": false,
"pid_limit": 8,
"swap_limit": 4,
"time_limit": 2137000000
}
]
}
]
}