@metal-stack/api 0.0.61 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/buf/validate/validate_pb.d.ts +9 -9
- package/js/buf/validate/validate_pb.ts +10 -10
- package/js/metalstack/admin/v2/audit_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/audit_pb.js +2 -2
- package/js/metalstack/admin/v2/audit_pb.ts +5 -5
- package/js/metalstack/admin/v2/component_pb.d.ts +3 -3
- package/js/metalstack/admin/v2/component_pb.js +1 -1
- package/js/metalstack/admin/v2/component_pb.ts +4 -4
- package/js/metalstack/admin/v2/filesystem_pb.d.ts +122 -8
- package/js/metalstack/admin/v2/filesystem_pb.js +22 -2
- package/js/metalstack/admin/v2/filesystem_pb.ts +135 -10
- package/js/metalstack/admin/v2/image_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/image_pb.js +2 -2
- package/js/metalstack/admin/v2/image_pb.ts +12 -12
- package/js/metalstack/admin/v2/ip_pb.d.ts +1 -1
- package/js/metalstack/admin/v2/ip_pb.js +1 -1
- package/js/metalstack/admin/v2/ip_pb.ts +2 -2
- package/js/metalstack/admin/v2/machine_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/machine_pb.js +2 -2
- package/js/metalstack/admin/v2/machine_pb.ts +10 -10
- package/js/metalstack/admin/v2/network_pb.d.ts +26 -26
- package/js/metalstack/admin/v2/network_pb.js +2 -2
- package/js/metalstack/admin/v2/network_pb.ts +28 -28
- package/js/metalstack/admin/v2/partition_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/partition_pb.js +1 -1
- package/js/metalstack/admin/v2/partition_pb.ts +12 -12
- package/js/metalstack/admin/v2/project_pb.d.ts +2 -2
- package/js/metalstack/admin/v2/project_pb.js +1 -1
- package/js/metalstack/admin/v2/project_pb.ts +3 -3
- package/js/metalstack/admin/v2/size_imageconstraint_pb.d.ts +11 -11
- package/js/metalstack/admin/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/admin/v2/size_imageconstraint_pb.ts +12 -12
- package/js/metalstack/admin/v2/size_pb.d.ts +8 -8
- package/js/metalstack/admin/v2/size_pb.js +2 -2
- package/js/metalstack/admin/v2/size_pb.ts +10 -10
- package/js/metalstack/admin/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/size_reservation_pb.js +2 -2
- package/js/metalstack/admin/v2/size_reservation_pb.ts +12 -12
- package/js/metalstack/admin/v2/switch_pb.d.ts +16 -16
- package/js/metalstack/admin/v2/switch_pb.js +2 -2
- package/js/metalstack/admin/v2/switch_pb.ts +18 -18
- package/js/metalstack/admin/v2/task_pb.d.ts +10 -10
- package/js/metalstack/admin/v2/task_pb.js +2 -2
- package/js/metalstack/admin/v2/task_pb.ts +12 -12
- package/js/metalstack/admin/v2/tenant_pb.d.ts +9 -9
- package/js/metalstack/admin/v2/tenant_pb.js +2 -2
- package/js/metalstack/admin/v2/tenant_pb.ts +11 -11
- package/js/metalstack/admin/v2/token_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/token_pb.js +2 -2
- package/js/metalstack/admin/v2/token_pb.ts +6 -6
- package/js/metalstack/admin/v2/vpn_pb.d.ts +4 -4
- package/js/metalstack/admin/v2/vpn_pb.js +2 -2
- package/js/metalstack/admin/v2/vpn_pb.ts +6 -6
- package/js/metalstack/api/v2/audit_pb.d.ts +18 -18
- package/js/metalstack/api/v2/audit_pb.js +1 -1
- package/js/metalstack/api/v2/audit_pb.ts +19 -19
- package/js/metalstack/api/v2/common_pb.d.ts +8 -8
- package/js/metalstack/api/v2/common_pb.js +2 -2
- package/js/metalstack/api/v2/common_pb.ts +9 -9
- package/js/metalstack/api/v2/component_pb.d.ts +8 -8
- package/js/metalstack/api/v2/component_pb.js +1 -1
- package/js/metalstack/api/v2/component_pb.ts +9 -9
- package/js/metalstack/api/v2/filesystem_pb.d.ts +12 -126
- package/js/metalstack/api/v2/filesystem_pb.js +10 -30
- package/js/metalstack/api/v2/filesystem_pb.ts +22 -147
- package/js/metalstack/api/v2/health_pb.d.ts +4 -4
- package/js/metalstack/api/v2/health_pb.js +5 -5
- package/js/metalstack/api/v2/health_pb.ts +6 -6
- package/js/metalstack/api/v2/image_pb.d.ts +22 -22
- package/js/metalstack/api/v2/image_pb.js +1 -1
- package/js/metalstack/api/v2/image_pb.ts +23 -23
- package/js/metalstack/api/v2/ip_pb.d.ts +32 -32
- package/js/metalstack/api/v2/ip_pb.js +2 -2
- package/js/metalstack/api/v2/ip_pb.ts +34 -34
- package/js/metalstack/api/v2/machine_pb.d.ts +98 -98
- package/js/metalstack/api/v2/machine_pb.js +2 -2
- package/js/metalstack/api/v2/machine_pb.ts +100 -100
- package/js/metalstack/api/v2/method_pb.d.ts +2 -2
- package/js/metalstack/api/v2/method_pb.js +2 -2
- package/js/metalstack/api/v2/method_pb.ts +4 -4
- package/js/metalstack/api/v2/network_pb.d.ts +52 -52
- package/js/metalstack/api/v2/network_pb.js +2 -2
- package/js/metalstack/api/v2/network_pb.ts +54 -54
- package/js/metalstack/api/v2/partition_pb.d.ts +9 -9
- package/js/metalstack/api/v2/partition_pb.js +2 -2
- package/js/metalstack/api/v2/partition_pb.ts +11 -11
- package/js/metalstack/api/v2/predefined_rules_pb.d.ts +1 -1
- package/js/metalstack/api/v2/predefined_rules_pb.js +2 -2
- package/js/metalstack/api/v2/predefined_rules_pb.ts +2 -2
- package/js/metalstack/api/v2/project_pb.d.ts +27 -27
- package/js/metalstack/api/v2/project_pb.js +2 -2
- package/js/metalstack/api/v2/project_pb.ts +29 -29
- package/js/metalstack/api/v2/size_imageconstraint_pb.d.ts +6 -6
- package/js/metalstack/api/v2/size_imageconstraint_pb.js +1 -1
- package/js/metalstack/api/v2/size_imageconstraint_pb.ts +7 -7
- package/js/metalstack/api/v2/size_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_pb.js +1 -1
- package/js/metalstack/api/v2/size_pb.ts +11 -11
- package/js/metalstack/api/v2/size_reservation_pb.d.ts +10 -10
- package/js/metalstack/api/v2/size_reservation_pb.js +1 -1
- package/js/metalstack/api/v2/size_reservation_pb.ts +11 -11
- package/js/metalstack/api/v2/switch_pb.d.ts +26 -26
- package/js/metalstack/api/v2/switch_pb.js +1 -1
- package/js/metalstack/api/v2/switch_pb.ts +27 -27
- package/js/metalstack/api/v2/tenant_pb.d.ts +25 -25
- package/js/metalstack/api/v2/tenant_pb.js +1 -1
- package/js/metalstack/api/v2/tenant_pb.ts +26 -26
- package/js/metalstack/api/v2/token_pb.d.ts +18 -18
- package/js/metalstack/api/v2/token_pb.js +2 -2
- package/js/metalstack/api/v2/token_pb.ts +20 -20
- package/js/metalstack/api/v2/user_pb.d.ts +2 -2
- package/js/metalstack/api/v2/user_pb.js +1 -1
- package/js/metalstack/api/v2/user_pb.ts +3 -3
- package/js/metalstack/api/v2/version_pb.d.ts +1 -1
- package/js/metalstack/api/v2/version_pb.js +1 -1
- package/js/metalstack/api/v2/version_pb.ts +2 -2
- package/js/metalstack/api/v2/vpn_pb.d.ts +1 -1
- package/js/metalstack/api/v2/vpn_pb.js +4 -2
- package/js/metalstack/api/v2/vpn_pb.ts +5 -3
- package/js/metalstack/infra/v2/bmc_pb.d.ts +2 -2
- package/js/metalstack/infra/v2/bmc_pb.js +1 -1
- package/js/metalstack/infra/v2/bmc_pb.ts +3 -3
- package/js/metalstack/infra/v2/boot_pb.d.ts +6 -6
- package/js/metalstack/infra/v2/boot_pb.js +1 -1
- package/js/metalstack/infra/v2/boot_pb.ts +7 -7
- package/js/metalstack/infra/v2/component_pb.d.ts +3 -3
- package/js/metalstack/infra/v2/component_pb.js +1 -1
- package/js/metalstack/infra/v2/component_pb.ts +4 -4
- package/js/metalstack/infra/v2/event_pb.d.ts +3 -116
- package/js/metalstack/infra/v2/event_pb.js +4 -92
- package/js/metalstack/infra/v2/event_pb.ts +7 -138
- package/js/metalstack/infra/v2/switch_pb.d.ts +7 -7
- package/js/metalstack/infra/v2/switch_pb.js +1 -1
- package/js/metalstack/infra/v2/switch_pb.ts +8 -8
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/boot.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -113,7 +113,7 @@ export type BootServiceBootResponse = Message<"metalstack.infra.v2.BootServiceBo
|
|
|
113
113
|
*
|
|
114
114
|
* @generated from field: optional string cmdline = 3;
|
|
115
115
|
*/
|
|
116
|
-
cmdline?: string;
|
|
116
|
+
cmdline?: string | undefined;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
/**
|
|
@@ -141,28 +141,28 @@ export type BootServiceRegisterRequest = Message<"metalstack.infra.v2.BootServic
|
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.MachineHardware hardware = 2;
|
|
143
143
|
*/
|
|
144
|
-
hardware?: MachineHardware;
|
|
144
|
+
hardware?: MachineHardware | undefined;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
147
|
* Bios details of this machine
|
|
148
148
|
*
|
|
149
149
|
* @generated from field: metalstack.api.v2.MachineBios bios = 3;
|
|
150
150
|
*/
|
|
151
|
-
bios?: MachineBios;
|
|
151
|
+
bios?: MachineBios | undefined;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* BMC details of this machine
|
|
155
155
|
*
|
|
156
156
|
* @generated from field: metalstack.api.v2.MachineBMC bmc = 4;
|
|
157
157
|
*/
|
|
158
|
-
bmc?: MachineBMC;
|
|
158
|
+
bmc?: MachineBMC | undefined;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
161
|
* FRU details of this machine
|
|
162
162
|
*
|
|
163
163
|
* @generated from field: metalstack.api.v2.MachineFRU fru = 5;
|
|
164
164
|
*/
|
|
165
|
-
fru?: MachineFRU;
|
|
165
|
+
fru?: MachineFRU | undefined;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Tags of this machine
|
|
@@ -260,7 +260,7 @@ export type BootServiceWaitResponse = Message<"metalstack.infra.v2.BootServiceWa
|
|
|
260
260
|
*
|
|
261
261
|
* @generated from field: metalstack.api.v2.MachineAllocation allocation = 1;
|
|
262
262
|
*/
|
|
263
|
-
allocation?: MachineAllocation;
|
|
263
|
+
allocation?: MachineAllocation | undefined;
|
|
264
264
|
};
|
|
265
265
|
|
|
266
266
|
/**
|
|
@@ -30,19 +30,19 @@ export type ComponentServicePingRequest = Message<"metalstack.infra.v2.Component
|
|
|
30
30
|
*
|
|
31
31
|
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
32
32
|
*/
|
|
33
|
-
startedAt?: Timestamp;
|
|
33
|
+
startedAt?: Timestamp | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour
|
|
36
36
|
*
|
|
37
37
|
* @generated from field: google.protobuf.Duration interval = 4;
|
|
38
38
|
*/
|
|
39
|
-
interval?: Duration;
|
|
39
|
+
interval?: Duration | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* Version of this service
|
|
42
42
|
*
|
|
43
43
|
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
44
44
|
*/
|
|
45
|
-
version?: Version;
|
|
45
|
+
version?: Version | undefined;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
48
48
|
* Describes the message metalstack.infra.v2.ComponentServicePingRequest.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/component.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/component.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
@@ -46,21 +46,21 @@ export type ComponentServicePingRequest = Message<"metalstack.infra.v2.Component
|
|
|
46
46
|
*
|
|
47
47
|
* @generated from field: google.protobuf.Timestamp started_at = 3;
|
|
48
48
|
*/
|
|
49
|
-
startedAt?: Timestamp;
|
|
49
|
+
startedAt?: Timestamp | undefined;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
52
|
* Interval at which the ping is scheduled, must be between 5 seconds and 1 hour
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: google.protobuf.Duration interval = 4;
|
|
55
55
|
*/
|
|
56
|
-
interval?: Duration;
|
|
56
|
+
interval?: Duration | undefined;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Version of this service
|
|
60
60
|
*
|
|
61
61
|
* @generated from field: metalstack.api.v2.Version version = 5;
|
|
62
62
|
*/
|
|
63
|
-
version?: Version;
|
|
63
|
+
version?: Version | undefined;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { MachineProvisioningEvent } from "../../api/v2/machine_pb";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file metalstack/infra/v2/event.proto.
|
|
@@ -14,7 +14,7 @@ export type EventServiceSendRequest = Message<"metalstack.infra.v2.EventServiceS
|
|
|
14
14
|
/**
|
|
15
15
|
* Events grouped by machine IDs
|
|
16
16
|
*
|
|
17
|
-
* @generated from field: map<string, metalstack.
|
|
17
|
+
* @generated from field: map<string, metalstack.api.v2.MachineProvisioningEvent> events = 1;
|
|
18
18
|
*/
|
|
19
19
|
events: {
|
|
20
20
|
[key: string]: MachineProvisioningEvent;
|
|
@@ -49,119 +49,6 @@ export type EventServiceSendResponse = Message<"metalstack.infra.v2.EventService
|
|
|
49
49
|
* Use `create(EventServiceSendResponseSchema)` to create a new message.
|
|
50
50
|
*/
|
|
51
51
|
export declare const EventServiceSendResponseSchema: GenMessage<EventServiceSendResponse>;
|
|
52
|
-
/**
|
|
53
|
-
* MachineProvisioningEvent contains details about an event.
|
|
54
|
-
*
|
|
55
|
-
* @generated from message metalstack.infra.v2.MachineProvisioningEvent
|
|
56
|
-
*/
|
|
57
|
-
export type MachineProvisioningEvent = Message<"metalstack.infra.v2.MachineProvisioningEvent"> & {
|
|
58
|
-
/**
|
|
59
|
-
* Time the event occurred at
|
|
60
|
-
*
|
|
61
|
-
* @generated from field: google.protobuf.Timestamp time = 1;
|
|
62
|
-
*/
|
|
63
|
-
time?: Timestamp;
|
|
64
|
-
/**
|
|
65
|
-
* Event that occurred
|
|
66
|
-
*
|
|
67
|
-
* @generated from field: metalstack.infra.v2.ProvisioningEventType event = 2;
|
|
68
|
-
*/
|
|
69
|
-
event: ProvisioningEventType;
|
|
70
|
-
/**
|
|
71
|
-
* Message describes the event in more detail
|
|
72
|
-
*
|
|
73
|
-
* @generated from field: string message = 3;
|
|
74
|
-
*/
|
|
75
|
-
message: string;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Describes the message metalstack.infra.v2.MachineProvisioningEvent.
|
|
79
|
-
* Use `create(MachineProvisioningEventSchema)` to create a new message.
|
|
80
|
-
*/
|
|
81
|
-
export declare const MachineProvisioningEventSchema: GenMessage<MachineProvisioningEvent>;
|
|
82
|
-
/**
|
|
83
|
-
* ProvisioningEventType is a short description of a machine event.
|
|
84
|
-
*
|
|
85
|
-
* @generated from enum metalstack.infra.v2.ProvisioningEventType
|
|
86
|
-
*/
|
|
87
|
-
export declare enum ProvisioningEventType {
|
|
88
|
-
/**
|
|
89
|
-
* PROVISIONING_EVENT_TYPE_UNSPECIFIED is unspecified
|
|
90
|
-
*
|
|
91
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0;
|
|
92
|
-
*/
|
|
93
|
-
UNSPECIFIED = 0,
|
|
94
|
-
/**
|
|
95
|
-
* PROVISIONING_EVENT_TYPE_ALIVE means the machine has reported itself to the API not long ago
|
|
96
|
-
*
|
|
97
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_ALIVE = 1;
|
|
98
|
-
*/
|
|
99
|
-
ALIVE = 1,
|
|
100
|
-
/**
|
|
101
|
-
* PROVISIONING_EVENT_TYPE_CRASHED means an irregularity in the machine's lifecycle
|
|
102
|
-
*
|
|
103
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_CRASHED = 2;
|
|
104
|
-
*/
|
|
105
|
-
CRASHED = 2,
|
|
106
|
-
/**
|
|
107
|
-
* PROVISIONING_EVENT_TYPE_PXE_BOOTING is sent when an unprovisioned machine requests a boot image via PXE
|
|
108
|
-
*
|
|
109
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3;
|
|
110
|
-
*/
|
|
111
|
-
PXE_BOOTING = 3,
|
|
112
|
-
/**
|
|
113
|
-
* PROVISIONING_EVENT_TYPE_PLANNED_REBOOT means the machine was scheduled for reboot
|
|
114
|
-
*
|
|
115
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4;
|
|
116
|
-
*/
|
|
117
|
-
PLANNED_REBOOT = 4,
|
|
118
|
-
/**
|
|
119
|
-
* PROVISIONING_EVENT_TYPE_PREPARING means the metal-hammer has started
|
|
120
|
-
*
|
|
121
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PREPARING = 5;
|
|
122
|
-
*/
|
|
123
|
-
PREPARING = 5,
|
|
124
|
-
/**
|
|
125
|
-
* PROVISIONING_EVENT_TYPE_REGISTERING means the metal-hammer is attempting to register the machine at the API
|
|
126
|
-
*
|
|
127
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_REGISTERING = 6;
|
|
128
|
-
*/
|
|
129
|
-
REGISTERING = 6,
|
|
130
|
-
/**
|
|
131
|
-
* PROVISIONING_EVENT_TYPE_WAITING means the machine has successfully reached the state where it is waiting for allocation
|
|
132
|
-
*
|
|
133
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_WAITING = 7;
|
|
134
|
-
*/
|
|
135
|
-
WAITING = 7,
|
|
136
|
-
/**
|
|
137
|
-
* PROVISIONING_EVENT_TYPE_INSTALLING means the machine was allocated and the requested OS is being installed
|
|
138
|
-
*
|
|
139
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_INSTALLING = 8;
|
|
140
|
-
*/
|
|
141
|
-
INSTALLING = 8,
|
|
142
|
-
/**
|
|
143
|
-
* PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL means the machine has successfully been installed and is now booting into the new OS
|
|
144
|
-
*
|
|
145
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9;
|
|
146
|
-
*/
|
|
147
|
-
BOOTING_NEW_KERNEL = 9,
|
|
148
|
-
/**
|
|
149
|
-
* PROVISIONING_EVENT_TYPE_PHONED_HOME is sent periodically by an allocated machine to indicate its liveliness
|
|
150
|
-
*
|
|
151
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PHONED_HOME = 10;
|
|
152
|
-
*/
|
|
153
|
-
PHONED_HOME = 10,
|
|
154
|
-
/**
|
|
155
|
-
* PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM means the machine was freed and is about to return into the pool of waiting machines
|
|
156
|
-
*
|
|
157
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11;
|
|
158
|
-
*/
|
|
159
|
-
MACHINE_RECLAIM = 11
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* Describes the enum metalstack.infra.v2.ProvisioningEventType.
|
|
163
|
-
*/
|
|
164
|
-
export declare const ProvisioningEventTypeSchema: GenEnum<ProvisioningEventType>;
|
|
165
52
|
/**
|
|
166
53
|
* EventService provides machine provisioning event logging operations.
|
|
167
54
|
*
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/event.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
import {
|
|
4
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
5
5
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
6
6
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
7
7
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
8
|
+
import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file metalstack/infra/v2/event.proto.
|
|
10
11
|
*/
|
|
11
|
-
export const file_metalstack_infra_v2_event = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_metalstack_infra_v2_event = /*@__PURE__*/ fileDesc("Ch9tZXRhbHN0YWNrL2luZnJhL3YyL2V2ZW50LnByb3RvEhNtZXRhbHN0YWNrLmluZnJhLnYyIr8BChdFdmVudFNlcnZpY2VTZW5kUmVxdWVzdBJICgZldmVudHMYASADKAsyOC5tZXRhbHN0YWNrLmluZnJhLnYyLkV2ZW50U2VydmljZVNlbmRSZXF1ZXN0LkV2ZW50c0VudHJ5GloKC0V2ZW50c0VudHJ5EgsKA2tleRgBIAEoCRI6CgV2YWx1ZRgCIAEoCzIrLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVQcm92aXNpb25pbmdFdmVudDoCOAEiOgoYRXZlbnRTZXJ2aWNlU2VuZFJlc3BvbnNlEg4KBmV2ZW50cxgBIAEoBBIOCgZmYWlsZWQYAiADKAkyfgoMRXZlbnRTZXJ2aWNlEm4KBFNlbmQSLC5tZXRhbHN0YWNrLmluZnJhLnYyLkV2ZW50U2VydmljZVNlbmRSZXF1ZXN0Gi0ubWV0YWxzdGFjay5pbmZyYS52Mi5FdmVudFNlcnZpY2VTZW5kUmVzcG9uc2UiCeDzGALq8xgBAULOAQoXY29tLm1ldGFsc3RhY2suaW5mcmEudjJCCkV2ZW50UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_machine]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message metalstack.infra.v2.EventServiceSendRequest.
|
|
14
15
|
* Use `create(EventServiceSendRequestSchema)` to create a new message.
|
|
@@ -19,95 +20,6 @@ export const EventServiceSendRequestSchema = /*@__PURE__*/ messageDesc(file_meta
|
|
|
19
20
|
* Use `create(EventServiceSendResponseSchema)` to create a new message.
|
|
20
21
|
*/
|
|
21
22
|
export const EventServiceSendResponseSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_event, 1);
|
|
22
|
-
/**
|
|
23
|
-
* Describes the message metalstack.infra.v2.MachineProvisioningEvent.
|
|
24
|
-
* Use `create(MachineProvisioningEventSchema)` to create a new message.
|
|
25
|
-
*/
|
|
26
|
-
export const MachineProvisioningEventSchema = /*@__PURE__*/ messageDesc(file_metalstack_infra_v2_event, 2);
|
|
27
|
-
/**
|
|
28
|
-
* ProvisioningEventType is a short description of a machine event.
|
|
29
|
-
*
|
|
30
|
-
* @generated from enum metalstack.infra.v2.ProvisioningEventType
|
|
31
|
-
*/
|
|
32
|
-
export var ProvisioningEventType;
|
|
33
|
-
(function (ProvisioningEventType) {
|
|
34
|
-
/**
|
|
35
|
-
* PROVISIONING_EVENT_TYPE_UNSPECIFIED is unspecified
|
|
36
|
-
*
|
|
37
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0;
|
|
38
|
-
*/
|
|
39
|
-
ProvisioningEventType[ProvisioningEventType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
40
|
-
/**
|
|
41
|
-
* PROVISIONING_EVENT_TYPE_ALIVE means the machine has reported itself to the API not long ago
|
|
42
|
-
*
|
|
43
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_ALIVE = 1;
|
|
44
|
-
*/
|
|
45
|
-
ProvisioningEventType[ProvisioningEventType["ALIVE"] = 1] = "ALIVE";
|
|
46
|
-
/**
|
|
47
|
-
* PROVISIONING_EVENT_TYPE_CRASHED means an irregularity in the machine's lifecycle
|
|
48
|
-
*
|
|
49
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_CRASHED = 2;
|
|
50
|
-
*/
|
|
51
|
-
ProvisioningEventType[ProvisioningEventType["CRASHED"] = 2] = "CRASHED";
|
|
52
|
-
/**
|
|
53
|
-
* PROVISIONING_EVENT_TYPE_PXE_BOOTING is sent when an unprovisioned machine requests a boot image via PXE
|
|
54
|
-
*
|
|
55
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3;
|
|
56
|
-
*/
|
|
57
|
-
ProvisioningEventType[ProvisioningEventType["PXE_BOOTING"] = 3] = "PXE_BOOTING";
|
|
58
|
-
/**
|
|
59
|
-
* PROVISIONING_EVENT_TYPE_PLANNED_REBOOT means the machine was scheduled for reboot
|
|
60
|
-
*
|
|
61
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4;
|
|
62
|
-
*/
|
|
63
|
-
ProvisioningEventType[ProvisioningEventType["PLANNED_REBOOT"] = 4] = "PLANNED_REBOOT";
|
|
64
|
-
/**
|
|
65
|
-
* PROVISIONING_EVENT_TYPE_PREPARING means the metal-hammer has started
|
|
66
|
-
*
|
|
67
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PREPARING = 5;
|
|
68
|
-
*/
|
|
69
|
-
ProvisioningEventType[ProvisioningEventType["PREPARING"] = 5] = "PREPARING";
|
|
70
|
-
/**
|
|
71
|
-
* PROVISIONING_EVENT_TYPE_REGISTERING means the metal-hammer is attempting to register the machine at the API
|
|
72
|
-
*
|
|
73
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_REGISTERING = 6;
|
|
74
|
-
*/
|
|
75
|
-
ProvisioningEventType[ProvisioningEventType["REGISTERING"] = 6] = "REGISTERING";
|
|
76
|
-
/**
|
|
77
|
-
* PROVISIONING_EVENT_TYPE_WAITING means the machine has successfully reached the state where it is waiting for allocation
|
|
78
|
-
*
|
|
79
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_WAITING = 7;
|
|
80
|
-
*/
|
|
81
|
-
ProvisioningEventType[ProvisioningEventType["WAITING"] = 7] = "WAITING";
|
|
82
|
-
/**
|
|
83
|
-
* PROVISIONING_EVENT_TYPE_INSTALLING means the machine was allocated and the requested OS is being installed
|
|
84
|
-
*
|
|
85
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_INSTALLING = 8;
|
|
86
|
-
*/
|
|
87
|
-
ProvisioningEventType[ProvisioningEventType["INSTALLING"] = 8] = "INSTALLING";
|
|
88
|
-
/**
|
|
89
|
-
* PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL means the machine has successfully been installed and is now booting into the new OS
|
|
90
|
-
*
|
|
91
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9;
|
|
92
|
-
*/
|
|
93
|
-
ProvisioningEventType[ProvisioningEventType["BOOTING_NEW_KERNEL"] = 9] = "BOOTING_NEW_KERNEL";
|
|
94
|
-
/**
|
|
95
|
-
* PROVISIONING_EVENT_TYPE_PHONED_HOME is sent periodically by an allocated machine to indicate its liveliness
|
|
96
|
-
*
|
|
97
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PHONED_HOME = 10;
|
|
98
|
-
*/
|
|
99
|
-
ProvisioningEventType[ProvisioningEventType["PHONED_HOME"] = 10] = "PHONED_HOME";
|
|
100
|
-
/**
|
|
101
|
-
* PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM means the machine was freed and is about to return into the pool of waiting machines
|
|
102
|
-
*
|
|
103
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11;
|
|
104
|
-
*/
|
|
105
|
-
ProvisioningEventType[ProvisioningEventType["MACHINE_RECLAIM"] = 11] = "MACHINE_RECLAIM";
|
|
106
|
-
})(ProvisioningEventType || (ProvisioningEventType = {}));
|
|
107
|
-
/**
|
|
108
|
-
* Describes the enum metalstack.infra.v2.ProvisioningEventType.
|
|
109
|
-
*/
|
|
110
|
-
export const ProvisioningEventTypeSchema = /*@__PURE__*/ enumDesc(file_metalstack_infra_v2_event, 0);
|
|
111
23
|
/**
|
|
112
24
|
* EventService provides machine provisioning event logging operations.
|
|
113
25
|
*
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/event.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type {
|
|
6
|
-
import {
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
7
|
import { file_buf_validate_validate } from "../../../buf/validate/validate_pb";
|
|
8
|
-
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
9
8
|
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
10
9
|
import { file_metalstack_api_v2_common } from "../../api/v2/common_pb";
|
|
10
|
+
import type { MachineProvisioningEvent } from "../../api/v2/machine_pb";
|
|
11
|
+
import { file_metalstack_api_v2_machine } from "../../api/v2/machine_pb";
|
|
11
12
|
import type { Message } from "@bufbuild/protobuf";
|
|
12
13
|
|
|
13
14
|
/**
|
|
14
15
|
* Describes the file metalstack/infra/v2/event.proto.
|
|
15
16
|
*/
|
|
16
17
|
export const file_metalstack_infra_v2_event: GenFile = /*@__PURE__*/
|
|
17
|
-
fileDesc("
|
|
18
|
+
fileDesc("Ch9tZXRhbHN0YWNrL2luZnJhL3YyL2V2ZW50LnByb3RvEhNtZXRhbHN0YWNrLmluZnJhLnYyIr8BChdFdmVudFNlcnZpY2VTZW5kUmVxdWVzdBJICgZldmVudHMYASADKAsyOC5tZXRhbHN0YWNrLmluZnJhLnYyLkV2ZW50U2VydmljZVNlbmRSZXF1ZXN0LkV2ZW50c0VudHJ5GloKC0V2ZW50c0VudHJ5EgsKA2tleRgBIAEoCRI6CgV2YWx1ZRgCIAEoCzIrLm1ldGFsc3RhY2suYXBpLnYyLk1hY2hpbmVQcm92aXNpb25pbmdFdmVudDoCOAEiOgoYRXZlbnRTZXJ2aWNlU2VuZFJlc3BvbnNlEg4KBmV2ZW50cxgBIAEoBBIOCgZmYWlsZWQYAiADKAkyfgoMRXZlbnRTZXJ2aWNlEm4KBFNlbmQSLC5tZXRhbHN0YWNrLmluZnJhLnYyLkV2ZW50U2VydmljZVNlbmRSZXF1ZXN0Gi0ubWV0YWxzdGFjay5pbmZyYS52Mi5FdmVudFNlcnZpY2VTZW5kUmVzcG9uc2UiCeDzGALq8xgBAULOAQoXY29tLm1ldGFsc3RhY2suaW5mcmEudjJCCkV2ZW50UHJvdG9QAVo5Z2l0aHViLmNvbS9tZXRhbC1zdGFjay9hcGkvZ28vbWV0YWxzdGFjay9pbmZyYS92MjtpbmZyYXYyogIDTUlYqgITTWV0YWxzdGFjay5JbmZyYS5WMsoCE01ldGFsc3RhY2tcSW5mcmFcVjLiAh9NZXRhbHN0YWNrXEluZnJhXFYyXEdQQk1ldGFkYXRh6gIVTWV0YWxzdGFjazo6SW5mcmE6OlYyYgZwcm90bzM", [file_buf_validate_validate, file_google_protobuf_timestamp, file_metalstack_api_v2_common, file_metalstack_api_v2_machine]);
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* EventServiceSendRequest is the request payload for sending provisioning events.
|
|
@@ -25,7 +26,7 @@ export type EventServiceSendRequest = Message<"metalstack.infra.v2.EventServiceS
|
|
|
25
26
|
/**
|
|
26
27
|
* Events grouped by machine IDs
|
|
27
28
|
*
|
|
28
|
-
* @generated from field: map<string, metalstack.
|
|
29
|
+
* @generated from field: map<string, metalstack.api.v2.MachineProvisioningEvent> events = 1;
|
|
29
30
|
*/
|
|
30
31
|
events: { [key: string]: MachineProvisioningEvent };
|
|
31
32
|
};
|
|
@@ -65,138 +66,6 @@ export type EventServiceSendResponse = Message<"metalstack.infra.v2.EventService
|
|
|
65
66
|
export const EventServiceSendResponseSchema: GenMessage<EventServiceSendResponse> = /*@__PURE__*/
|
|
66
67
|
messageDesc(file_metalstack_infra_v2_event, 1);
|
|
67
68
|
|
|
68
|
-
/**
|
|
69
|
-
* MachineProvisioningEvent contains details about an event.
|
|
70
|
-
*
|
|
71
|
-
* @generated from message metalstack.infra.v2.MachineProvisioningEvent
|
|
72
|
-
*/
|
|
73
|
-
export type MachineProvisioningEvent = Message<"metalstack.infra.v2.MachineProvisioningEvent"> & {
|
|
74
|
-
/**
|
|
75
|
-
* Time the event occurred at
|
|
76
|
-
*
|
|
77
|
-
* @generated from field: google.protobuf.Timestamp time = 1;
|
|
78
|
-
*/
|
|
79
|
-
time?: Timestamp;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Event that occurred
|
|
83
|
-
*
|
|
84
|
-
* @generated from field: metalstack.infra.v2.ProvisioningEventType event = 2;
|
|
85
|
-
*/
|
|
86
|
-
event: ProvisioningEventType;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Message describes the event in more detail
|
|
90
|
-
*
|
|
91
|
-
* @generated from field: string message = 3;
|
|
92
|
-
*/
|
|
93
|
-
message: string;
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Describes the message metalstack.infra.v2.MachineProvisioningEvent.
|
|
98
|
-
* Use `create(MachineProvisioningEventSchema)` to create a new message.
|
|
99
|
-
*/
|
|
100
|
-
export const MachineProvisioningEventSchema: GenMessage<MachineProvisioningEvent> = /*@__PURE__*/
|
|
101
|
-
messageDesc(file_metalstack_infra_v2_event, 2);
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* ProvisioningEventType is a short description of a machine event.
|
|
105
|
-
*
|
|
106
|
-
* @generated from enum metalstack.infra.v2.ProvisioningEventType
|
|
107
|
-
*/
|
|
108
|
-
export enum ProvisioningEventType {
|
|
109
|
-
/**
|
|
110
|
-
* PROVISIONING_EVENT_TYPE_UNSPECIFIED is unspecified
|
|
111
|
-
*
|
|
112
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_UNSPECIFIED = 0;
|
|
113
|
-
*/
|
|
114
|
-
UNSPECIFIED = 0,
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* PROVISIONING_EVENT_TYPE_ALIVE means the machine has reported itself to the API not long ago
|
|
118
|
-
*
|
|
119
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_ALIVE = 1;
|
|
120
|
-
*/
|
|
121
|
-
ALIVE = 1,
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* PROVISIONING_EVENT_TYPE_CRASHED means an irregularity in the machine's lifecycle
|
|
125
|
-
*
|
|
126
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_CRASHED = 2;
|
|
127
|
-
*/
|
|
128
|
-
CRASHED = 2,
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* PROVISIONING_EVENT_TYPE_PXE_BOOTING is sent when an unprovisioned machine requests a boot image via PXE
|
|
132
|
-
*
|
|
133
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PXE_BOOTING = 3;
|
|
134
|
-
*/
|
|
135
|
-
PXE_BOOTING = 3,
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* PROVISIONING_EVENT_TYPE_PLANNED_REBOOT means the machine was scheduled for reboot
|
|
139
|
-
*
|
|
140
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PLANNED_REBOOT = 4;
|
|
141
|
-
*/
|
|
142
|
-
PLANNED_REBOOT = 4,
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* PROVISIONING_EVENT_TYPE_PREPARING means the metal-hammer has started
|
|
146
|
-
*
|
|
147
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PREPARING = 5;
|
|
148
|
-
*/
|
|
149
|
-
PREPARING = 5,
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* PROVISIONING_EVENT_TYPE_REGISTERING means the metal-hammer is attempting to register the machine at the API
|
|
153
|
-
*
|
|
154
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_REGISTERING = 6;
|
|
155
|
-
*/
|
|
156
|
-
REGISTERING = 6,
|
|
157
|
-
|
|
158
|
-
/**
|
|
159
|
-
* PROVISIONING_EVENT_TYPE_WAITING means the machine has successfully reached the state where it is waiting for allocation
|
|
160
|
-
*
|
|
161
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_WAITING = 7;
|
|
162
|
-
*/
|
|
163
|
-
WAITING = 7,
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* PROVISIONING_EVENT_TYPE_INSTALLING means the machine was allocated and the requested OS is being installed
|
|
167
|
-
*
|
|
168
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_INSTALLING = 8;
|
|
169
|
-
*/
|
|
170
|
-
INSTALLING = 8,
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL means the machine has successfully been installed and is now booting into the new OS
|
|
174
|
-
*
|
|
175
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL = 9;
|
|
176
|
-
*/
|
|
177
|
-
BOOTING_NEW_KERNEL = 9,
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* PROVISIONING_EVENT_TYPE_PHONED_HOME is sent periodically by an allocated machine to indicate its liveliness
|
|
181
|
-
*
|
|
182
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_PHONED_HOME = 10;
|
|
183
|
-
*/
|
|
184
|
-
PHONED_HOME = 10,
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM means the machine was freed and is about to return into the pool of waiting machines
|
|
188
|
-
*
|
|
189
|
-
* @generated from enum value: PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM = 11;
|
|
190
|
-
*/
|
|
191
|
-
MACHINE_RECLAIM = 11,
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* Describes the enum metalstack.infra.v2.ProvisioningEventType.
|
|
196
|
-
*/
|
|
197
|
-
export const ProvisioningEventTypeSchema: GenEnum<ProvisioningEventType> = /*@__PURE__*/
|
|
198
|
-
enumDesc(file_metalstack_infra_v2_event, 0);
|
|
199
|
-
|
|
200
69
|
/**
|
|
201
70
|
* EventService provides machine provisioning event logging operations.
|
|
202
71
|
*
|
|
@@ -35,7 +35,7 @@ export type SwitchServiceGetResponse = Message<"metalstack.infra.v2.SwitchServic
|
|
|
35
35
|
*
|
|
36
36
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
37
37
|
*/
|
|
38
|
-
switch?: Switch;
|
|
38
|
+
switch?: Switch | undefined;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Describes the message metalstack.infra.v2.SwitchServiceGetResponse.
|
|
@@ -53,7 +53,7 @@ export type SwitchServiceRegisterRequest = Message<"metalstack.infra.v2.SwitchSe
|
|
|
53
53
|
*
|
|
54
54
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
55
55
|
*/
|
|
56
|
-
switch?: Switch;
|
|
56
|
+
switch?: Switch | undefined;
|
|
57
57
|
};
|
|
58
58
|
/**
|
|
59
59
|
* Describes the message metalstack.infra.v2.SwitchServiceRegisterRequest.
|
|
@@ -71,7 +71,7 @@ export type SwitchServiceRegisterResponse = Message<"metalstack.infra.v2.SwitchS
|
|
|
71
71
|
*
|
|
72
72
|
* @generated from field: metalstack.api.v2.Switch switch = 1;
|
|
73
73
|
*/
|
|
74
|
-
switch?: Switch;
|
|
74
|
+
switch?: Switch | undefined;
|
|
75
75
|
};
|
|
76
76
|
/**
|
|
77
77
|
* Describes the message metalstack.infra.v2.SwitchServiceRegisterResponse.
|
|
@@ -95,13 +95,13 @@ export type SwitchServiceHeartbeatRequest = Message<"metalstack.infra.v2.SwitchS
|
|
|
95
95
|
*
|
|
96
96
|
* @generated from field: google.protobuf.Duration duration = 2;
|
|
97
97
|
*/
|
|
98
|
-
duration?: Duration;
|
|
98
|
+
duration?: Duration | undefined;
|
|
99
99
|
/**
|
|
100
100
|
* Error if any occurred during the sync
|
|
101
101
|
*
|
|
102
102
|
* @generated from field: optional string error = 3;
|
|
103
103
|
*/
|
|
104
|
-
error?: string;
|
|
104
|
+
error?: string | undefined;
|
|
105
105
|
/**
|
|
106
106
|
* PortStates maps port identifiers to the respective port's operational state
|
|
107
107
|
*
|
|
@@ -141,13 +141,13 @@ export type SwitchServiceHeartbeatResponse = Message<"metalstack.infra.v2.Switch
|
|
|
141
141
|
*
|
|
142
142
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync = 2;
|
|
143
143
|
*/
|
|
144
|
-
lastSync?: SwitchSync;
|
|
144
|
+
lastSync?: SwitchSync | undefined;
|
|
145
145
|
/**
|
|
146
146
|
* LastSyncError holds information about the last erroneous sync
|
|
147
147
|
*
|
|
148
148
|
* @generated from field: metalstack.api.v2.SwitchSync last_sync_error = 3;
|
|
149
149
|
*/
|
|
150
|
-
lastSyncError?: SwitchSync;
|
|
150
|
+
lastSyncError?: SwitchSync | undefined;
|
|
151
151
|
};
|
|
152
152
|
/**
|
|
153
153
|
* Describes the message metalstack.infra.v2.SwitchServiceHeartbeatResponse.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file metalstack/infra/v2/switch.proto (package metalstack.infra.v2, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|