File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { ManifestEndpoint } from "../src/runtime/manifest" ;
2
2
import { RESET_VALUE } from "../src/common/options" ;
3
3
4
- export const MINIMAL_ENDPOINT : Partial < ManifestEndpoint > = {
4
+ export const MINIMAL_ENDPOINT : ManifestEndpoint = {
5
5
availableMemoryMb : RESET_VALUE ,
6
6
concurrency : RESET_VALUE ,
7
7
ingressSettings : RESET_VALUE ,
@@ -14,3 +14,23 @@ export const MINIMAL_ENDPOINT: Partial<ManifestEndpoint> = {
14
14
egressSettings : RESET_VALUE ,
15
15
} ,
16
16
} ;
17
+
18
+ export const FULL_ENDPOINT : ManifestEndpoint = {
19
+ region : [ "us-west1" ] ,
20
+ availableMemoryMb : 512 ,
21
+ timeoutSeconds : 60 ,
22
+ minInstances : 1 ,
23
+ maxInstances : 3 ,
24
+ concurrency : 20 ,
25
+ vpc : {
26
+ connector : "aConnector" ,
27
+ egressSettings : "ALL_TRAFFIC" ,
28
+ } ,
29
+ serviceAccountEmail : "root@" ,
30
+ ingressSettings : "ALLOW_ALL" ,
31
+ cpu : "gcf_gen1" ,
32
+ labels : {
33
+ hello : "world" ,
34
+ } ,
35
+ secretEnvironmentVariables : [ { key : "MY_SECRET" } ] ,
36
+ } ;
You can’t perform that action at this time.
0 commit comments