sandbox0 0.1.13 → 0.2.1
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.
- package/dist/apispec/src/apis/FilesApi.d.ts +96 -0
- package/dist/apispec/src/apis/FilesApi.d.ts.map +1 -1
- package/dist/apispec/src/apis/FilesApi.js +283 -0
- package/dist/apispec/src/models/ExecAction.d.ts +33 -0
- package/dist/apispec/src/models/ExecAction.d.ts.map +1 -0
- package/dist/apispec/src/models/ExecAction.js +41 -0
- package/dist/apispec/src/models/GRPCAction.d.ts +39 -0
- package/dist/apispec/src/models/GRPCAction.d.ts.map +1 -0
- package/dist/apispec/src/models/GRPCAction.js +45 -0
- package/dist/apispec/src/models/HTTPGetAction.d.ts +59 -0
- package/dist/apispec/src/models/HTTPGetAction.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPGetAction.js +53 -0
- package/dist/apispec/src/models/HTTPHeader.d.ts +39 -0
- package/dist/apispec/src/models/HTTPHeader.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPHeader.js +47 -0
- package/dist/apispec/src/models/Probe.d.ts +91 -0
- package/dist/apispec/src/models/Probe.d.ts.map +1 -0
- package/dist/apispec/src/models/Probe.js +63 -0
- package/dist/apispec/src/models/ProbePort.d.ts +22 -0
- package/dist/apispec/src/models/ProbePort.d.ts.map +1 -0
- package/dist/apispec/src/models/ProbePort.js +43 -0
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +3 -2
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +3 -2
- package/dist/apispec/src/models/SidecarContainerSpec.d.ts +91 -0
- package/dist/apispec/src/models/SidecarContainerSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/SidecarContainerSpec.js +67 -0
- package/dist/apispec/src/models/TCPSocketAction.d.ts +40 -0
- package/dist/apispec/src/models/TCPSocketAction.d.ts.map +1 -0
- package/dist/apispec/src/models/TCPSocketAction.js +46 -0
- package/dist/apispec/src/models/index.d.ts +8 -0
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +8 -0
- package/dist/resources/volumes.d.ts +10 -1
- package/dist/resources/volumes.d.ts.map +1 -1
- package/dist/resources/volumes.js +136 -0
- package/package.json +1 -1
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ProbePortFromJSON, ProbePortToJSON, } from './ProbePort.js';
|
|
15
|
+
import { HTTPHeaderFromJSON, HTTPHeaderToJSON, } from './HTTPHeader.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the HTTPGetAction interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfHTTPGetAction(value) {
|
|
20
|
+
if (!('port' in value) || value['port'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function HTTPGetActionFromJSON(json) {
|
|
25
|
+
return HTTPGetActionFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function HTTPGetActionFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'path': json['path'] == null ? undefined : json['path'],
|
|
33
|
+
'port': ProbePortFromJSON(json['port']),
|
|
34
|
+
'host': json['host'] == null ? undefined : json['host'],
|
|
35
|
+
'scheme': json['scheme'] == null ? undefined : json['scheme'],
|
|
36
|
+
'httpHeaders': json['httpHeaders'] == null ? undefined : (json['httpHeaders'].map(HTTPHeaderFromJSON)),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function HTTPGetActionToJSON(json) {
|
|
40
|
+
return HTTPGetActionToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function HTTPGetActionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'path': value['path'],
|
|
48
|
+
'port': ProbePortToJSON(value['port']),
|
|
49
|
+
'host': value['host'],
|
|
50
|
+
'scheme': value['scheme'],
|
|
51
|
+
'httpHeaders': value['httpHeaders'] == null ? undefined : (value['httpHeaders'].map(HTTPHeaderToJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HTTPHeader
|
|
16
|
+
*/
|
|
17
|
+
export interface HTTPHeader {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HTTPHeader
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof HTTPHeader
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HTTPHeader interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHTTPHeader(value: object): value is HTTPHeader;
|
|
35
|
+
export declare function HTTPHeaderFromJSON(json: any): HTTPHeader;
|
|
36
|
+
export declare function HTTPHeaderFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPHeader;
|
|
37
|
+
export declare function HTTPHeaderToJSON(json: any): HTTPHeader;
|
|
38
|
+
export declare function HTTPHeaderToJSONTyped(value?: HTTPHeader | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=HTTPHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPHeader.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPHeader.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,UAAU;IACvB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,UAAU,CAIvE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAS3F;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAEtD;AAED,wBAAgB,qBAAqB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1G"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the HTTPHeader interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHTTPHeader(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function HTTPHeaderFromJSON(json) {
|
|
25
|
+
return HTTPHeaderFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function HTTPHeaderFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
'value': json['value'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function HTTPHeaderToJSON(json) {
|
|
37
|
+
return HTTPHeaderToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function HTTPHeaderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'name': value['name'],
|
|
45
|
+
'value': value['value'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ExecAction } from './ExecAction.js';
|
|
13
|
+
import type { TCPSocketAction } from './TCPSocketAction.js';
|
|
14
|
+
import type { GRPCAction } from './GRPCAction.js';
|
|
15
|
+
import type { HTTPGetAction } from './HTTPGetAction.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Probe
|
|
20
|
+
*/
|
|
21
|
+
export interface Probe {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {ExecAction}
|
|
25
|
+
* @memberof Probe
|
|
26
|
+
*/
|
|
27
|
+
exec?: ExecAction;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {HTTPGetAction}
|
|
31
|
+
* @memberof Probe
|
|
32
|
+
*/
|
|
33
|
+
httpGet?: HTTPGetAction;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {TCPSocketAction}
|
|
37
|
+
* @memberof Probe
|
|
38
|
+
*/
|
|
39
|
+
tcpSocket?: TCPSocketAction;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {GRPCAction}
|
|
43
|
+
* @memberof Probe
|
|
44
|
+
*/
|
|
45
|
+
grpc?: GRPCAction;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof Probe
|
|
50
|
+
*/
|
|
51
|
+
initialDelaySeconds?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof Probe
|
|
56
|
+
*/
|
|
57
|
+
timeoutSeconds?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Probe
|
|
62
|
+
*/
|
|
63
|
+
periodSeconds?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof Probe
|
|
68
|
+
*/
|
|
69
|
+
successThreshold?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof Probe
|
|
74
|
+
*/
|
|
75
|
+
failureThreshold?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof Probe
|
|
80
|
+
*/
|
|
81
|
+
terminationGracePeriodSeconds?: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the Probe interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfProbe(value: object): value is Probe;
|
|
87
|
+
export declare function ProbeFromJSON(json: any): Probe;
|
|
88
|
+
export declare function ProbeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Probe;
|
|
89
|
+
export declare function ProbeToJSON(json: any): Probe;
|
|
90
|
+
export declare function ProbeToJSONTyped(value?: Probe | null, ignoreDiscriminator?: boolean): any;
|
|
91
|
+
//# sourceMappingURL=Probe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Probe.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Probe.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAQrD;;;;GAIG;AACH,MAAM,WAAW,KAAK;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,KAAK,CAE7D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE9C;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,KAAK,CAiBjF;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,GAAG,KAAK,CAE5C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBhG"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ExecActionFromJSON, ExecActionToJSON, } from './ExecAction.js';
|
|
15
|
+
import { TCPSocketActionFromJSON, TCPSocketActionToJSON, } from './TCPSocketAction.js';
|
|
16
|
+
import { GRPCActionFromJSON, GRPCActionToJSON, } from './GRPCAction.js';
|
|
17
|
+
import { HTTPGetActionFromJSON, HTTPGetActionToJSON, } from './HTTPGetAction.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Probe interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfProbe(value) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ProbeFromJSON(json) {
|
|
25
|
+
return ProbeFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ProbeFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'exec': json['exec'] == null ? undefined : ExecActionFromJSON(json['exec']),
|
|
33
|
+
'httpGet': json['httpGet'] == null ? undefined : HTTPGetActionFromJSON(json['httpGet']),
|
|
34
|
+
'tcpSocket': json['tcpSocket'] == null ? undefined : TCPSocketActionFromJSON(json['tcpSocket']),
|
|
35
|
+
'grpc': json['grpc'] == null ? undefined : GRPCActionFromJSON(json['grpc']),
|
|
36
|
+
'initialDelaySeconds': json['initialDelaySeconds'] == null ? undefined : json['initialDelaySeconds'],
|
|
37
|
+
'timeoutSeconds': json['timeoutSeconds'] == null ? undefined : json['timeoutSeconds'],
|
|
38
|
+
'periodSeconds': json['periodSeconds'] == null ? undefined : json['periodSeconds'],
|
|
39
|
+
'successThreshold': json['successThreshold'] == null ? undefined : json['successThreshold'],
|
|
40
|
+
'failureThreshold': json['failureThreshold'] == null ? undefined : json['failureThreshold'],
|
|
41
|
+
'terminationGracePeriodSeconds': json['terminationGracePeriodSeconds'] == null ? undefined : json['terminationGracePeriodSeconds'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ProbeToJSON(json) {
|
|
45
|
+
return ProbeToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ProbeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'exec': ExecActionToJSON(value['exec']),
|
|
53
|
+
'httpGet': HTTPGetActionToJSON(value['httpGet']),
|
|
54
|
+
'tcpSocket': TCPSocketActionToJSON(value['tcpSocket']),
|
|
55
|
+
'grpc': GRPCActionToJSON(value['grpc']),
|
|
56
|
+
'initialDelaySeconds': value['initialDelaySeconds'],
|
|
57
|
+
'timeoutSeconds': value['timeoutSeconds'],
|
|
58
|
+
'periodSeconds': value['periodSeconds'],
|
|
59
|
+
'successThreshold': value['successThreshold'],
|
|
60
|
+
'failureThreshold': value['failureThreshold'],
|
|
61
|
+
'terminationGracePeriodSeconds': value['terminationGracePeriodSeconds'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* @type ProbePort
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export type ProbePort = number | string;
|
|
18
|
+
export declare function ProbePortFromJSON(json: any): ProbePort;
|
|
19
|
+
export declare function ProbePortFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProbePort;
|
|
20
|
+
export declare function ProbePortToJSON(json: any): any;
|
|
21
|
+
export declare function ProbePortToJSONTyped(value?: ProbePort | null, ignoreDiscriminator?: boolean): any;
|
|
22
|
+
//# sourceMappingURL=ProbePort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProbePort.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/ProbePort.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,CAAC;AAExC,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,SAAS,CAEtD;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,SAAS,CAWzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAE9C;AAED,wBAAgB,oBAAoB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxG"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
export function ProbePortFromJSON(json) {
|
|
15
|
+
return ProbePortFromJSONTyped(json, false);
|
|
16
|
+
}
|
|
17
|
+
export function ProbePortFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if (json == null) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
if (typeof json === 'number') {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
if (typeof json === 'string') {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
export function ProbePortToJSON(json) {
|
|
30
|
+
return ProbePortToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function ProbePortToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
|
+
if (value == null) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
if (typeof value === 'number') {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
if (typeof value === 'string') {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {};
|
|
43
|
+
}
|
|
@@ -13,6 +13,7 @@ import type { PoolStrategy } from './PoolStrategy.js';
|
|
|
13
13
|
import type { SandboxNetworkPolicy } from './SandboxNetworkPolicy.js';
|
|
14
14
|
import type { ContainerSpec } from './ContainerSpec.js';
|
|
15
15
|
import type { LifecyclePolicy } from './LifecyclePolicy.js';
|
|
16
|
+
import type { SidecarContainerSpec } from './SidecarContainerSpec.js';
|
|
16
17
|
import type { PodSpecOverride } from './PodSpecOverride.js';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -46,10 +47,10 @@ export interface SandboxTemplateSpec {
|
|
|
46
47
|
mainContainer?: ContainerSpec;
|
|
47
48
|
/**
|
|
48
49
|
*
|
|
49
|
-
* @type {Array<
|
|
50
|
+
* @type {Array<SidecarContainerSpec>}
|
|
50
51
|
* @memberof SandboxTemplateSpec
|
|
51
52
|
*/
|
|
52
|
-
sidecars?: Array<
|
|
53
|
+
sidecars?: Array<SidecarContainerSpec>;
|
|
53
54
|
/**
|
|
54
55
|
*
|
|
55
56
|
* @type {PodSpecOverride}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"SandboxTemplateSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxTemplateSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAOnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,eAAe,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IACrC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAEzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAqB7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsB5H"}
|
|
@@ -15,6 +15,7 @@ import { PoolStrategyFromJSON, PoolStrategyToJSON, } from './PoolStrategy.js';
|
|
|
15
15
|
import { SandboxNetworkPolicyFromJSON, SandboxNetworkPolicyToJSON, } from './SandboxNetworkPolicy.js';
|
|
16
16
|
import { ContainerSpecFromJSON, ContainerSpecToJSON, } from './ContainerSpec.js';
|
|
17
17
|
import { LifecyclePolicyFromJSON, LifecyclePolicyToJSON, } from './LifecyclePolicy.js';
|
|
18
|
+
import { SidecarContainerSpecFromJSON, SidecarContainerSpecToJSON, } from './SidecarContainerSpec.js';
|
|
18
19
|
import { PodSpecOverrideFromJSON, PodSpecOverrideToJSON, } from './PodSpecOverride.js';
|
|
19
20
|
/**
|
|
20
21
|
* Check if a given object implements the SandboxTemplateSpec interface.
|
|
@@ -34,7 +35,7 @@ export function SandboxTemplateSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
35
36
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
36
37
|
'mainContainer': json['mainContainer'] == null ? undefined : ContainerSpecFromJSON(json['mainContainer']),
|
|
37
|
-
'sidecars': json['sidecars'] == null ? undefined : (json['sidecars'].map(
|
|
38
|
+
'sidecars': json['sidecars'] == null ? undefined : (json['sidecars'].map(SidecarContainerSpecFromJSON)),
|
|
38
39
|
'pod': json['pod'] == null ? undefined : PodSpecOverrideFromJSON(json['pod']),
|
|
39
40
|
'network': json['network'] == null ? undefined : SandboxNetworkPolicyFromJSON(json['network']),
|
|
40
41
|
'pool': json['pool'] == null ? undefined : PoolStrategyFromJSON(json['pool']),
|
|
@@ -58,7 +59,7 @@ export function SandboxTemplateSpecToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
58
59
|
'displayName': value['displayName'],
|
|
59
60
|
'tags': value['tags'],
|
|
60
61
|
'mainContainer': ContainerSpecToJSON(value['mainContainer']),
|
|
61
|
-
'sidecars': value['sidecars'] == null ? undefined : (value['sidecars'].map(
|
|
62
|
+
'sidecars': value['sidecars'] == null ? undefined : (value['sidecars'].map(SidecarContainerSpecToJSON)),
|
|
62
63
|
'pod': PodSpecOverrideToJSON(value['pod']),
|
|
63
64
|
'network': SandboxNetworkPolicyToJSON(value['network']),
|
|
64
65
|
'pool': PoolStrategyToJSON(value['pool']),
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ResourceQuota } from './ResourceQuota.js';
|
|
13
|
+
import type { SecurityContext } from './SecurityContext.js';
|
|
14
|
+
import type { EnvVar } from './EnvVar.js';
|
|
15
|
+
import type { Probe } from './Probe.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SidecarContainerSpec
|
|
20
|
+
*/
|
|
21
|
+
export interface SidecarContainerSpec {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SidecarContainerSpec
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SidecarContainerSpec
|
|
32
|
+
*/
|
|
33
|
+
image: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof SidecarContainerSpec
|
|
38
|
+
*/
|
|
39
|
+
command?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof SidecarContainerSpec
|
|
44
|
+
*/
|
|
45
|
+
args?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<EnvVar>}
|
|
49
|
+
* @memberof SidecarContainerSpec
|
|
50
|
+
*/
|
|
51
|
+
env?: Array<EnvVar>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {ResourceQuota}
|
|
55
|
+
* @memberof SidecarContainerSpec
|
|
56
|
+
*/
|
|
57
|
+
resources?: ResourceQuota;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {SecurityContext}
|
|
61
|
+
* @memberof SidecarContainerSpec
|
|
62
|
+
*/
|
|
63
|
+
securityContext?: SecurityContext;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Probe}
|
|
67
|
+
* @memberof SidecarContainerSpec
|
|
68
|
+
*/
|
|
69
|
+
readinessProbe?: Probe;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {Probe}
|
|
73
|
+
* @memberof SidecarContainerSpec
|
|
74
|
+
*/
|
|
75
|
+
livenessProbe?: Probe;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {Probe}
|
|
79
|
+
* @memberof SidecarContainerSpec
|
|
80
|
+
*/
|
|
81
|
+
startupProbe?: Probe;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the SidecarContainerSpec interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfSidecarContainerSpec(value: object): value is SidecarContainerSpec;
|
|
87
|
+
export declare function SidecarContainerSpecFromJSON(json: any): SidecarContainerSpec;
|
|
88
|
+
export declare function SidecarContainerSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): SidecarContainerSpec;
|
|
89
|
+
export declare function SidecarContainerSpecToJSON(json: any): SidecarContainerSpec;
|
|
90
|
+
export declare function SidecarContainerSpecToJSONTyped(value?: SidecarContainerSpec | null, ignoreDiscriminator?: boolean): any;
|
|
91
|
+
//# sourceMappingURL=SidecarContainerSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SidecarContainerSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SidecarContainerSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAOzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAOvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAQrC;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAiB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkB9H"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Sandbox0 API
|
|
5
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ResourceQuotaFromJSON, ResourceQuotaToJSON, } from './ResourceQuota.js';
|
|
15
|
+
import { SecurityContextFromJSON, SecurityContextToJSON, } from './SecurityContext.js';
|
|
16
|
+
import { EnvVarFromJSON, EnvVarToJSON, } from './EnvVar.js';
|
|
17
|
+
import { ProbeFromJSON, ProbeToJSON, } from './Probe.js';
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SidecarContainerSpec interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfSidecarContainerSpec(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('image' in value) || value['image'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function SidecarContainerSpecFromJSON(json) {
|
|
29
|
+
return SidecarContainerSpecFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SidecarContainerSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
'image': json['image'],
|
|
38
|
+
'command': json['command'] == null ? undefined : json['command'],
|
|
39
|
+
'args': json['args'] == null ? undefined : json['args'],
|
|
40
|
+
'env': json['env'] == null ? undefined : (json['env'].map(EnvVarFromJSON)),
|
|
41
|
+
'resources': json['resources'] == null ? undefined : ResourceQuotaFromJSON(json['resources']),
|
|
42
|
+
'securityContext': json['securityContext'] == null ? undefined : SecurityContextFromJSON(json['securityContext']),
|
|
43
|
+
'readinessProbe': json['readinessProbe'] == null ? undefined : ProbeFromJSON(json['readinessProbe']),
|
|
44
|
+
'livenessProbe': json['livenessProbe'] == null ? undefined : ProbeFromJSON(json['livenessProbe']),
|
|
45
|
+
'startupProbe': json['startupProbe'] == null ? undefined : ProbeFromJSON(json['startupProbe']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function SidecarContainerSpecToJSON(json) {
|
|
49
|
+
return SidecarContainerSpecToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function SidecarContainerSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'name': value['name'],
|
|
57
|
+
'image': value['image'],
|
|
58
|
+
'command': value['command'],
|
|
59
|
+
'args': value['args'],
|
|
60
|
+
'env': value['env'] == null ? undefined : (value['env'].map(EnvVarToJSON)),
|
|
61
|
+
'resources': ResourceQuotaToJSON(value['resources']),
|
|
62
|
+
'securityContext': SecurityContextToJSON(value['securityContext']),
|
|
63
|
+
'readinessProbe': ProbeToJSON(value['readinessProbe']),
|
|
64
|
+
'livenessProbe': ProbeToJSON(value['livenessProbe']),
|
|
65
|
+
'startupProbe': ProbeToJSON(value['startupProbe']),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sandbox0 API
|
|
3
|
+
* Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ProbePort } from './ProbePort.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TCPSocketAction
|
|
17
|
+
*/
|
|
18
|
+
export interface TCPSocketAction {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ProbePort}
|
|
22
|
+
* @memberof TCPSocketAction
|
|
23
|
+
*/
|
|
24
|
+
port: ProbePort;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TCPSocketAction
|
|
29
|
+
*/
|
|
30
|
+
host?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the TCPSocketAction interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfTCPSocketAction(value: object): value is TCPSocketAction;
|
|
36
|
+
export declare function TCPSocketActionFromJSON(json: any): TCPSocketAction;
|
|
37
|
+
export declare function TCPSocketActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): TCPSocketAction;
|
|
38
|
+
export declare function TCPSocketActionToJSON(json: any): TCPSocketAction;
|
|
39
|
+
export declare function TCPSocketActionToJSONTyped(value?: TCPSocketAction | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=TCPSocketAction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TCPSocketAction.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/TCPSocketAction.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQ7C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,SAAS,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAGjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CASrG;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUpH"}
|