-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.schema.json
More file actions
91 lines (91 loc) · 2.64 KB
/
config.schema.json
File metadata and controls
91 lines (91 loc) · 2.64 KB
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
{
"type": "object",
"properties": {
"root": {
"oneOf": [
{
"description": "The base directory when searching for entry points.\n\nDefaults to the config directory (or if no config file is found, the current working directory).",
"type": "string"
},
{
"type": "null"
}
]
},
"globs": {
"oneOf": [
{
"description": "The globs determine which directories are searched for entry points. Only \".ts\" and \".js\" files are matched, so you're not required to include them in the globs.\n\nBy default all directories in the \"root\" are searched.",
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"extensions": {
"oneOf": [
{
"description": "The extensions to match for entry points.\n\n@default [\".ts\", \".js\"]",
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"entrySuffix": {
"oneOf": [
{
"description": "The entry suffix should be a string like \".task\" or \".function\" which must be present in the file name (before the extension) or else that file will be ignored when scanning for entry points.\n\nIt can also be an empty string.",
"type": "string"
},
{
"type": "null"
}
]
},
"adapter": {
"oneOf": [
{
"description": "The adapter wraps your Cloud Run functions at runtime, allowing you to write them with a platform-agnostic HTTP framework, like Hattip.\n\nSet this to \"node\" to skip using an adapter, in which case, your functions should conform to what @google-cloud/functions-framework expects.\n\n@default \"node\"",
"enum": ["hattip", "node"]
},
{
"type": "null"
}
]
},
"maxInstanceConcurrency": {
"oneOf": [
{
"description": "The maximum number of instances (per function) that can be run concurrently. You can either set the same limit for all functions or set a different limit for each function.\n\n@default 5",
"oneOf": [
{
"type": "number"
},
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "number"
}
}
]
},
{
"type": "null"
}
]
}
},
"required": []
}