sandbox0 0.5.4 → 0.6.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/README.md +0 -1
- package/dist/apispec/src/models/AppArmorProfile.d.ts +48 -0
- package/dist/apispec/src/models/AppArmorProfile.d.ts.map +1 -0
- package/dist/apispec/src/models/AppArmorProfile.js +53 -0
- package/dist/apispec/src/models/Capabilities.d.ts +6 -0
- package/dist/apispec/src/models/Capabilities.d.ts.map +1 -1
- package/dist/apispec/src/models/Capabilities.js +2 -0
- package/dist/apispec/src/models/EmptyDirMountSpec.d.ts +39 -0
- package/dist/apispec/src/models/EmptyDirMountSpec.d.ts.map +1 -0
- package/dist/apispec/src/models/EmptyDirMountSpec.js +45 -0
- package/dist/apispec/src/models/HTTPMethodPolicy.d.ts +39 -0
- package/dist/apispec/src/models/HTTPMethodPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPMethodPolicy.js +43 -0
- package/dist/apispec/src/models/HTTPPathPolicy.d.ts +51 -0
- package/dist/apispec/src/models/HTTPPathPolicy.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPPathPolicy.js +47 -0
- package/dist/apispec/src/models/HTTPProtocolRule.d.ts +41 -0
- package/dist/apispec/src/models/HTTPProtocolRule.d.ts.map +1 -0
- package/dist/apispec/src/models/HTTPProtocolRule.js +45 -0
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts +0 -7
- package/dist/apispec/src/models/PauseSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/PauseSandboxResponse.js +0 -5
- package/dist/apispec/src/models/PodSpecOverride.d.ts +7 -0
- package/dist/apispec/src/models/PodSpecOverride.d.ts.map +1 -1
- package/dist/apispec/src/models/PodSpecOverride.js +3 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts +7 -0
- package/dist/apispec/src/models/ProtocolRule.d.ts.map +1 -1
- package/dist/apispec/src/models/ProtocolRule.js +3 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts +1 -0
- package/dist/apispec/src/models/ProtocolRuleProtocol.d.ts.map +1 -1
- package/dist/apispec/src/models/ProtocolRuleProtocol.js +1 -0
- package/dist/apispec/src/models/ResourceQuota.d.ts +6 -0
- package/dist/apispec/src/models/ResourceQuota.d.ts.map +1 -1
- package/dist/apispec/src/models/ResourceQuota.js +2 -0
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts +0 -7
- package/dist/apispec/src/models/ResumeSandboxResponse.d.ts.map +1 -1
- package/dist/apispec/src/models/ResumeSandboxResponse.js +0 -5
- package/dist/apispec/src/models/Sandbox.d.ts +13 -8
- package/dist/apispec/src/models/Sandbox.d.ts.map +1 -1
- package/dist/apispec/src/models/Sandbox.js +8 -5
- package/dist/apispec/src/models/SandboxAppService.d.ts +2 -2
- package/dist/apispec/src/models/SandboxAppService.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxAppService.js +1 -3
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts +1 -7
- package/dist/apispec/src/models/SandboxAppServiceRuntime.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxAppServiceRuntime.js +0 -3
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts +2 -2
- package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxAppServiceView.js +1 -3
- package/dist/apispec/src/models/SandboxConfig.d.ts +2 -2
- package/dist/apispec/src/models/SandboxFunctionSource.d.ts +0 -6
- package/dist/apispec/src/models/SandboxFunctionSource.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxFunctionSource.js +0 -2
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts +4 -3
- package/dist/apispec/src/models/SandboxLifecycleStatus.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxLifecycleStatus.js +4 -3
- package/dist/apispec/src/models/SandboxSummary.d.ts +10 -5
- package/dist/apispec/src/models/SandboxSummary.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxSummary.js +7 -4
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts +0 -7
- package/dist/apispec/src/models/SandboxTemplateSpec.d.ts.map +1 -1
- package/dist/apispec/src/models/SandboxTemplateSpec.js +0 -3
- package/dist/apispec/src/models/SandboxUpdateConfig.d.ts +2 -2
- package/dist/apispec/src/models/SeccompProfile.d.ts +48 -0
- package/dist/apispec/src/models/SeccompProfile.d.ts.map +1 -0
- package/dist/apispec/src/models/SeccompProfile.js +53 -0
- package/dist/apispec/src/models/SecurityContext.d.ts +38 -0
- package/dist/apispec/src/models/SecurityContext.d.ts.map +1 -1
- package/dist/apispec/src/models/SecurityContext.js +14 -0
- package/dist/apispec/src/models/index.d.ts +6 -4
- package/dist/apispec/src/models/index.d.ts.map +1 -1
- package/dist/apispec/src/models/index.js +6 -4
- package/dist/apispec_compat.d.ts +1 -1509
- package/dist/apispec_compat.d.ts.map +1 -1
- package/dist/apispec_compat.js +1 -10
- package/dist/response_normalize.d.ts.map +1 -1
- package/dist/response_normalize.js +0 -1
- package/dist/template_helpers.d.ts +1 -9
- package/dist/template_helpers.d.ts.map +1 -1
- package/dist/template_helpers.js +0 -10
- package/package.json +1 -1
- package/dist/apispec/src/models/SandboxPowerState.d.ts +0 -82
- package/dist/apispec/src/models/SandboxPowerState.d.ts.map +0 -1
- package/dist/apispec/src/models/SandboxPowerState.js +0 -81
- package/dist/apispec/src/models/WarmProcessSpec.d.ts +0 -80
- package/dist/apispec/src/models/WarmProcessSpec.d.ts.map +0 -1
- package/dist/apispec/src/models/WarmProcessSpec.js +0 -63
package/README.md
CHANGED
|
@@ -69,7 +69,6 @@ console.log(`exit=${done.exitCode} state=${done.state}`);
|
|
|
69
69
|
## Documentation
|
|
70
70
|
|
|
71
71
|
- [Sandbox0 docs](https://sandbox0.ai/docs)
|
|
72
|
-
- [Template warm processes](https://sandbox0.ai/docs/template/warm-processes)
|
|
73
72
|
- [Volume mounts](https://sandbox0.ai/docs/volume/mounts)
|
|
74
73
|
|
|
75
74
|
## Bootstrap Mounts At Claim Time
|
|
@@ -0,0 +1,48 @@
|
|
|
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 AppArmorProfile
|
|
16
|
+
*/
|
|
17
|
+
export interface AppArmorProfile {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AppArmorProfile
|
|
22
|
+
*/
|
|
23
|
+
type: AppArmorProfileTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AppArmorProfile
|
|
28
|
+
*/
|
|
29
|
+
localhostProfile?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const AppArmorProfileTypeEnum: {
|
|
35
|
+
readonly Unconfined: "Unconfined";
|
|
36
|
+
readonly RuntimeDefault: "RuntimeDefault";
|
|
37
|
+
readonly Localhost: "Localhost";
|
|
38
|
+
};
|
|
39
|
+
export type AppArmorProfileTypeEnum = typeof AppArmorProfileTypeEnum[keyof typeof AppArmorProfileTypeEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the AppArmorProfile interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfAppArmorProfile(value: object): value is AppArmorProfile;
|
|
44
|
+
export declare function AppArmorProfileFromJSON(json: any): AppArmorProfile;
|
|
45
|
+
export declare function AppArmorProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppArmorProfile;
|
|
46
|
+
export declare function AppArmorProfileToJSON(json: any): AppArmorProfile;
|
|
47
|
+
export declare function AppArmorProfileToJSONTyped(value?: AppArmorProfile | null, ignoreDiscriminator?: boolean): any;
|
|
48
|
+
//# sourceMappingURL=AppArmorProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppArmorProfile.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/AppArmorProfile.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAGD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAG3G;;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"}
|
|
@@ -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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const AppArmorProfileTypeEnum = {
|
|
18
|
+
Unconfined: 'Unconfined',
|
|
19
|
+
RuntimeDefault: 'RuntimeDefault',
|
|
20
|
+
Localhost: 'Localhost'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AppArmorProfile interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfAppArmorProfile(value) {
|
|
26
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function AppArmorProfileFromJSON(json) {
|
|
31
|
+
return AppArmorProfileFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function AppArmorProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'type': json['type'],
|
|
39
|
+
'localhostProfile': json['localhostProfile'] == null ? undefined : json['localhostProfile'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function AppArmorProfileToJSON(json) {
|
|
43
|
+
return AppArmorProfileToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function AppArmorProfileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'type': value['type'],
|
|
51
|
+
'localhostProfile': value['localhostProfile'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Capabilities.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Capabilities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"Capabilities.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/Capabilities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,YAAY;IACzB;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpB;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,YAAY,CAS/F;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9G"}
|
|
@@ -25,6 +25,7 @@ export function CapabilitiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'add': json['add'] == null ? undefined : json['add'],
|
|
28
29
|
'drop': json['drop'] == null ? undefined : json['drop'],
|
|
29
30
|
};
|
|
30
31
|
}
|
|
@@ -36,6 +37,7 @@ export function CapabilitiesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
36
37
|
return value;
|
|
37
38
|
}
|
|
38
39
|
return {
|
|
40
|
+
'add': value['add'],
|
|
39
41
|
'drop': value['drop'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
@@ -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 EmptyDirMountSpec
|
|
16
|
+
*/
|
|
17
|
+
export interface EmptyDirMountSpec {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EmptyDirMountSpec
|
|
22
|
+
*/
|
|
23
|
+
mountPath: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional size limit for the Kubernetes emptyDir volume.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EmptyDirMountSpec
|
|
28
|
+
*/
|
|
29
|
+
sizeLimit?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the EmptyDirMountSpec interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfEmptyDirMountSpec(value: object): value is EmptyDirMountSpec;
|
|
35
|
+
export declare function EmptyDirMountSpecFromJSON(json: any): EmptyDirMountSpec;
|
|
36
|
+
export declare function EmptyDirMountSpecFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmptyDirMountSpec;
|
|
37
|
+
export declare function EmptyDirMountSpecToJSON(json: any): EmptyDirMountSpec;
|
|
38
|
+
export declare function EmptyDirMountSpecToJSONTyped(value?: EmptyDirMountSpec | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=EmptyDirMountSpec.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyDirMountSpec.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/EmptyDirMountSpec.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 EmptyDirMountSpec interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfEmptyDirMountSpec(value) {
|
|
18
|
+
if (!('mountPath' in value) || value['mountPath'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function EmptyDirMountSpecFromJSON(json) {
|
|
23
|
+
return EmptyDirMountSpecFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function EmptyDirMountSpecFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'mountPath': json['mountPath'],
|
|
31
|
+
'sizeLimit': json['sizeLimit'] == null ? undefined : json['sizeLimit'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function EmptyDirMountSpecToJSON(json) {
|
|
35
|
+
return EmptyDirMountSpecToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function EmptyDirMountSpecToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'mountPath': value['mountPath'],
|
|
43
|
+
'sizeLimit': value['sizeLimit'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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
|
+
* HTTP method allow and deny lists.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HTTPMethodPolicy
|
|
16
|
+
*/
|
|
17
|
+
export interface HTTPMethodPolicy {
|
|
18
|
+
/**
|
|
19
|
+
* When non-empty, only listed HTTP methods are allowed.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof HTTPMethodPolicy
|
|
22
|
+
*/
|
|
23
|
+
allowed?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* HTTP methods that are always denied before allowed is evaluated.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof HTTPMethodPolicy
|
|
28
|
+
*/
|
|
29
|
+
denied?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HTTPMethodPolicy interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHTTPMethodPolicy(value: object): value is HTTPMethodPolicy;
|
|
35
|
+
export declare function HTTPMethodPolicyFromJSON(json: any): HTTPMethodPolicy;
|
|
36
|
+
export declare function HTTPMethodPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPMethodPolicy;
|
|
37
|
+
export declare function HTTPMethodPolicyToJSON(json: any): HTTPMethodPolicy;
|
|
38
|
+
export declare function HTTPMethodPolicyToJSONTyped(value?: HTTPMethodPolicy | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=HTTPMethodPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPMethodPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPMethodPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CASvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtH"}
|
|
@@ -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
|
+
/**
|
|
15
|
+
* Check if a given object implements the HTTPMethodPolicy interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHTTPMethodPolicy(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function HTTPMethodPolicyFromJSON(json) {
|
|
21
|
+
return HTTPMethodPolicyFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function HTTPMethodPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'allowed': json['allowed'] == null ? undefined : json['allowed'],
|
|
29
|
+
'denied': json['denied'] == null ? undefined : json['denied'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function HTTPMethodPolicyToJSON(json) {
|
|
33
|
+
return HTTPMethodPolicyToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function HTTPMethodPolicyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'allowed': value['allowed'],
|
|
41
|
+
'denied': value['denied'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* HTTP path allow and deny lists.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface HTTPPathPolicy
|
|
16
|
+
*/
|
|
17
|
+
export interface HTTPPathPolicy {
|
|
18
|
+
/**
|
|
19
|
+
* When any allowed path list is non-empty, only listed exact paths are allowed.
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof HTTPPathPolicy
|
|
22
|
+
*/
|
|
23
|
+
allowed?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Exact paths that are always denied before allowed is evaluated.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof HTTPPathPolicy
|
|
28
|
+
*/
|
|
29
|
+
denied?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* When any allowed path list is non-empty, only paths with listed prefixes are allowed.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof HTTPPathPolicy
|
|
34
|
+
*/
|
|
35
|
+
allowedPrefixes?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Path prefixes that are always denied before allowed is evaluated.
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof HTTPPathPolicy
|
|
40
|
+
*/
|
|
41
|
+
deniedPrefixes?: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the HTTPPathPolicy interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfHTTPPathPolicy(value: object): value is HTTPPathPolicy;
|
|
47
|
+
export declare function HTTPPathPolicyFromJSON(json: any): HTTPPathPolicy;
|
|
48
|
+
export declare function HTTPPathPolicyFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPPathPolicy;
|
|
49
|
+
export declare function HTTPPathPolicyToJSON(json: any): HTTPPathPolicy;
|
|
50
|
+
export declare function HTTPPathPolicyToJSONTyped(value?: HTTPPathPolicy | null, ignoreDiscriminator?: boolean): any;
|
|
51
|
+
//# sourceMappingURL=HTTPPathPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPPathPolicy.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPPathPolicy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAWnG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYlH"}
|
|
@@ -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 HTTPPathPolicy interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHTTPPathPolicy(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function HTTPPathPolicyFromJSON(json) {
|
|
21
|
+
return HTTPPathPolicyFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function HTTPPathPolicyFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'allowed': json['allowed'] == null ? undefined : json['allowed'],
|
|
29
|
+
'denied': json['denied'] == null ? undefined : json['denied'],
|
|
30
|
+
'allowedPrefixes': json['allowedPrefixes'] == null ? undefined : json['allowedPrefixes'],
|
|
31
|
+
'deniedPrefixes': json['deniedPrefixes'] == null ? undefined : json['deniedPrefixes'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function HTTPPathPolicyToJSON(json) {
|
|
35
|
+
return HTTPPathPolicyToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function HTTPPathPolicyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'allowed': value['allowed'],
|
|
43
|
+
'denied': value['denied'],
|
|
44
|
+
'allowedPrefixes': value['allowedPrefixes'],
|
|
45
|
+
'deniedPrefixes': value['deniedPrefixes'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { HTTPMethodPolicy } from './HTTPMethodPolicy.js';
|
|
13
|
+
import type { HTTPPathPolicy } from './HTTPPathPolicy.js';
|
|
14
|
+
/**
|
|
15
|
+
* HTTP request operation policy.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface HTTPProtocolRule
|
|
18
|
+
*/
|
|
19
|
+
export interface HTTPProtocolRule {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {HTTPMethodPolicy}
|
|
23
|
+
* @memberof HTTPProtocolRule
|
|
24
|
+
*/
|
|
25
|
+
methods?: HTTPMethodPolicy;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {HTTPPathPolicy}
|
|
29
|
+
* @memberof HTTPProtocolRule
|
|
30
|
+
*/
|
|
31
|
+
paths?: HTTPPathPolicy;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the HTTPProtocolRule interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfHTTPProtocolRule(value: object): value is HTTPProtocolRule;
|
|
37
|
+
export declare function HTTPProtocolRuleFromJSON(json: any): HTTPProtocolRule;
|
|
38
|
+
export declare function HTTPProtocolRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): HTTPProtocolRule;
|
|
39
|
+
export declare function HTTPProtocolRuleToJSON(json: any): HTTPProtocolRule;
|
|
40
|
+
export declare function HTTPProtocolRuleToJSONTyped(value?: HTTPProtocolRule | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=HTTPProtocolRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HTTPProtocolRule.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/HTTPProtocolRule.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAO3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAEnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CASvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtH"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { HTTPMethodPolicyFromJSON, HTTPMethodPolicyToJSON, } from './HTTPMethodPolicy.js';
|
|
15
|
+
import { HTTPPathPolicyFromJSON, HTTPPathPolicyToJSON, } from './HTTPPathPolicy.js';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the HTTPProtocolRule interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfHTTPProtocolRule(value) {
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function HTTPProtocolRuleFromJSON(json) {
|
|
23
|
+
return HTTPProtocolRuleFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function HTTPProtocolRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'methods': json['methods'] == null ? undefined : HTTPMethodPolicyFromJSON(json['methods']),
|
|
31
|
+
'paths': json['paths'] == null ? undefined : HTTPPathPolicyFromJSON(json['paths']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function HTTPProtocolRuleToJSON(json) {
|
|
35
|
+
return HTTPProtocolRuleToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function HTTPProtocolRuleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'methods': HTTPMethodPolicyToJSON(value['methods']),
|
|
43
|
+
'paths': HTTPPathPolicyToJSON(value['paths']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SandboxPowerState } from './SandboxPowerState.js';
|
|
13
12
|
import type { SandboxResourceUsage } from './SandboxResourceUsage.js';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -29,12 +28,6 @@ export interface PauseSandboxResponse {
|
|
|
29
28
|
* @memberof PauseSandboxResponse
|
|
30
29
|
*/
|
|
31
30
|
paused: boolean;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {SandboxPowerState}
|
|
35
|
-
* @memberof PauseSandboxResponse
|
|
36
|
-
*/
|
|
37
|
-
powerState: SandboxPowerState;
|
|
38
31
|
/**
|
|
39
32
|
*
|
|
40
33
|
* @type {SandboxResourceUsage}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PauseSandboxResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PauseSandboxResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAQnE;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,oBAAoB,CAAC;IACrC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;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,CAY/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,CAa9H"}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { SandboxPowerStateFromJSON, SandboxPowerStateToJSON, } from './SandboxPowerState.js';
|
|
15
14
|
import { SandboxResourceUsageFromJSON, SandboxResourceUsageToJSON, } from './SandboxResourceUsage.js';
|
|
16
15
|
/**
|
|
17
16
|
* Check if a given object implements the PauseSandboxResponse interface.
|
|
@@ -21,8 +20,6 @@ export function instanceOfPauseSandboxResponse(value) {
|
|
|
21
20
|
return false;
|
|
22
21
|
if (!('paused' in value) || value['paused'] === undefined)
|
|
23
22
|
return false;
|
|
24
|
-
if (!('powerState' in value) || value['powerState'] === undefined)
|
|
25
|
-
return false;
|
|
26
23
|
return true;
|
|
27
24
|
}
|
|
28
25
|
export function PauseSandboxResponseFromJSON(json) {
|
|
@@ -35,7 +32,6 @@ export function PauseSandboxResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
32
|
return {
|
|
36
33
|
'sandboxId': json['sandbox_id'],
|
|
37
34
|
'paused': json['paused'],
|
|
38
|
-
'powerState': SandboxPowerStateFromJSON(json['power_state']),
|
|
39
35
|
'resourceUsage': json['resource_usage'] == null ? undefined : SandboxResourceUsageFromJSON(json['resource_usage']),
|
|
40
36
|
'updatedMemory': json['updated_memory'] == null ? undefined : json['updated_memory'],
|
|
41
37
|
'updatedCpu': json['updated_cpu'] == null ? undefined : json['updated_cpu'],
|
|
@@ -51,7 +47,6 @@ export function PauseSandboxResponseToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
51
47
|
return {
|
|
52
48
|
'sandbox_id': value['sandboxId'],
|
|
53
49
|
'paused': value['paused'],
|
|
54
|
-
'power_state': SandboxPowerStateToJSON(value['powerState']),
|
|
55
50
|
'resource_usage': SandboxResourceUsageToJSON(value['resourceUsage']),
|
|
56
51
|
'updated_memory': value['updatedMemory'],
|
|
57
52
|
'updated_cpu': value['updatedCpu'],
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { EmptyDirMountSpec } from './EmptyDirMountSpec.js';
|
|
12
13
|
import type { Toleration } from './Toleration.js';
|
|
13
14
|
import type { Affinity } from './Affinity.js';
|
|
14
15
|
/**
|
|
@@ -43,6 +44,12 @@ export interface PodSpecOverride {
|
|
|
43
44
|
* @memberof PodSpecOverride
|
|
44
45
|
*/
|
|
45
46
|
serviceAccountName?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<EmptyDirMountSpec>}
|
|
50
|
+
* @memberof PodSpecOverride
|
|
51
|
+
*/
|
|
52
|
+
emptyDirMounts?: Array<EmptyDirMountSpec>;
|
|
46
53
|
}
|
|
47
54
|
/**
|
|
48
55
|
* Check if a given object implements the PodSpecOverride interface.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PodSpecOverride.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PodSpecOverride.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"PodSpecOverride.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/PodSpecOverride.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAO7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAQ3C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KAAE,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAChC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAEjF;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,eAAe,CAYrG;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,CAapH"}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { EmptyDirMountSpecFromJSON, EmptyDirMountSpecToJSON, } from './EmptyDirMountSpec.js';
|
|
14
15
|
import { TolerationFromJSON, TolerationToJSON, } from './Toleration.js';
|
|
15
16
|
import { AffinityFromJSON, AffinityToJSON, } from './Affinity.js';
|
|
16
17
|
/**
|
|
@@ -31,6 +32,7 @@ export function PodSpecOverrideFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
32
|
'affinity': json['affinity'] == null ? undefined : AffinityFromJSON(json['affinity']),
|
|
32
33
|
'tolerations': json['tolerations'] == null ? undefined : (json['tolerations'].map(TolerationFromJSON)),
|
|
33
34
|
'serviceAccountName': json['serviceAccountName'] == null ? undefined : json['serviceAccountName'],
|
|
35
|
+
'emptyDirMounts': json['emptyDirMounts'] == null ? undefined : (json['emptyDirMounts'].map(EmptyDirMountSpecFromJSON)),
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
export function PodSpecOverrideToJSON(json) {
|
|
@@ -45,5 +47,6 @@ export function PodSpecOverrideToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
47
|
'affinity': AffinityToJSON(value['affinity']),
|
|
46
48
|
'tolerations': value['tolerations'] == null ? undefined : (value['tolerations'].map(TolerationToJSON)),
|
|
47
49
|
'serviceAccountName': value['serviceAccountName'],
|
|
50
|
+
'emptyDirMounts': value['emptyDirMounts'] == null ? undefined : (value['emptyDirMounts'].map(EmptyDirMountSpecToJSON)),
|
|
48
51
|
};
|
|
49
52
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { HTTPMatch } from './HTTPMatch.js';
|
|
13
13
|
import type { PortSpec } from './PortSpec.js';
|
|
14
14
|
import type { EgressTLSMode } from './EgressTLSMode.js';
|
|
15
|
+
import type { HTTPProtocolRule } from './HTTPProtocolRule.js';
|
|
15
16
|
import type { MCPProtocolRule } from './MCPProtocolRule.js';
|
|
16
17
|
import type { ProtocolRuleProtocol } from './ProtocolRuleProtocol.js';
|
|
17
18
|
/**
|
|
@@ -56,6 +57,12 @@ export interface ProtocolRule {
|
|
|
56
57
|
* @memberof ProtocolRule
|
|
57
58
|
*/
|
|
58
59
|
httpMatch?: HTTPMatch;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {HTTPProtocolRule}
|
|
63
|
+
* @memberof ProtocolRule
|
|
64
|
+
*/
|
|
65
|
+
http?: HTTPProtocolRule;
|
|
59
66
|
/**
|
|
60
67
|
*
|
|
61
68
|
* @type {MCPProtocolRule}
|