@metal-stack/api 0.4.4 → 0.5.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/{js/Makefile → Makefile} +5 -2
- package/bun.lock +74 -0
- package/client-test.d.ts +1 -0
- package/client-test.js +45 -0
- package/client-test.ts +49 -0
- package/client.d.ts +97 -0
- package/client.js +347 -0
- package/client.ts +662 -0
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/audit_pb.ts +5 -5
- package/{js/metalstack → metalstack}/admin/v2/component_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/component_pb.ts +6 -6
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.ts +28 -28
- package/{js/metalstack → metalstack}/admin/v2/image_pb.d.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/image_pb.ts +16 -16
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/ip_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.d.ts +47 -55
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.js +1 -1
- package/{js/metalstack → metalstack}/admin/v2/machine_pb.ts +48 -55
- package/{js/metalstack → metalstack}/admin/v2/network_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/network_pb.ts +36 -36
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.d.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/partition_pb.ts +26 -26
- package/{js/metalstack → metalstack}/admin/v2/project_pb.d.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/project_pb.ts +2 -2
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.d.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.ts +18 -18
- package/{js/metalstack → metalstack}/admin/v2/size_pb.d.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_pb.ts +11 -11
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.d.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.ts +14 -14
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/switch_pb.ts +29 -29
- package/{js/metalstack → metalstack}/admin/v2/task_pb.d.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/task_pb.js +8 -8
- package/{js/metalstack → metalstack}/admin/v2/task_pb.ts +47 -47
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.d.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/tenant_pb.ts +22 -22
- package/{js/metalstack → metalstack}/admin/v2/token_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/token_pb.ts +8 -8
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.d.ts +13 -13
- package/{js/metalstack → metalstack}/admin/v2/vpn_pb.ts +13 -13
- package/{js/metalstack → metalstack}/api/v2/audit_pb.d.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/audit_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/audit_pb.ts +37 -37
- package/{js/metalstack → metalstack}/api/v2/common_pb.d.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/common_pb.js +47 -47
- package/{js/metalstack → metalstack}/api/v2/common_pb.ts +68 -68
- package/{js/metalstack → metalstack}/api/v2/component_pb.d.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/component_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/component_pb.ts +17 -17
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.d.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.js +23 -23
- package/{js/metalstack → metalstack}/api/v2/filesystem_pb.ts +82 -82
- package/{js/metalstack → metalstack}/api/v2/health_pb.d.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/health_pb.js +13 -13
- package/{js/metalstack → metalstack}/api/v2/health_pb.ts +21 -21
- package/{js/metalstack → metalstack}/api/v2/image_pb.d.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/image_pb.js +9 -9
- package/{js/metalstack → metalstack}/api/v2/image_pb.ts +45 -45
- package/{js/metalstack → metalstack}/api/v2/ip_pb.d.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/ip_pb.js +8 -8
- package/{js/metalstack → metalstack}/api/v2/ip_pb.ts +67 -67
- package/{js/metalstack → metalstack}/api/v2/machine_pb.d.ts +422 -374
- package/{js/metalstack → metalstack}/api/v2/machine_pb.js +94 -89
- package/{js/metalstack → metalstack}/api/v2/machine_pb.ts +453 -396
- package/{js/metalstack → metalstack}/api/v2/method_pb.d.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/method_pb.ts +7 -7
- package/{js/metalstack → metalstack}/api/v2/network_pb.d.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/network_pb.js +16 -16
- package/{js/metalstack → metalstack}/api/v2/network_pb.ts +98 -98
- package/{js/metalstack → metalstack}/api/v2/partition_pb.d.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/partition_pb.ts +28 -28
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.d.ts +30 -24
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.js +40 -34
- package/{js/metalstack → metalstack}/api/v2/predefined_rules_pb.ts +42 -34
- package/{js/metalstack → metalstack}/api/v2/project_pb.d.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/project_pb.ts +114 -114
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.d.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.ts +21 -22
- package/{js/metalstack → metalstack}/api/v2/size_pb.d.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_pb.js +6 -6
- package/{js/metalstack → metalstack}/api/v2/size_pb.ts +29 -29
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.d.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.ts +27 -27
- package/{js/metalstack → metalstack}/api/v2/switch_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/switch_pb.js +1 -1
- package/{js/metalstack → metalstack}/api/v2/switch_pb.ts +9 -9
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.d.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/tenant_pb.ts +114 -116
- package/{js/metalstack → metalstack}/api/v2/token_pb.d.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/token_pb.js +3 -3
- package/{js/metalstack → metalstack}/api/v2/token_pb.ts +103 -103
- package/{js/metalstack → metalstack}/api/v2/user_pb.d.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/user_pb.ts +8 -8
- package/{js/metalstack → metalstack}/api/v2/version_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/version_pb.ts +5 -5
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.d.ts +6 -6
- package/{js/metalstack → metalstack}/api/v2/vpn_pb.ts +6 -6
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.d.ts +15 -17
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.js +1 -1
- package/{js/metalstack → metalstack}/infra/v2/bmc_pb.ts +16 -16
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.d.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/boot_pb.ts +36 -36
- package/{js/metalstack → metalstack}/infra/v2/component_pb.d.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/component_pb.ts +5 -5
- package/{js/metalstack → metalstack}/infra/v2/event_pb.d.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/event_pb.ts +3 -3
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.d.ts +12 -12
- package/{js/metalstack → metalstack}/infra/v2/switch_pb.ts +12 -12
- package/package.json +4 -3
- package/test-interceptor.d.ts +9 -0
- package/test-interceptor.js +33 -0
- package/test-interceptor.ts +49 -0
- package/tsconfig.json +14 -0
- package/LICENSE +0 -21
- package/README.md +0 -117
- package/js/tsconfig.json +0 -70
- /package/{js/buf → buf}/validate/validate_pb.d.ts +0 -0
- /package/{js/buf → buf}/validate/validate_pb.js +0 -0
- /package/{js/buf → buf}/validate/validate_pb.ts +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/audit_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/filesystem_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/image_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/ip_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/network_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/switch_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/token_pb.js +0 -0
- /package/{js/metalstack → metalstack}/admin/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/method_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/partition_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/project_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_imageconstraint_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/size_reservation_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/tenant_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/user_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/version_pb.js +0 -0
- /package/{js/metalstack → metalstack}/api/v2/vpn_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/boot_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/component_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/event_pb.js +0 -0
- /package/{js/metalstack → metalstack}/infra/v2/switch_pb.js +0 -0
|
@@ -6,19 +6,19 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_api_v2_size_imageconstraint: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request
|
|
9
|
+
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryRequest
|
|
12
12
|
*/
|
|
13
13
|
export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.SizeImageConstraintServiceTryRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* Size to try
|
|
15
|
+
* Size to try.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string size = 1;
|
|
18
18
|
*/
|
|
19
19
|
size: string;
|
|
20
20
|
/**
|
|
21
|
-
* Image to try
|
|
21
|
+
* Image to try.
|
|
22
22
|
*
|
|
23
23
|
* @generated from field: string image = 2;
|
|
24
24
|
*/
|
|
@@ -30,7 +30,7 @@ export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.Si
|
|
|
30
30
|
*/
|
|
31
31
|
export declare const SizeImageConstraintServiceTryRequestSchema: GenMessage<SizeImageConstraintServiceTryRequest>;
|
|
32
32
|
/**
|
|
33
|
-
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request
|
|
33
|
+
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request.
|
|
34
34
|
*
|
|
35
35
|
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryResponse
|
|
36
36
|
*/
|
|
@@ -41,9 +41,8 @@ export type SizeImageConstraintServiceTryResponse = Message<"metalstack.api.v2.S
|
|
|
41
41
|
*/
|
|
42
42
|
export declare const SizeImageConstraintServiceTryResponseSchema: GenMessage<SizeImageConstraintServiceTryResponse>;
|
|
43
43
|
/**
|
|
44
|
-
* SizeImageConstraint expresses optional restrictions for specific size to image combinations
|
|
45
|
-
*
|
|
46
|
-
* with a newer version of the image.
|
|
44
|
+
* SizeImageConstraint expresses optional restrictions for specific size to image combinations.
|
|
45
|
+
* This might be required if the support for a specific hardware in a given size is only supported with a newer version of the image.
|
|
47
46
|
*
|
|
48
47
|
* If the size in question is not found, no restrictions apply.
|
|
49
48
|
* If the image in question is not found, no restrictions apply as well.
|
|
@@ -53,31 +52,31 @@ export declare const SizeImageConstraintServiceTryResponseSchema: GenMessage<Siz
|
|
|
53
52
|
*/
|
|
54
53
|
export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint"> & {
|
|
55
54
|
/**
|
|
56
|
-
* Size where this constraint should apply
|
|
55
|
+
* Size where this constraint should apply.
|
|
57
56
|
*
|
|
58
57
|
* @generated from field: string size = 1;
|
|
59
58
|
*/
|
|
60
59
|
size: string;
|
|
61
60
|
/**
|
|
62
|
-
* ImageConstraints to apply to this size
|
|
61
|
+
* ImageConstraints to apply to this size.
|
|
63
62
|
*
|
|
64
63
|
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2;
|
|
65
64
|
*/
|
|
66
65
|
imageConstraints: ImageConstraint[];
|
|
67
66
|
/**
|
|
68
|
-
* Meta for this size image constraint
|
|
67
|
+
* Meta for this size image constraint.
|
|
69
68
|
*
|
|
70
69
|
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
71
70
|
*/
|
|
72
71
|
meta?: Meta | undefined;
|
|
73
72
|
/**
|
|
74
|
-
* Name of this size image constraint
|
|
73
|
+
* Name of this size image constraint.
|
|
75
74
|
*
|
|
76
75
|
* @generated from field: optional string name = 4;
|
|
77
76
|
*/
|
|
78
77
|
name?: string | undefined;
|
|
79
78
|
/**
|
|
80
|
-
* Description of this size image constraint
|
|
79
|
+
* Description of this size image constraint.
|
|
81
80
|
*
|
|
82
81
|
* @generated from field: optional string description = 5;
|
|
83
82
|
*/
|
|
@@ -89,23 +88,23 @@ export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint
|
|
|
89
88
|
*/
|
|
90
89
|
export declare const SizeImageConstraintSchema: GenMessage<SizeImageConstraint>;
|
|
91
90
|
/**
|
|
92
|
-
* ImageConstraint defines a constraint for an image
|
|
93
|
-
*
|
|
91
|
+
* ImageConstraint defines a constraint for an image.
|
|
92
|
+
* Examples:
|
|
94
93
|
* images:
|
|
95
|
-
* ubuntu: ">= 20.04.20211011
|
|
96
|
-
* debian: ">= 10.0.20210101
|
|
94
|
+
* ubuntu: ">= 20.04.20211011
|
|
95
|
+
* debian: ">= 10.0.20210101
|
|
97
96
|
*
|
|
98
97
|
* @generated from message metalstack.api.v2.ImageConstraint
|
|
99
98
|
*/
|
|
100
99
|
export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & {
|
|
101
100
|
/**
|
|
102
|
-
* Image of the constraint
|
|
101
|
+
* Image of the constraint.
|
|
103
102
|
*
|
|
104
103
|
* @generated from field: string image = 1;
|
|
105
104
|
*/
|
|
106
105
|
image: string;
|
|
107
106
|
/**
|
|
108
|
-
* SemverMatch which defines in semver match format which image version should apply
|
|
107
|
+
* SemverMatch which defines in semver match format which image version should apply.
|
|
109
108
|
*
|
|
110
109
|
* @generated from field: string semver_match = 2;
|
|
111
110
|
*/
|
|
@@ -117,25 +116,25 @@ export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & {
|
|
|
117
116
|
*/
|
|
118
117
|
export declare const ImageConstraintSchema: GenMessage<ImageConstraint>;
|
|
119
118
|
/**
|
|
120
|
-
* SizeImageConstraintQuery is used to search size image constraints
|
|
119
|
+
* SizeImageConstraintQuery is used to search size image constraints.
|
|
121
120
|
*
|
|
122
121
|
* @generated from message metalstack.api.v2.SizeImageConstraintQuery
|
|
123
122
|
*/
|
|
124
123
|
export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & {
|
|
125
124
|
/**
|
|
126
|
-
* Size of the size image constraint
|
|
125
|
+
* Size of the size image constraint.
|
|
127
126
|
*
|
|
128
127
|
* @generated from field: optional string size = 1;
|
|
129
128
|
*/
|
|
130
129
|
size?: string | undefined;
|
|
131
130
|
/**
|
|
132
|
-
* Name of the size image constraint to query
|
|
131
|
+
* Name of the size image constraint to query.
|
|
133
132
|
*
|
|
134
133
|
* @generated from field: optional string name = 2;
|
|
135
134
|
*/
|
|
136
135
|
name?: string | undefined;
|
|
137
136
|
/**
|
|
138
|
-
* Description of the size image constraint to query
|
|
137
|
+
* Description of the size image constraint to query.
|
|
139
138
|
*
|
|
140
139
|
* @generated from field: optional string description = 3;
|
|
141
140
|
*/
|
|
@@ -17,20 +17,20 @@ export const file_metalstack_api_v2_size_imageconstraint: GenFile = /*@__PURE__*
|
|
|
17
17
|
fileDesc("CixtZXRhbHN0YWNrL2FwaS92Mi9zaXplX2ltYWdlY29uc3RyYWludC5wcm90bxIRbWV0YWxzdGFjay5hcGkudjIiXQokU2l6ZUltYWdlQ29uc3RyYWludFNlcnZpY2VUcnlSZXF1ZXN0EhkKBHNpemUYASABKAlCC7pICHIGwLOusQIBEhoKBWltYWdlGAIgASgJQgu6SAhyBsCzrrECASInCiVTaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlc3BvbnNlIvYBChNTaXplSW1hZ2VDb25zdHJhaW50EhkKBHNpemUYASABKAlCC7pICHIGwLOusQIBEj0KEWltYWdlX2NvbnN0cmFpbnRzGAIgAygLMiIubWV0YWxzdGFjay5hcGkudjIuSW1hZ2VDb25zdHJhaW50EiUKBG1ldGEYAyABKAsyFy5tZXRhbHN0YWNrLmFwaS52Mi5NZXRhEh4KBG5hbWUYBCABKAlCC7pICHIGwLOusQIBSACIAQESJQoLZGVzY3JpcHRpb24YBSABKAlCC7pICHIGyLOusQIBSAGIAQFCBwoFX25hbWVCDgoMX2Rlc2NyaXB0aW9uIlAKD0ltYWdlQ29uc3RyYWludBIaCgVpbWFnZRgBIAEoCUILukgIcgbAs66xAgESIQoMc2VtdmVyX21hdGNoGAIgASgJQgu6SAhyBsizrrECASKjAQoYU2l6ZUltYWdlQ29uc3RyYWludFF1ZXJ5Eh4KBHNpemUYASABKAlCC7pICHIGwLOusQIBSACIAQESHgoEbmFtZRgCIAEoCUILukgIcgbAs66xAgFIAYgBARIlCgtkZXNjcmlwdGlvbhgDIAEoCUILukgIcgbIs66xAgFIAogBAUIHCgVfc2l6ZUIHCgVfbmFtZUIOCgxfZGVzY3JpcHRpb24yoQEKGlNpemVJbWFnZUNvbnN0cmFpbnRTZXJ2aWNlEoIBCgNUcnkSNy5tZXRhbHN0YWNrLmFwaS52Mi5TaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlcXVlc3QaOC5tZXRhbHN0YWNrLmFwaS52Mi5TaXplSW1hZ2VDb25zdHJhaW50U2VydmljZVRyeVJlc3BvbnNlIgjY8xgC4PMYAkLOAQoVY29tLm1ldGFsc3RhY2suYXBpLnYyQhhTaXplSW1hZ2Vjb25zdHJhaW50UHJvdG9QAVo1Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9hcGkvdjI7YXBpdjKiAgNNQViqAhFNZXRhbHN0YWNrLkFwaS5WMsoCEU1ldGFsc3RhY2tcQXBpXFYy4gIdTWV0YWxzdGFja1xBcGlcVjJcR1BCTWV0YWRhdGHqAhNNZXRhbHN0YWNrOjpBcGk6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_metalstack_api_v2_common, file_metalstack_api_v2_predefined_rules]);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request
|
|
20
|
+
* SizeImageConstraintServiceTryRequest is the request payload for a size image constraint try request.
|
|
21
21
|
*
|
|
22
22
|
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryRequest
|
|
23
23
|
*/
|
|
24
24
|
export type SizeImageConstraintServiceTryRequest = Message<"metalstack.api.v2.SizeImageConstraintServiceTryRequest"> & {
|
|
25
25
|
/**
|
|
26
|
-
* Size to try
|
|
26
|
+
* Size to try.
|
|
27
27
|
*
|
|
28
28
|
* @generated from field: string size = 1;
|
|
29
29
|
*/
|
|
30
30
|
size: string;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Image to try
|
|
33
|
+
* Image to try.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: string image = 2;
|
|
36
36
|
*/
|
|
@@ -45,7 +45,7 @@ export const SizeImageConstraintServiceTryRequestSchema: GenMessage<SizeImageCon
|
|
|
45
45
|
messageDesc(file_metalstack_api_v2_size_imageconstraint, 0);
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request
|
|
48
|
+
* SizeImageConstraintServiceTryResponse is the response payload for a size image constraint try request.
|
|
49
49
|
*
|
|
50
50
|
* @generated from message metalstack.api.v2.SizeImageConstraintServiceTryResponse
|
|
51
51
|
*/
|
|
@@ -60,9 +60,8 @@ export const SizeImageConstraintServiceTryResponseSchema: GenMessage<SizeImageCo
|
|
|
60
60
|
messageDesc(file_metalstack_api_v2_size_imageconstraint, 1);
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* SizeImageConstraint expresses optional restrictions for specific size to image combinations
|
|
64
|
-
*
|
|
65
|
-
* with a newer version of the image.
|
|
63
|
+
* SizeImageConstraint expresses optional restrictions for specific size to image combinations.
|
|
64
|
+
* This might be required if the support for a specific hardware in a given size is only supported with a newer version of the image.
|
|
66
65
|
*
|
|
67
66
|
* If the size in question is not found, no restrictions apply.
|
|
68
67
|
* If the image in question is not found, no restrictions apply as well.
|
|
@@ -72,35 +71,35 @@ export const SizeImageConstraintServiceTryResponseSchema: GenMessage<SizeImageCo
|
|
|
72
71
|
*/
|
|
73
72
|
export type SizeImageConstraint = Message<"metalstack.api.v2.SizeImageConstraint"> & {
|
|
74
73
|
/**
|
|
75
|
-
* Size where this constraint should apply
|
|
74
|
+
* Size where this constraint should apply.
|
|
76
75
|
*
|
|
77
76
|
* @generated from field: string size = 1;
|
|
78
77
|
*/
|
|
79
78
|
size: string;
|
|
80
79
|
|
|
81
80
|
/**
|
|
82
|
-
* ImageConstraints to apply to this size
|
|
81
|
+
* ImageConstraints to apply to this size.
|
|
83
82
|
*
|
|
84
83
|
* @generated from field: repeated metalstack.api.v2.ImageConstraint image_constraints = 2;
|
|
85
84
|
*/
|
|
86
85
|
imageConstraints: ImageConstraint[];
|
|
87
86
|
|
|
88
87
|
/**
|
|
89
|
-
* Meta for this size image constraint
|
|
88
|
+
* Meta for this size image constraint.
|
|
90
89
|
*
|
|
91
90
|
* @generated from field: metalstack.api.v2.Meta meta = 3;
|
|
92
91
|
*/
|
|
93
92
|
meta?: Meta | undefined;
|
|
94
93
|
|
|
95
94
|
/**
|
|
96
|
-
* Name of this size image constraint
|
|
95
|
+
* Name of this size image constraint.
|
|
97
96
|
*
|
|
98
97
|
* @generated from field: optional string name = 4;
|
|
99
98
|
*/
|
|
100
99
|
name?: string | undefined;
|
|
101
100
|
|
|
102
101
|
/**
|
|
103
|
-
* Description of this size image constraint
|
|
102
|
+
* Description of this size image constraint.
|
|
104
103
|
*
|
|
105
104
|
* @generated from field: optional string description = 5;
|
|
106
105
|
*/
|
|
@@ -115,24 +114,24 @@ export const SizeImageConstraintSchema: GenMessage<SizeImageConstraint> = /*@__P
|
|
|
115
114
|
messageDesc(file_metalstack_api_v2_size_imageconstraint, 2);
|
|
116
115
|
|
|
117
116
|
/**
|
|
118
|
-
* ImageConstraint defines a constraint for an image
|
|
119
|
-
*
|
|
117
|
+
* ImageConstraint defines a constraint for an image.
|
|
118
|
+
* Examples:
|
|
120
119
|
* images:
|
|
121
|
-
* ubuntu: ">= 20.04.20211011
|
|
122
|
-
* debian: ">= 10.0.20210101
|
|
120
|
+
* ubuntu: ">= 20.04.20211011
|
|
121
|
+
* debian: ">= 10.0.20210101
|
|
123
122
|
*
|
|
124
123
|
* @generated from message metalstack.api.v2.ImageConstraint
|
|
125
124
|
*/
|
|
126
125
|
export type ImageConstraint = Message<"metalstack.api.v2.ImageConstraint"> & {
|
|
127
126
|
/**
|
|
128
|
-
* Image of the constraint
|
|
127
|
+
* Image of the constraint.
|
|
129
128
|
*
|
|
130
129
|
* @generated from field: string image = 1;
|
|
131
130
|
*/
|
|
132
131
|
image: string;
|
|
133
132
|
|
|
134
133
|
/**
|
|
135
|
-
* SemverMatch which defines in semver match format which image version should apply
|
|
134
|
+
* SemverMatch which defines in semver match format which image version should apply.
|
|
136
135
|
*
|
|
137
136
|
* @generated from field: string semver_match = 2;
|
|
138
137
|
*/
|
|
@@ -147,27 +146,27 @@ export const ImageConstraintSchema: GenMessage<ImageConstraint> = /*@__PURE__*/
|
|
|
147
146
|
messageDesc(file_metalstack_api_v2_size_imageconstraint, 3);
|
|
148
147
|
|
|
149
148
|
/**
|
|
150
|
-
* SizeImageConstraintQuery is used to search size image constraints
|
|
149
|
+
* SizeImageConstraintQuery is used to search size image constraints.
|
|
151
150
|
*
|
|
152
151
|
* @generated from message metalstack.api.v2.SizeImageConstraintQuery
|
|
153
152
|
*/
|
|
154
153
|
export type SizeImageConstraintQuery = Message<"metalstack.api.v2.SizeImageConstraintQuery"> & {
|
|
155
154
|
/**
|
|
156
|
-
* Size of the size image constraint
|
|
155
|
+
* Size of the size image constraint.
|
|
157
156
|
*
|
|
158
157
|
* @generated from field: optional string size = 1;
|
|
159
158
|
*/
|
|
160
159
|
size?: string | undefined;
|
|
161
160
|
|
|
162
161
|
/**
|
|
163
|
-
* Name of the size image constraint to query
|
|
162
|
+
* Name of the size image constraint to query.
|
|
164
163
|
*
|
|
165
164
|
* @generated from field: optional string name = 2;
|
|
166
165
|
*/
|
|
167
166
|
name?: string | undefined;
|
|
168
167
|
|
|
169
168
|
/**
|
|
170
|
-
* Description of the size image constraint to query
|
|
169
|
+
* Description of the size image constraint to query.
|
|
171
170
|
*
|
|
172
171
|
* @generated from field: optional string description = 3;
|
|
173
172
|
*/
|
|
@@ -6,13 +6,13 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_metalstack_api_v2_size: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* SizeServiceGetRequest is the request payload for a size get request
|
|
9
|
+
* SizeServiceGetRequest is the request payload for a size get request.
|
|
10
10
|
*
|
|
11
11
|
* @generated from message metalstack.api.v2.SizeServiceGetRequest
|
|
12
12
|
*/
|
|
13
13
|
export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetRequest"> & {
|
|
14
14
|
/**
|
|
15
|
-
* ID of the size to get
|
|
15
|
+
* ID of the size to get.
|
|
16
16
|
*
|
|
17
17
|
* @generated from field: string id = 1;
|
|
18
18
|
*/
|
|
@@ -24,13 +24,13 @@ export type SizeServiceGetRequest = Message<"metalstack.api.v2.SizeServiceGetReq
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const SizeServiceGetRequestSchema: GenMessage<SizeServiceGetRequest>;
|
|
26
26
|
/**
|
|
27
|
-
* SizeServiceListRequest is the request payload for a size list request
|
|
27
|
+
* SizeServiceListRequest is the request payload for a size list request.
|
|
28
28
|
*
|
|
29
29
|
* @generated from message metalstack.api.v2.SizeServiceListRequest
|
|
30
30
|
*/
|
|
31
31
|
export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListRequest"> & {
|
|
32
32
|
/**
|
|
33
|
-
* Query for sizes
|
|
33
|
+
* Query for sizes.
|
|
34
34
|
*
|
|
35
35
|
* @generated from field: metalstack.api.v2.SizeQuery query = 1;
|
|
36
36
|
*/
|
|
@@ -42,13 +42,13 @@ export type SizeServiceListRequest = Message<"metalstack.api.v2.SizeServiceListR
|
|
|
42
42
|
*/
|
|
43
43
|
export declare const SizeServiceListRequestSchema: GenMessage<SizeServiceListRequest>;
|
|
44
44
|
/**
|
|
45
|
-
* SizeServiceGetResponse is the response payload for a size get request
|
|
45
|
+
* SizeServiceGetResponse is the response payload for a size get request.
|
|
46
46
|
*
|
|
47
47
|
* @generated from message metalstack.api.v2.SizeServiceGetResponse
|
|
48
48
|
*/
|
|
49
49
|
export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetResponse"> & {
|
|
50
50
|
/**
|
|
51
|
-
* Size the size
|
|
51
|
+
* Size the size.
|
|
52
52
|
*
|
|
53
53
|
* @generated from field: metalstack.api.v2.Size size = 1;
|
|
54
54
|
*/
|
|
@@ -60,13 +60,13 @@ export type SizeServiceGetResponse = Message<"metalstack.api.v2.SizeServiceGetRe
|
|
|
60
60
|
*/
|
|
61
61
|
export declare const SizeServiceGetResponseSchema: GenMessage<SizeServiceGetResponse>;
|
|
62
62
|
/**
|
|
63
|
-
* SizeServiceListResponse is the response payload for a size list request
|
|
63
|
+
* SizeServiceListResponse is the response payload for a size list request.
|
|
64
64
|
*
|
|
65
65
|
* @generated from message metalstack.api.v2.SizeServiceListResponse
|
|
66
66
|
*/
|
|
67
67
|
export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceListResponse"> & {
|
|
68
68
|
/**
|
|
69
|
-
* Sizes the sizes
|
|
69
|
+
* Sizes the sizes.
|
|
70
70
|
*
|
|
71
71
|
* @generated from field: repeated metalstack.api.v2.Size sizes = 1;
|
|
72
72
|
*/
|
|
@@ -78,37 +78,37 @@ export type SizeServiceListResponse = Message<"metalstack.api.v2.SizeServiceList
|
|
|
78
78
|
*/
|
|
79
79
|
export declare const SizeServiceListResponseSchema: GenMessage<SizeServiceListResponse>;
|
|
80
80
|
/**
|
|
81
|
-
* Size
|
|
81
|
+
* Size.
|
|
82
82
|
*
|
|
83
83
|
* @generated from message metalstack.api.v2.Size
|
|
84
84
|
*/
|
|
85
85
|
export type Size = Message<"metalstack.api.v2.Size"> & {
|
|
86
86
|
/**
|
|
87
|
-
* Id of this size
|
|
87
|
+
* Id of this size.
|
|
88
88
|
*
|
|
89
89
|
* @generated from field: string id = 1;
|
|
90
90
|
*/
|
|
91
91
|
id: string;
|
|
92
92
|
/**
|
|
93
|
-
* Meta for this size
|
|
93
|
+
* Meta for this size.
|
|
94
94
|
*
|
|
95
95
|
* @generated from field: metalstack.api.v2.Meta meta = 2;
|
|
96
96
|
*/
|
|
97
97
|
meta?: Meta | undefined;
|
|
98
98
|
/**
|
|
99
|
-
* Name of this size
|
|
99
|
+
* Name of this size.
|
|
100
100
|
*
|
|
101
101
|
* @generated from field: optional string name = 3;
|
|
102
102
|
*/
|
|
103
103
|
name?: string | undefined;
|
|
104
104
|
/**
|
|
105
|
-
* Description of this size
|
|
105
|
+
* Description of this size.
|
|
106
106
|
*
|
|
107
107
|
* @generated from field: optional string description = 4;
|
|
108
108
|
*/
|
|
109
109
|
description?: string | undefined;
|
|
110
110
|
/**
|
|
111
|
-
* Constraints which must match that a specific machine is considered of this size
|
|
111
|
+
* Constraints which must match that a specific machine is considered of this size.
|
|
112
112
|
*
|
|
113
113
|
* @generated from field: repeated metalstack.api.v2.SizeConstraint constraints = 5;
|
|
114
114
|
*/
|
|
@@ -126,25 +126,25 @@ export declare const SizeSchema: GenMessage<Size>;
|
|
|
126
126
|
*/
|
|
127
127
|
export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & {
|
|
128
128
|
/**
|
|
129
|
-
* Type a machine matches to a size in order to make them easier to categorize
|
|
129
|
+
* Type a machine matches to a size in order to make them easier to categorize.
|
|
130
130
|
*
|
|
131
131
|
* @generated from field: metalstack.api.v2.SizeConstraintType type = 1;
|
|
132
132
|
*/
|
|
133
133
|
type: SizeConstraintType;
|
|
134
134
|
/**
|
|
135
|
-
* Min the minimum value of the constraint
|
|
135
|
+
* Min the minimum value of the constraint.
|
|
136
136
|
*
|
|
137
137
|
* @generated from field: uint64 min = 2;
|
|
138
138
|
*/
|
|
139
139
|
min: bigint;
|
|
140
140
|
/**
|
|
141
|
-
* Max the maximum value of the constraint
|
|
141
|
+
* Max the maximum value of the constraint.
|
|
142
142
|
*
|
|
143
143
|
* @generated from field: uint64 max = 3;
|
|
144
144
|
*/
|
|
145
145
|
max: bigint;
|
|
146
146
|
/**
|
|
147
|
-
* Identifier glob pattern which matches to the given type, for example gpu pci id
|
|
147
|
+
* Identifier glob pattern which matches to the given type, for example gpu pci id.
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: optional string identifier = 4;
|
|
150
150
|
*/
|
|
@@ -156,31 +156,31 @@ export type SizeConstraint = Message<"metalstack.api.v2.SizeConstraint"> & {
|
|
|
156
156
|
*/
|
|
157
157
|
export declare const SizeConstraintSchema: GenMessage<SizeConstraint>;
|
|
158
158
|
/**
|
|
159
|
-
* SizeQuery is used to search sizes
|
|
159
|
+
* SizeQuery is used to search sizes.
|
|
160
160
|
*
|
|
161
161
|
* @generated from message metalstack.api.v2.SizeQuery
|
|
162
162
|
*/
|
|
163
163
|
export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & {
|
|
164
164
|
/**
|
|
165
|
-
* ID of the size to get
|
|
165
|
+
* ID of the size to get.
|
|
166
166
|
*
|
|
167
167
|
* @generated from field: optional string id = 1;
|
|
168
168
|
*/
|
|
169
169
|
id?: string | undefined;
|
|
170
170
|
/**
|
|
171
|
-
* Name of the size to query
|
|
171
|
+
* Name of the size to query.
|
|
172
172
|
*
|
|
173
173
|
* @generated from field: optional string name = 2;
|
|
174
174
|
*/
|
|
175
175
|
name?: string | undefined;
|
|
176
176
|
/**
|
|
177
|
-
* Description of the size to query
|
|
177
|
+
* Description of the size to query.
|
|
178
178
|
*
|
|
179
179
|
* @generated from field: optional string description = 3;
|
|
180
180
|
*/
|
|
181
181
|
description?: string | undefined;
|
|
182
182
|
/**
|
|
183
|
-
* Labels lists only sizes containing the given labels
|
|
183
|
+
* Labels lists only sizes containing the given labels.
|
|
184
184
|
*
|
|
185
185
|
* @generated from field: optional metalstack.api.v2.Labels labels = 4;
|
|
186
186
|
*/
|
|
@@ -192,37 +192,37 @@ export type SizeQuery = Message<"metalstack.api.v2.SizeQuery"> & {
|
|
|
192
192
|
*/
|
|
193
193
|
export declare const SizeQuerySchema: GenMessage<SizeQuery>;
|
|
194
194
|
/**
|
|
195
|
-
* SizeConstraintType defines the property for which a constraint is defined
|
|
195
|
+
* SizeConstraintType defines the property for which a constraint is defined.
|
|
196
196
|
*
|
|
197
197
|
* @generated from enum metalstack.api.v2.SizeConstraintType
|
|
198
198
|
*/
|
|
199
199
|
export declare enum SizeConstraintType {
|
|
200
200
|
/**
|
|
201
|
-
* SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified
|
|
201
|
+
* SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified.
|
|
202
202
|
*
|
|
203
203
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0;
|
|
204
204
|
*/
|
|
205
205
|
UNSPECIFIED = 0,
|
|
206
206
|
/**
|
|
207
|
-
* SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property
|
|
207
|
+
* SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property.
|
|
208
208
|
*
|
|
209
209
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1;
|
|
210
210
|
*/
|
|
211
211
|
CORES = 1,
|
|
212
212
|
/**
|
|
213
|
-
* SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property
|
|
213
|
+
* SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property.
|
|
214
214
|
*
|
|
215
215
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2;
|
|
216
216
|
*/
|
|
217
217
|
MEMORY = 2,
|
|
218
218
|
/**
|
|
219
|
-
* SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property
|
|
219
|
+
* SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property.
|
|
220
220
|
*
|
|
221
221
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3;
|
|
222
222
|
*/
|
|
223
223
|
STORAGE = 3,
|
|
224
224
|
/**
|
|
225
|
-
* SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property
|
|
225
|
+
* SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property.
|
|
226
226
|
*
|
|
227
227
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4;
|
|
228
228
|
*/
|
|
@@ -45,38 +45,38 @@ export const SizeConstraintSchema = /*@__PURE__*/ messageDesc(file_metalstack_ap
|
|
|
45
45
|
*/
|
|
46
46
|
export const SizeQuerySchema = /*@__PURE__*/ messageDesc(file_metalstack_api_v2_size, 6);
|
|
47
47
|
/**
|
|
48
|
-
* SizeConstraintType defines the property for which a constraint is defined
|
|
48
|
+
* SizeConstraintType defines the property for which a constraint is defined.
|
|
49
49
|
*
|
|
50
50
|
* @generated from enum metalstack.api.v2.SizeConstraintType
|
|
51
51
|
*/
|
|
52
52
|
export var SizeConstraintType;
|
|
53
53
|
(function (SizeConstraintType) {
|
|
54
54
|
/**
|
|
55
|
-
* SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified
|
|
55
|
+
* SIZE_CONSTRAINT_TYPE_UNSPECIFIED type is not specified.
|
|
56
56
|
*
|
|
57
57
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_UNSPECIFIED = 0;
|
|
58
58
|
*/
|
|
59
59
|
SizeConstraintType[SizeConstraintType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
60
60
|
/**
|
|
61
|
-
* SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property
|
|
61
|
+
* SIZE_CONSTRAINT_TYPE_CORES defines the number of cores as property.
|
|
62
62
|
*
|
|
63
63
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_CORES = 1;
|
|
64
64
|
*/
|
|
65
65
|
SizeConstraintType[SizeConstraintType["CORES"] = 1] = "CORES";
|
|
66
66
|
/**
|
|
67
|
-
* SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property
|
|
67
|
+
* SIZE_CONSTRAINT_TYPE_MEMORY defines the amount of memory as property.
|
|
68
68
|
*
|
|
69
69
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_MEMORY = 2;
|
|
70
70
|
*/
|
|
71
71
|
SizeConstraintType[SizeConstraintType["MEMORY"] = 2] = "MEMORY";
|
|
72
72
|
/**
|
|
73
|
-
* SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property
|
|
73
|
+
* SIZE_CONSTRAINT_TYPE_STORAGE defines the amount of storage as property.
|
|
74
74
|
*
|
|
75
75
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_STORAGE = 3;
|
|
76
76
|
*/
|
|
77
77
|
SizeConstraintType[SizeConstraintType["STORAGE"] = 3] = "STORAGE";
|
|
78
78
|
/**
|
|
79
|
-
* SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property
|
|
79
|
+
* SIZE_CONSTRAINT_TYPE_GPU defines the number of gpus as property.
|
|
80
80
|
*
|
|
81
81
|
* @generated from enum value: SIZE_CONSTRAINT_TYPE_GPU = 4;
|
|
82
82
|
*/
|