@scaleway/sdk-container 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,373 @@
1
+ import { isJSONObject, resolveOneOf, unmarshalArrayOfObject, unmarshalDate } from "@scaleway/sdk-client";
2
+ //#region src/v1/marshalling.gen.ts
3
+ const unmarshalContainerProbeHTTPProbe = (data) => {
4
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerProbeHTTPProbe' failed as data isn't a dictionary.`);
5
+ return { path: data.path };
6
+ };
7
+ const unmarshalContainerProbeTCPProbe = (data) => {
8
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerProbeTCPProbe' failed as data isn't a dictionary.`);
9
+ return {};
10
+ };
11
+ const unmarshalContainerProbe = (data) => {
12
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerProbe' failed as data isn't a dictionary.`);
13
+ return {
14
+ failureThreshold: data.failure_threshold,
15
+ http: data.http ? unmarshalContainerProbeHTTPProbe(data.http) : void 0,
16
+ interval: data.interval,
17
+ tcp: data.tcp ? unmarshalContainerProbeTCPProbe(data.tcp) : void 0,
18
+ timeout: data.timeout
19
+ };
20
+ };
21
+ const unmarshalContainerScalingOption = (data) => {
22
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ContainerScalingOption' failed as data isn't a dictionary.`);
23
+ return {
24
+ concurrentRequestsThreshold: data.concurrent_requests_threshold,
25
+ cpuUsageThreshold: data.cpu_usage_threshold,
26
+ memoryUsageThreshold: data.memory_usage_threshold
27
+ };
28
+ };
29
+ const unmarshalContainer = (data) => {
30
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Container' failed as data isn't a dictionary.`);
31
+ return {
32
+ args: data.args,
33
+ command: data.command,
34
+ createdAt: unmarshalDate(data.created_at),
35
+ description: data.description,
36
+ environmentVariables: data.environment_variables,
37
+ errorMessage: data.error_message,
38
+ httpsConnectionsOnly: data.https_connections_only,
39
+ id: data.id,
40
+ image: data.image,
41
+ livenessProbe: data.liveness_probe ? unmarshalContainerProbe(data.liveness_probe) : void 0,
42
+ localStorageLimitBytes: data.local_storage_limit_bytes,
43
+ maxScale: data.max_scale,
44
+ memoryLimitBytes: data.memory_limit_bytes,
45
+ minScale: data.min_scale,
46
+ mvcpuLimit: data.mvcpu_limit,
47
+ name: data.name,
48
+ namespaceId: data.namespace_id,
49
+ port: data.port,
50
+ privacy: data.privacy,
51
+ privateNetworkId: data.private_network_id,
52
+ protocol: data.protocol,
53
+ publicEndpoint: data.public_endpoint,
54
+ region: data.region,
55
+ sandbox: data.sandbox,
56
+ scalingOption: data.scaling_option ? unmarshalContainerScalingOption(data.scaling_option) : void 0,
57
+ secretEnvironmentVariables: data.secret_environment_variables,
58
+ startupProbe: data.startup_probe ? unmarshalContainerProbe(data.startup_probe) : void 0,
59
+ status: data.status,
60
+ tags: data.tags,
61
+ timeout: data.timeout,
62
+ updatedAt: unmarshalDate(data.updated_at)
63
+ };
64
+ };
65
+ const unmarshalDomain = (data) => {
66
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Domain' failed as data isn't a dictionary.`);
67
+ return {
68
+ containerId: data.container_id,
69
+ createdAt: unmarshalDate(data.created_at),
70
+ errorMessage: data.error_message,
71
+ hostname: data.hostname,
72
+ id: data.id,
73
+ status: data.status,
74
+ tags: data.tags,
75
+ updatedAt: unmarshalDate(data.updated_at)
76
+ };
77
+ };
78
+ const unmarshalNamespace = (data) => {
79
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Namespace' failed as data isn't a dictionary.`);
80
+ return {
81
+ createdAt: unmarshalDate(data.created_at),
82
+ description: data.description,
83
+ environmentVariables: data.environment_variables,
84
+ errorMessage: data.error_message,
85
+ id: data.id,
86
+ name: data.name,
87
+ organizationId: data.organization_id,
88
+ projectId: data.project_id,
89
+ region: data.region,
90
+ secretEnvironmentVariables: data.secret_environment_variables,
91
+ status: data.status,
92
+ tags: data.tags,
93
+ updatedAt: unmarshalDate(data.updated_at)
94
+ };
95
+ };
96
+ const unmarshalTriggerCronConfig = (data) => {
97
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerCronConfig' failed as data isn't a dictionary.`);
98
+ return {
99
+ body: data.body,
100
+ headers: data.headers,
101
+ schedule: data.schedule,
102
+ timezone: data.timezone
103
+ };
104
+ };
105
+ const unmarshalTriggerDestinationConfig = (data) => {
106
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerDestinationConfig' failed as data isn't a dictionary.`);
107
+ return {
108
+ httpMethod: data.http_method,
109
+ httpPath: data.http_path
110
+ };
111
+ };
112
+ const unmarshalTriggerNATSConfig = (data) => {
113
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerNATSConfig' failed as data isn't a dictionary.`);
114
+ return {
115
+ serverUrls: data.server_urls,
116
+ subject: data.subject
117
+ };
118
+ };
119
+ const unmarshalTriggerSQSConfig = (data) => {
120
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'TriggerSQSConfig' failed as data isn't a dictionary.`);
121
+ return {
122
+ accessKeyId: data.access_key_id,
123
+ endpoint: data.endpoint,
124
+ queueUrl: data.queue_url,
125
+ region: data.region
126
+ };
127
+ };
128
+ const unmarshalTrigger = (data) => {
129
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'Trigger' failed as data isn't a dictionary.`);
130
+ return {
131
+ containerId: data.container_id,
132
+ createdAt: unmarshalDate(data.created_at),
133
+ cronConfig: data.cron_config ? unmarshalTriggerCronConfig(data.cron_config) : void 0,
134
+ description: data.description,
135
+ destinationConfig: data.destination_config ? unmarshalTriggerDestinationConfig(data.destination_config) : void 0,
136
+ errorMessage: data.error_message,
137
+ id: data.id,
138
+ name: data.name,
139
+ natsConfig: data.nats_config ? unmarshalTriggerNATSConfig(data.nats_config) : void 0,
140
+ sourceType: data.source_type,
141
+ sqsConfig: data.sqs_config ? unmarshalTriggerSQSConfig(data.sqs_config) : void 0,
142
+ status: data.status,
143
+ tags: data.tags,
144
+ updatedAt: unmarshalDate(data.updated_at)
145
+ };
146
+ };
147
+ const unmarshalListContainersResponse = (data) => {
148
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListContainersResponse' failed as data isn't a dictionary.`);
149
+ return {
150
+ containers: unmarshalArrayOfObject(data.containers, unmarshalContainer),
151
+ totalCount: data.total_count
152
+ };
153
+ };
154
+ const unmarshalListDomainsResponse = (data) => {
155
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListDomainsResponse' failed as data isn't a dictionary.`);
156
+ return {
157
+ domains: unmarshalArrayOfObject(data.domains, unmarshalDomain),
158
+ totalCount: data.total_count
159
+ };
160
+ };
161
+ const unmarshalListNamespacesResponse = (data) => {
162
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListNamespacesResponse' failed as data isn't a dictionary.`);
163
+ return {
164
+ namespaces: unmarshalArrayOfObject(data.namespaces, unmarshalNamespace),
165
+ totalCount: data.total_count
166
+ };
167
+ };
168
+ const unmarshalListTriggersResponse = (data) => {
169
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListTriggersResponse' failed as data isn't a dictionary.`);
170
+ return {
171
+ totalCount: data.total_count,
172
+ triggers: unmarshalArrayOfObject(data.triggers, unmarshalTrigger)
173
+ };
174
+ };
175
+ const marshalContainerProbeHTTPProbe = (request, defaults) => ({ path: request.path });
176
+ const marshalContainerProbeTCPProbe = (request, defaults) => ({});
177
+ const marshalContainerProbe = (request, defaults) => ({
178
+ failure_threshold: request.failureThreshold,
179
+ interval: request.interval,
180
+ timeout: request.timeout,
181
+ ...resolveOneOf([{
182
+ param: "tcp",
183
+ value: request.tcp !== void 0 ? marshalContainerProbeTCPProbe(request.tcp, defaults) : void 0
184
+ }, {
185
+ param: "http",
186
+ value: request.http !== void 0 ? marshalContainerProbeHTTPProbe(request.http, defaults) : void 0
187
+ }])
188
+ });
189
+ const marshalContainerScalingOption = (request, defaults) => ({ ...resolveOneOf([
190
+ {
191
+ param: "concurrent_requests_threshold",
192
+ value: request.concurrentRequestsThreshold
193
+ },
194
+ {
195
+ param: "cpu_usage_threshold",
196
+ value: request.cpuUsageThreshold
197
+ },
198
+ {
199
+ param: "memory_usage_threshold",
200
+ value: request.memoryUsageThreshold
201
+ }
202
+ ]) });
203
+ const marshalCreateContainerRequest = (request, defaults) => ({
204
+ args: request.args,
205
+ command: request.command,
206
+ description: request.description,
207
+ environment_variables: request.environmentVariables !== void 0 ? request.environmentVariables : void 0,
208
+ https_connections_only: request.httpsConnectionsOnly,
209
+ image: request.image,
210
+ liveness_probe: request.livenessProbe !== void 0 ? marshalContainerProbe(request.livenessProbe, defaults) : void 0,
211
+ local_storage_limit_bytes: request.localStorageLimitBytes,
212
+ max_scale: request.maxScale,
213
+ memory_limit_bytes: request.memoryLimitBytes,
214
+ min_scale: request.minScale,
215
+ mvcpu_limit: request.mvcpuLimit,
216
+ name: request.name,
217
+ namespace_id: request.namespaceId,
218
+ port: request.port,
219
+ privacy: request.privacy,
220
+ private_network_id: request.privateNetworkId,
221
+ protocol: request.protocol,
222
+ sandbox: request.sandbox,
223
+ scaling_option: request.scalingOption !== void 0 ? marshalContainerScalingOption(request.scalingOption, defaults) : void 0,
224
+ secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables : void 0,
225
+ startup_probe: request.startupProbe !== void 0 ? marshalContainerProbe(request.startupProbe, defaults) : void 0,
226
+ tags: request.tags,
227
+ timeout: request.timeout
228
+ });
229
+ const marshalCreateDomainRequest = (request, defaults) => ({
230
+ container_id: request.containerId,
231
+ hostname: request.hostname,
232
+ tags: request.tags
233
+ });
234
+ const marshalCreateNamespaceRequest = (request, defaults) => ({
235
+ description: request.description,
236
+ environment_variables: request.environmentVariables !== void 0 ? request.environmentVariables : void 0,
237
+ name: request.name,
238
+ project_id: request.projectId ?? defaults.defaultProjectId,
239
+ secret_environment_variables: request.secretEnvironmentVariables !== void 0 ? request.secretEnvironmentVariables : void 0,
240
+ tags: request.tags
241
+ });
242
+ const marshalCreateTriggerRequestCronConfig = (request, defaults) => ({
243
+ body: request.body,
244
+ headers: request.headers,
245
+ schedule: request.schedule,
246
+ timezone: request.timezone
247
+ });
248
+ const marshalCreateTriggerRequestDestinationConfig = (request, defaults) => ({
249
+ http_method: request.httpMethod,
250
+ http_path: request.httpPath
251
+ });
252
+ const marshalCreateTriggerRequestNATSConfig = (request, defaults) => ({
253
+ credentials_file_content: request.credentialsFileContent,
254
+ server_urls: request.serverUrls,
255
+ subject: request.subject
256
+ });
257
+ const marshalCreateTriggerRequestSQSConfig = (request, defaults) => ({
258
+ access_key_id: request.accessKeyId,
259
+ endpoint: request.endpoint,
260
+ queue_url: request.queueUrl,
261
+ region: request.region,
262
+ secret_access_key: request.secretAccessKey
263
+ });
264
+ const marshalCreateTriggerRequest = (request, defaults) => ({
265
+ container_id: request.containerId,
266
+ description: request.description,
267
+ destination_config: request.destinationConfig !== void 0 ? marshalCreateTriggerRequestDestinationConfig(request.destinationConfig, defaults) : void 0,
268
+ name: request.name,
269
+ tags: request.tags,
270
+ ...resolveOneOf([
271
+ {
272
+ param: "cron_config",
273
+ value: request.cronConfig !== void 0 ? marshalCreateTriggerRequestCronConfig(request.cronConfig, defaults) : void 0
274
+ },
275
+ {
276
+ param: "sqs_config",
277
+ value: request.sqsConfig !== void 0 ? marshalCreateTriggerRequestSQSConfig(request.sqsConfig, defaults) : void 0
278
+ },
279
+ {
280
+ param: "nats_config",
281
+ value: request.natsConfig !== void 0 ? marshalCreateTriggerRequestNATSConfig(request.natsConfig, defaults) : void 0
282
+ }
283
+ ])
284
+ });
285
+ const marshalUpdateContainerRequestProbeHTTPProbe = (request, defaults) => ({ path: request.path });
286
+ const marshalUpdateContainerRequestProbeTCPProbe = (request, defaults) => ({});
287
+ const marshalUpdateContainerRequestProbe = (request, defaults) => ({
288
+ failure_threshold: request.failureThreshold,
289
+ interval: request.interval,
290
+ timeout: request.timeout,
291
+ ...resolveOneOf([{
292
+ param: "http",
293
+ value: request.http !== void 0 ? marshalUpdateContainerRequestProbeHTTPProbe(request.http, defaults) : void 0
294
+ }, {
295
+ param: "tcp",
296
+ value: request.tcp !== void 0 ? marshalUpdateContainerRequestProbeTCPProbe(request.tcp, defaults) : void 0
297
+ }])
298
+ });
299
+ const marshalUpdateContainerRequest = (request, defaults) => ({
300
+ args: request.args,
301
+ command: request.command,
302
+ description: request.description,
303
+ environment_variables: request.environmentVariables,
304
+ https_connection_only: request.httpsConnectionOnly,
305
+ image: request.image,
306
+ liveness_probe: request.livenessProbe !== void 0 ? marshalContainerProbe(request.livenessProbe, defaults) : void 0,
307
+ local_storage_limit_bytes: request.localStorageLimitBytes,
308
+ max_scale: request.maxScale,
309
+ memory_limit_bytes: request.memoryLimitBytes,
310
+ min_scale: request.minScale,
311
+ mvcpu_limit: request.mvcpuLimit,
312
+ port: request.port,
313
+ privacy: request.privacy,
314
+ private_network_id: request.privateNetworkId,
315
+ protocol: request.protocol,
316
+ sandbox: request.sandbox,
317
+ scaling_option: request.scalingOption !== void 0 ? marshalContainerScalingOption(request.scalingOption, defaults) : void 0,
318
+ secret_environment_variables: request.secretEnvironmentVariables,
319
+ startup_probe: request.startupProbe !== void 0 ? marshalUpdateContainerRequestProbe(request.startupProbe, defaults) : void 0,
320
+ tags: request.tags,
321
+ timeout: request.timeout
322
+ });
323
+ const marshalUpdateDomainRequest = (request, defaults) => ({ tags: request.tags });
324
+ const marshalUpdateNamespaceRequest = (request, defaults) => ({
325
+ description: request.description,
326
+ environment_variables: request.environmentVariables,
327
+ secret_environment_variables: request.secretEnvironmentVariables,
328
+ tags: request.tags
329
+ });
330
+ const marshalUpdateTriggerRequestCronConfig = (request, defaults) => ({
331
+ body: request.body,
332
+ headers: request.headers,
333
+ schedule: request.schedule,
334
+ timezone: request.timezone
335
+ });
336
+ const marshalUpdateTriggerRequestDestinationConfig = (request, defaults) => ({
337
+ http_method: request.httpMethod,
338
+ http_path: request.httpPath
339
+ });
340
+ const marshalUpdateTriggerRequestNATSConfig = (request, defaults) => ({
341
+ credentials_file_content: request.credentialsFileContent,
342
+ server_urls: request.serverUrls,
343
+ subject: request.subject
344
+ });
345
+ const marshalUpdateTriggerRequestSQSConfig = (request, defaults) => ({
346
+ access_key_id: request.accessKeyId,
347
+ endpoint: request.endpoint,
348
+ queue_url: request.queueUrl,
349
+ region: request.region,
350
+ secret_access_key: request.secretAccessKey
351
+ });
352
+ const marshalUpdateTriggerRequest = (request, defaults) => ({
353
+ description: request.description,
354
+ destination_config: request.destinationConfig !== void 0 ? marshalUpdateTriggerRequestDestinationConfig(request.destinationConfig, defaults) : void 0,
355
+ name: request.name,
356
+ tags: request.tags,
357
+ ...resolveOneOf([
358
+ {
359
+ param: "cron_config",
360
+ value: request.cronConfig !== void 0 ? marshalUpdateTriggerRequestCronConfig(request.cronConfig, defaults) : void 0
361
+ },
362
+ {
363
+ param: "sqs_config",
364
+ value: request.sqsConfig !== void 0 ? marshalUpdateTriggerRequestSQSConfig(request.sqsConfig, defaults) : void 0
365
+ },
366
+ {
367
+ param: "nats_config",
368
+ value: request.natsConfig !== void 0 ? marshalUpdateTriggerRequestNATSConfig(request.natsConfig, defaults) : void 0
369
+ }
370
+ ])
371
+ });
372
+ //#endregion
373
+ export { marshalCreateContainerRequest, marshalCreateDomainRequest, marshalCreateNamespaceRequest, marshalCreateTriggerRequest, marshalUpdateContainerRequest, marshalUpdateDomainRequest, marshalUpdateNamespaceRequest, marshalUpdateTriggerRequest, unmarshalContainer, unmarshalDomain, unmarshalListContainersResponse, unmarshalListDomainsResponse, unmarshalListNamespacesResponse, unmarshalListTriggersResponse, unmarshalNamespace, unmarshalTrigger };
@@ -0,0 +1,103 @@
1
+ export declare const queriesMetadata: {
2
+ readonly namespace: "container";
3
+ readonly version: "v1";
4
+ readonly folderName: "containerv1";
5
+ readonly services: readonly [{
6
+ readonly apiClass: "API";
7
+ readonly methods: readonly [{
8
+ readonly methodName: "getServiceInfo";
9
+ readonly protoName: "GetServiceInfo";
10
+ readonly paramsType: "GetServiceInfoRequest";
11
+ readonly returnType: "ServiceInfo";
12
+ readonly isList: false;
13
+ readonly paginationType: "none";
14
+ readonly isPrivate: false;
15
+ readonly description: "\"";
16
+ }, {
17
+ readonly methodName: "getNamespace";
18
+ readonly protoName: "GetNamespace";
19
+ readonly paramsType: "GetNamespaceRequest";
20
+ readonly returnType: "Namespace";
21
+ readonly isList: false;
22
+ readonly paginationType: "none";
23
+ readonly isPrivate: false;
24
+ readonly description: "\"";
25
+ readonly hasWaiter: true;
26
+ }, {
27
+ readonly methodName: "listNamespaces";
28
+ readonly protoName: "ListNamespaces";
29
+ readonly paramsType: "ListNamespacesRequest";
30
+ readonly returnType: "ListNamespacesResponse";
31
+ readonly isList: true;
32
+ readonly paginationType: "offset";
33
+ readonly pageParamKey: "page";
34
+ readonly listItemType: "Namespace";
35
+ readonly isPrivate: false;
36
+ readonly description: "\"";
37
+ }, {
38
+ readonly methodName: "getContainer";
39
+ readonly protoName: "GetContainer";
40
+ readonly paramsType: "GetContainerRequest";
41
+ readonly returnType: "Container";
42
+ readonly isList: false;
43
+ readonly paginationType: "none";
44
+ readonly isPrivate: false;
45
+ readonly description: "\"";
46
+ readonly hasWaiter: true;
47
+ }, {
48
+ readonly methodName: "listContainers";
49
+ readonly protoName: "ListContainers";
50
+ readonly paramsType: "ListContainersRequest";
51
+ readonly returnType: "ListContainersResponse";
52
+ readonly isList: true;
53
+ readonly paginationType: "offset";
54
+ readonly pageParamKey: "page";
55
+ readonly listItemType: "Container";
56
+ readonly isPrivate: false;
57
+ readonly description: "\"";
58
+ }, {
59
+ readonly methodName: "getDomain";
60
+ readonly protoName: "GetDomain";
61
+ readonly paramsType: "GetDomainRequest";
62
+ readonly returnType: "Domain";
63
+ readonly isList: false;
64
+ readonly paginationType: "none";
65
+ readonly isPrivate: false;
66
+ readonly description: "\"";
67
+ readonly hasWaiter: true;
68
+ }, {
69
+ readonly methodName: "listDomains";
70
+ readonly protoName: "ListDomains";
71
+ readonly paramsType: "ListDomainsRequest";
72
+ readonly returnType: "ListDomainsResponse";
73
+ readonly isList: true;
74
+ readonly paginationType: "offset";
75
+ readonly pageParamKey: "page";
76
+ readonly listItemType: "Domain";
77
+ readonly isPrivate: false;
78
+ readonly description: "\"";
79
+ }, {
80
+ readonly methodName: "getTrigger";
81
+ readonly protoName: "GetTrigger";
82
+ readonly paramsType: "GetTriggerRequest";
83
+ readonly returnType: "Trigger";
84
+ readonly isList: false;
85
+ readonly paginationType: "none";
86
+ readonly isPrivate: false;
87
+ readonly description: "\"";
88
+ readonly hasWaiter: true;
89
+ }, {
90
+ readonly methodName: "listTriggers";
91
+ readonly protoName: "ListTriggers";
92
+ readonly paramsType: "ListTriggersRequest";
93
+ readonly returnType: "ListTriggersResponse";
94
+ readonly isList: true;
95
+ readonly paginationType: "offset";
96
+ readonly pageParamKey: "page";
97
+ readonly listItemType: "Trigger";
98
+ readonly isPrivate: false;
99
+ readonly description: "\"";
100
+ }];
101
+ }];
102
+ };
103
+ export type QueriesMetadata = typeof queriesMetadata;
@@ -0,0 +1,115 @@
1
+ //#region src/v1/metadata.gen.ts
2
+ const queriesMetadata = {
3
+ namespace: "container",
4
+ version: "v1",
5
+ folderName: "containerv1",
6
+ services: [{
7
+ apiClass: "API",
8
+ methods: [
9
+ {
10
+ methodName: "getServiceInfo",
11
+ protoName: "GetServiceInfo",
12
+ paramsType: "GetServiceInfoRequest",
13
+ returnType: "ServiceInfo",
14
+ isList: false,
15
+ paginationType: "none",
16
+ isPrivate: false,
17
+ description: "\""
18
+ },
19
+ {
20
+ methodName: "getNamespace",
21
+ protoName: "GetNamespace",
22
+ paramsType: "GetNamespaceRequest",
23
+ returnType: "Namespace",
24
+ isList: false,
25
+ paginationType: "none",
26
+ isPrivate: false,
27
+ description: "\"",
28
+ hasWaiter: true
29
+ },
30
+ {
31
+ methodName: "listNamespaces",
32
+ protoName: "ListNamespaces",
33
+ paramsType: "ListNamespacesRequest",
34
+ returnType: "ListNamespacesResponse",
35
+ isList: true,
36
+ paginationType: "offset",
37
+ pageParamKey: "page",
38
+ listItemType: "Namespace",
39
+ isPrivate: false,
40
+ description: "\""
41
+ },
42
+ {
43
+ methodName: "getContainer",
44
+ protoName: "GetContainer",
45
+ paramsType: "GetContainerRequest",
46
+ returnType: "Container",
47
+ isList: false,
48
+ paginationType: "none",
49
+ isPrivate: false,
50
+ description: "\"",
51
+ hasWaiter: true
52
+ },
53
+ {
54
+ methodName: "listContainers",
55
+ protoName: "ListContainers",
56
+ paramsType: "ListContainersRequest",
57
+ returnType: "ListContainersResponse",
58
+ isList: true,
59
+ paginationType: "offset",
60
+ pageParamKey: "page",
61
+ listItemType: "Container",
62
+ isPrivate: false,
63
+ description: "\""
64
+ },
65
+ {
66
+ methodName: "getDomain",
67
+ protoName: "GetDomain",
68
+ paramsType: "GetDomainRequest",
69
+ returnType: "Domain",
70
+ isList: false,
71
+ paginationType: "none",
72
+ isPrivate: false,
73
+ description: "\"",
74
+ hasWaiter: true
75
+ },
76
+ {
77
+ methodName: "listDomains",
78
+ protoName: "ListDomains",
79
+ paramsType: "ListDomainsRequest",
80
+ returnType: "ListDomainsResponse",
81
+ isList: true,
82
+ paginationType: "offset",
83
+ pageParamKey: "page",
84
+ listItemType: "Domain",
85
+ isPrivate: false,
86
+ description: "\""
87
+ },
88
+ {
89
+ methodName: "getTrigger",
90
+ protoName: "GetTrigger",
91
+ paramsType: "GetTriggerRequest",
92
+ returnType: "Trigger",
93
+ isList: false,
94
+ paginationType: "none",
95
+ isPrivate: false,
96
+ description: "\"",
97
+ hasWaiter: true
98
+ },
99
+ {
100
+ methodName: "listTriggers",
101
+ protoName: "ListTriggers",
102
+ paramsType: "ListTriggersRequest",
103
+ returnType: "ListTriggersResponse",
104
+ isList: true,
105
+ paginationType: "offset",
106
+ pageParamKey: "page",
107
+ listItemType: "Trigger",
108
+ isPrivate: false,
109
+ description: "\""
110
+ }
111
+ ]
112
+ }]
113
+ };
114
+ //#endregion
115
+ export { queriesMetadata };