@lansweeper/installer-grpc 0.0.5 → 0.0.6
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/CHANGELOG.md +8 -0
- package/gen-proto/installer_grpc_pb.js +7 -1
- package/generated-go/installer_grpc.pb.go +91 -91
- package/generated-go/installer_grpc_grpc.pb.go +17 -10
- package/go.mod +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.0.6](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/installer-grpc@0.0.5...@lansweeper/installer-grpc@0.0.6) (2024-07-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @lansweeper/installer-grpc
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [0.0.5](https://github.com/Lansweeper/lansweeperapis/compare/@lansweeper/installer-grpc@0.0.4...@lansweeper/installer-grpc@0.0.5) (2022-11-29)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @lansweeper/installer-grpc
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = (function() {
|
|
17
|
+
if (this) { return this; }
|
|
18
|
+
if (typeof window !== 'undefined') { return window; }
|
|
19
|
+
if (typeof global !== 'undefined') { return global; }
|
|
20
|
+
if (typeof self !== 'undefined') { return self; }
|
|
21
|
+
return Function('return this')();
|
|
22
|
+
}.call(null));
|
|
17
23
|
|
|
18
24
|
goog.exportSymbol('proto.lansweeper.installer.v1.GenerateInstallerRequest', null, global);
|
|
19
25
|
goog.exportSymbol('proto.lansweeper.installer.v1.GenerateInstallerResponse', null, global);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-go v1.
|
|
4
|
-
// protoc v3.
|
|
5
|
-
// source:
|
|
3
|
+
// protoc-gen-go v1.34.2
|
|
4
|
+
// protoc v3.19.1
|
|
5
|
+
// source: installer_grpc.proto
|
|
6
6
|
|
|
7
7
|
package generated_go
|
|
8
8
|
|
|
@@ -32,7 +32,7 @@ type GenerateInstallerRequest struct {
|
|
|
32
32
|
func (x *GenerateInstallerRequest) Reset() {
|
|
33
33
|
*x = GenerateInstallerRequest{}
|
|
34
34
|
if protoimpl.UnsafeEnabled {
|
|
35
|
-
mi := &
|
|
35
|
+
mi := &file_installer_grpc_proto_msgTypes[0]
|
|
36
36
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
37
37
|
ms.StoreMessageInfo(mi)
|
|
38
38
|
}
|
|
@@ -45,7 +45,7 @@ func (x *GenerateInstallerRequest) String() string {
|
|
|
45
45
|
func (*GenerateInstallerRequest) ProtoMessage() {}
|
|
46
46
|
|
|
47
47
|
func (x *GenerateInstallerRequest) ProtoReflect() protoreflect.Message {
|
|
48
|
-
mi := &
|
|
48
|
+
mi := &file_installer_grpc_proto_msgTypes[0]
|
|
49
49
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
50
50
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
51
51
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -58,7 +58,7 @@ func (x *GenerateInstallerRequest) ProtoReflect() protoreflect.Message {
|
|
|
58
58
|
|
|
59
59
|
// Deprecated: Use GenerateInstallerRequest.ProtoReflect.Descriptor instead.
|
|
60
60
|
func (*GenerateInstallerRequest) Descriptor() ([]byte, []int) {
|
|
61
|
-
return
|
|
61
|
+
return file_installer_grpc_proto_rawDescGZIP(), []int{0}
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
func (x *GenerateInstallerRequest) GetClientId() string {
|
|
@@ -86,7 +86,7 @@ type GenerateInstallerResponse struct {
|
|
|
86
86
|
func (x *GenerateInstallerResponse) Reset() {
|
|
87
87
|
*x = GenerateInstallerResponse{}
|
|
88
88
|
if protoimpl.UnsafeEnabled {
|
|
89
|
-
mi := &
|
|
89
|
+
mi := &file_installer_grpc_proto_msgTypes[1]
|
|
90
90
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
91
91
|
ms.StoreMessageInfo(mi)
|
|
92
92
|
}
|
|
@@ -99,7 +99,7 @@ func (x *GenerateInstallerResponse) String() string {
|
|
|
99
99
|
func (*GenerateInstallerResponse) ProtoMessage() {}
|
|
100
100
|
|
|
101
101
|
func (x *GenerateInstallerResponse) ProtoReflect() protoreflect.Message {
|
|
102
|
-
mi := &
|
|
102
|
+
mi := &file_installer_grpc_proto_msgTypes[1]
|
|
103
103
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
104
104
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
105
105
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -112,7 +112,7 @@ func (x *GenerateInstallerResponse) ProtoReflect() protoreflect.Message {
|
|
|
112
112
|
|
|
113
113
|
// Deprecated: Use GenerateInstallerResponse.ProtoReflect.Descriptor instead.
|
|
114
114
|
func (*GenerateInstallerResponse) Descriptor() ([]byte, []int) {
|
|
115
|
-
return
|
|
115
|
+
return file_installer_grpc_proto_rawDescGZIP(), []int{1}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
func (x *GenerateInstallerResponse) GetSuccess() bool {
|
|
@@ -128,6 +128,7 @@ type NullableString struct {
|
|
|
128
128
|
unknownFields protoimpl.UnknownFields
|
|
129
129
|
|
|
130
130
|
// Types that are assignable to Kind:
|
|
131
|
+
//
|
|
131
132
|
// *NullableString_Data
|
|
132
133
|
Kind isNullableString_Kind `protobuf_oneof:"kind"`
|
|
133
134
|
}
|
|
@@ -135,7 +136,7 @@ type NullableString struct {
|
|
|
135
136
|
func (x *NullableString) Reset() {
|
|
136
137
|
*x = NullableString{}
|
|
137
138
|
if protoimpl.UnsafeEnabled {
|
|
138
|
-
mi := &
|
|
139
|
+
mi := &file_installer_grpc_proto_msgTypes[2]
|
|
139
140
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
140
141
|
ms.StoreMessageInfo(mi)
|
|
141
142
|
}
|
|
@@ -148,7 +149,7 @@ func (x *NullableString) String() string {
|
|
|
148
149
|
func (*NullableString) ProtoMessage() {}
|
|
149
150
|
|
|
150
151
|
func (x *NullableString) ProtoReflect() protoreflect.Message {
|
|
151
|
-
mi := &
|
|
152
|
+
mi := &file_installer_grpc_proto_msgTypes[2]
|
|
152
153
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
153
154
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
154
155
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -161,7 +162,7 @@ func (x *NullableString) ProtoReflect() protoreflect.Message {
|
|
|
161
162
|
|
|
162
163
|
// Deprecated: Use NullableString.ProtoReflect.Descriptor instead.
|
|
163
164
|
func (*NullableString) Descriptor() ([]byte, []int) {
|
|
164
|
-
return
|
|
165
|
+
return file_installer_grpc_proto_rawDescGZIP(), []int{2}
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
func (m *NullableString) GetKind() isNullableString_Kind {
|
|
@@ -199,7 +200,7 @@ type GetInstallerUrlRequest struct {
|
|
|
199
200
|
func (x *GetInstallerUrlRequest) Reset() {
|
|
200
201
|
*x = GetInstallerUrlRequest{}
|
|
201
202
|
if protoimpl.UnsafeEnabled {
|
|
202
|
-
mi := &
|
|
203
|
+
mi := &file_installer_grpc_proto_msgTypes[3]
|
|
203
204
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
204
205
|
ms.StoreMessageInfo(mi)
|
|
205
206
|
}
|
|
@@ -212,7 +213,7 @@ func (x *GetInstallerUrlRequest) String() string {
|
|
|
212
213
|
func (*GetInstallerUrlRequest) ProtoMessage() {}
|
|
213
214
|
|
|
214
215
|
func (x *GetInstallerUrlRequest) ProtoReflect() protoreflect.Message {
|
|
215
|
-
mi := &
|
|
216
|
+
mi := &file_installer_grpc_proto_msgTypes[3]
|
|
216
217
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
217
218
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
218
219
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -225,7 +226,7 @@ func (x *GetInstallerUrlRequest) ProtoReflect() protoreflect.Message {
|
|
|
225
226
|
|
|
226
227
|
// Deprecated: Use GetInstallerUrlRequest.ProtoReflect.Descriptor instead.
|
|
227
228
|
func (*GetInstallerUrlRequest) Descriptor() ([]byte, []int) {
|
|
228
|
-
return
|
|
229
|
+
return file_installer_grpc_proto_rawDescGZIP(), []int{3}
|
|
229
230
|
}
|
|
230
231
|
|
|
231
232
|
func (x *GetInstallerUrlRequest) GetClientId() *NullableString {
|
|
@@ -247,7 +248,7 @@ type GetInstallerUrlResponse struct {
|
|
|
247
248
|
func (x *GetInstallerUrlResponse) Reset() {
|
|
248
249
|
*x = GetInstallerUrlResponse{}
|
|
249
250
|
if protoimpl.UnsafeEnabled {
|
|
250
|
-
mi := &
|
|
251
|
+
mi := &file_installer_grpc_proto_msgTypes[4]
|
|
251
252
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
252
253
|
ms.StoreMessageInfo(mi)
|
|
253
254
|
}
|
|
@@ -260,7 +261,7 @@ func (x *GetInstallerUrlResponse) String() string {
|
|
|
260
261
|
func (*GetInstallerUrlResponse) ProtoMessage() {}
|
|
261
262
|
|
|
262
263
|
func (x *GetInstallerUrlResponse) ProtoReflect() protoreflect.Message {
|
|
263
|
-
mi := &
|
|
264
|
+
mi := &file_installer_grpc_proto_msgTypes[4]
|
|
264
265
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
265
266
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
266
267
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -273,7 +274,7 @@ func (x *GetInstallerUrlResponse) ProtoReflect() protoreflect.Message {
|
|
|
273
274
|
|
|
274
275
|
// Deprecated: Use GetInstallerUrlResponse.ProtoReflect.Descriptor instead.
|
|
275
276
|
func (*GetInstallerUrlResponse) Descriptor() ([]byte, []int) {
|
|
276
|
-
return
|
|
277
|
+
return file_installer_grpc_proto_rawDescGZIP(), []int{4}
|
|
277
278
|
}
|
|
278
279
|
|
|
279
280
|
func (x *GetInstallerUrlResponse) GetUrl() string {
|
|
@@ -290,77 +291,76 @@ func (x *GetInstallerUrlResponse) GetSuccess() bool {
|
|
|
290
291
|
return false
|
|
291
292
|
}
|
|
292
293
|
|
|
293
|
-
var
|
|
294
|
-
|
|
295
|
-
var
|
|
296
|
-
0x0a,
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74,
|
|
329
|
-
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
|
|
330
|
-
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
331
|
-
0x73, 0x65, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
332
|
-
0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x2f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65,
|
|
333
|
-
0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76,
|
|
334
|
-
0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72,
|
|
335
|
-
0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77,
|
|
294
|
+
var File_installer_grpc_proto protoreflect.FileDescriptor
|
|
295
|
+
|
|
296
|
+
var file_installer_grpc_proto_rawDesc = []byte{
|
|
297
|
+
0x0a, 0x14, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x67, 0x72, 0x70, 0x63,
|
|
298
|
+
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70,
|
|
299
|
+
0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22,
|
|
300
|
+
0x5c, 0x0a, 0x18, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
301
|
+
0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x63,
|
|
302
|
+
0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
303
|
+
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65,
|
|
304
|
+
0x6e, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
305
|
+
0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x35, 0x0a,
|
|
306
|
+
0x19, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c,
|
|
307
|
+
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75,
|
|
308
|
+
0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63,
|
|
309
|
+
0x63, 0x65, 0x73, 0x73, 0x22, 0x2e, 0x0a, 0x0e, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65,
|
|
310
|
+
0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
|
311
|
+
0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x0a, 0x04,
|
|
312
|
+
0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5e, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
313
|
+
0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44,
|
|
314
|
+
0x0a, 0x09, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
315
|
+
0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69,
|
|
316
|
+
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x75, 0x6c, 0x6c,
|
|
317
|
+
0x61, 0x62, 0x6c, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x08, 0x63, 0x6c, 0x69, 0x65,
|
|
318
|
+
0x6e, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
319
|
+
0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
320
|
+
0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
|
|
321
|
+
0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
322
|
+
0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x32, 0x88, 0x02, 0x0a, 0x10,
|
|
323
|
+
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
324
|
+
0x12, 0x7c, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74,
|
|
325
|
+
0x61, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70,
|
|
326
|
+
0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
|
|
327
|
+
0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65,
|
|
328
|
+
0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77,
|
|
336
329
|
0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e,
|
|
337
|
-
0x76, 0x31, 0x2e, 0x47, 0x65,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
330
|
+
0x76, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
331
|
+
0x6c, 0x6c, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x76,
|
|
332
|
+
0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72,
|
|
333
|
+
0x6c, 0x12, 0x2f, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x69,
|
|
334
|
+
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49,
|
|
335
|
+
0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
336
|
+
0x73, 0x74, 0x1a, 0x30, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e,
|
|
337
|
+
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
|
|
338
|
+
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
339
|
+
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65,
|
|
340
|
+
0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
var (
|
|
344
|
-
|
|
345
|
-
|
|
344
|
+
file_installer_grpc_proto_rawDescOnce sync.Once
|
|
345
|
+
file_installer_grpc_proto_rawDescData = file_installer_grpc_proto_rawDesc
|
|
346
346
|
)
|
|
347
347
|
|
|
348
|
-
func
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
func file_installer_grpc_proto_rawDescGZIP() []byte {
|
|
349
|
+
file_installer_grpc_proto_rawDescOnce.Do(func() {
|
|
350
|
+
file_installer_grpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_installer_grpc_proto_rawDescData)
|
|
351
351
|
})
|
|
352
|
-
return
|
|
352
|
+
return file_installer_grpc_proto_rawDescData
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
var
|
|
356
|
-
var
|
|
355
|
+
var file_installer_grpc_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
356
|
+
var file_installer_grpc_proto_goTypes = []any{
|
|
357
357
|
(*GenerateInstallerRequest)(nil), // 0: lansweeper.installer.v1.GenerateInstallerRequest
|
|
358
358
|
(*GenerateInstallerResponse)(nil), // 1: lansweeper.installer.v1.GenerateInstallerResponse
|
|
359
359
|
(*NullableString)(nil), // 2: lansweeper.installer.v1.NullableString
|
|
360
360
|
(*GetInstallerUrlRequest)(nil), // 3: lansweeper.installer.v1.GetInstallerUrlRequest
|
|
361
361
|
(*GetInstallerUrlResponse)(nil), // 4: lansweeper.installer.v1.GetInstallerUrlResponse
|
|
362
362
|
}
|
|
363
|
-
var
|
|
363
|
+
var file_installer_grpc_proto_depIdxs = []int32{
|
|
364
364
|
2, // 0: lansweeper.installer.v1.GetInstallerUrlRequest.client_id:type_name -> lansweeper.installer.v1.NullableString
|
|
365
365
|
0, // 1: lansweeper.installer.v1.InstallerService.GenerateInstaller:input_type -> lansweeper.installer.v1.GenerateInstallerRequest
|
|
366
366
|
3, // 2: lansweeper.installer.v1.InstallerService.GetInstallerUrl:input_type -> lansweeper.installer.v1.GetInstallerUrlRequest
|
|
@@ -373,13 +373,13 @@ var file_proto_installer_grpc_proto_depIdxs = []int32{
|
|
|
373
373
|
0, // [0:1] is the sub-list for field type_name
|
|
374
374
|
}
|
|
375
375
|
|
|
376
|
-
func init() {
|
|
377
|
-
func
|
|
378
|
-
if
|
|
376
|
+
func init() { file_installer_grpc_proto_init() }
|
|
377
|
+
func file_installer_grpc_proto_init() {
|
|
378
|
+
if File_installer_grpc_proto != nil {
|
|
379
379
|
return
|
|
380
380
|
}
|
|
381
381
|
if !protoimpl.UnsafeEnabled {
|
|
382
|
-
|
|
382
|
+
file_installer_grpc_proto_msgTypes[0].Exporter = func(v any, i int) any {
|
|
383
383
|
switch v := v.(*GenerateInstallerRequest); i {
|
|
384
384
|
case 0:
|
|
385
385
|
return &v.state
|
|
@@ -391,7 +391,7 @@ func file_proto_installer_grpc_proto_init() {
|
|
|
391
391
|
return nil
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
|
|
394
|
+
file_installer_grpc_proto_msgTypes[1].Exporter = func(v any, i int) any {
|
|
395
395
|
switch v := v.(*GenerateInstallerResponse); i {
|
|
396
396
|
case 0:
|
|
397
397
|
return &v.state
|
|
@@ -403,7 +403,7 @@ func file_proto_installer_grpc_proto_init() {
|
|
|
403
403
|
return nil
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
|
|
406
|
+
file_installer_grpc_proto_msgTypes[2].Exporter = func(v any, i int) any {
|
|
407
407
|
switch v := v.(*NullableString); i {
|
|
408
408
|
case 0:
|
|
409
409
|
return &v.state
|
|
@@ -415,7 +415,7 @@ func file_proto_installer_grpc_proto_init() {
|
|
|
415
415
|
return nil
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
|
|
418
|
+
file_installer_grpc_proto_msgTypes[3].Exporter = func(v any, i int) any {
|
|
419
419
|
switch v := v.(*GetInstallerUrlRequest); i {
|
|
420
420
|
case 0:
|
|
421
421
|
return &v.state
|
|
@@ -427,7 +427,7 @@ func file_proto_installer_grpc_proto_init() {
|
|
|
427
427
|
return nil
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
|
|
430
|
+
file_installer_grpc_proto_msgTypes[4].Exporter = func(v any, i int) any {
|
|
431
431
|
switch v := v.(*GetInstallerUrlResponse); i {
|
|
432
432
|
case 0:
|
|
433
433
|
return &v.state
|
|
@@ -440,25 +440,25 @@ func file_proto_installer_grpc_proto_init() {
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
file_installer_grpc_proto_msgTypes[2].OneofWrappers = []any{
|
|
444
444
|
(*NullableString_Data)(nil),
|
|
445
445
|
}
|
|
446
446
|
type x struct{}
|
|
447
447
|
out := protoimpl.TypeBuilder{
|
|
448
448
|
File: protoimpl.DescBuilder{
|
|
449
449
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
450
|
-
RawDescriptor:
|
|
450
|
+
RawDescriptor: file_installer_grpc_proto_rawDesc,
|
|
451
451
|
NumEnums: 0,
|
|
452
452
|
NumMessages: 5,
|
|
453
453
|
NumExtensions: 0,
|
|
454
454
|
NumServices: 1,
|
|
455
455
|
},
|
|
456
|
-
GoTypes:
|
|
457
|
-
DependencyIndexes:
|
|
458
|
-
MessageInfos:
|
|
456
|
+
GoTypes: file_installer_grpc_proto_goTypes,
|
|
457
|
+
DependencyIndexes: file_installer_grpc_proto_depIdxs,
|
|
458
|
+
MessageInfos: file_installer_grpc_proto_msgTypes,
|
|
459
459
|
}.Build()
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
460
|
+
File_installer_grpc_proto = out.File
|
|
461
|
+
file_installer_grpc_proto_rawDesc = nil
|
|
462
|
+
file_installer_grpc_proto_goTypes = nil
|
|
463
|
+
file_installer_grpc_proto_depIdxs = nil
|
|
464
464
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// - protoc-gen-go-grpc v1.
|
|
4
|
-
// - protoc v3.
|
|
5
|
-
// source:
|
|
3
|
+
// - protoc-gen-go-grpc v1.4.0
|
|
4
|
+
// - protoc v3.19.1
|
|
5
|
+
// source: installer_grpc.proto
|
|
6
6
|
|
|
7
7
|
package generated_go
|
|
8
8
|
|
|
@@ -15,8 +15,13 @@ import (
|
|
|
15
15
|
|
|
16
16
|
// This is a compile-time assertion to ensure that this generated file
|
|
17
17
|
// is compatible with the grpc package it is being compiled against.
|
|
18
|
-
// Requires gRPC-Go v1.
|
|
19
|
-
const _ = grpc.
|
|
18
|
+
// Requires gRPC-Go v1.62.0 or later.
|
|
19
|
+
const _ = grpc.SupportPackageIsVersion8
|
|
20
|
+
|
|
21
|
+
const (
|
|
22
|
+
InstallerService_GenerateInstaller_FullMethodName = "/lansweeper.installer.v1.InstallerService/GenerateInstaller"
|
|
23
|
+
InstallerService_GetInstallerUrl_FullMethodName = "/lansweeper.installer.v1.InstallerService/GetInstallerUrl"
|
|
24
|
+
)
|
|
20
25
|
|
|
21
26
|
// InstallerServiceClient is the client API for InstallerService service.
|
|
22
27
|
//
|
|
@@ -35,8 +40,9 @@ func NewInstallerServiceClient(cc grpc.ClientConnInterface) InstallerServiceClie
|
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
func (c *installerServiceClient) GenerateInstaller(ctx context.Context, in *GenerateInstallerRequest, opts ...grpc.CallOption) (*GenerateInstallerResponse, error) {
|
|
43
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
38
44
|
out := new(GenerateInstallerResponse)
|
|
39
|
-
err := c.cc.Invoke(ctx,
|
|
45
|
+
err := c.cc.Invoke(ctx, InstallerService_GenerateInstaller_FullMethodName, in, out, cOpts...)
|
|
40
46
|
if err != nil {
|
|
41
47
|
return nil, err
|
|
42
48
|
}
|
|
@@ -44,8 +50,9 @@ func (c *installerServiceClient) GenerateInstaller(ctx context.Context, in *Gene
|
|
|
44
50
|
}
|
|
45
51
|
|
|
46
52
|
func (c *installerServiceClient) GetInstallerUrl(ctx context.Context, in *GetInstallerUrlRequest, opts ...grpc.CallOption) (*GetInstallerUrlResponse, error) {
|
|
53
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
47
54
|
out := new(GetInstallerUrlResponse)
|
|
48
|
-
err := c.cc.Invoke(ctx,
|
|
55
|
+
err := c.cc.Invoke(ctx, InstallerService_GetInstallerUrl_FullMethodName, in, out, cOpts...)
|
|
49
56
|
if err != nil {
|
|
50
57
|
return nil, err
|
|
51
58
|
}
|
|
@@ -94,7 +101,7 @@ func _InstallerService_GenerateInstaller_Handler(srv interface{}, ctx context.Co
|
|
|
94
101
|
}
|
|
95
102
|
info := &grpc.UnaryServerInfo{
|
|
96
103
|
Server: srv,
|
|
97
|
-
FullMethod:
|
|
104
|
+
FullMethod: InstallerService_GenerateInstaller_FullMethodName,
|
|
98
105
|
}
|
|
99
106
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
100
107
|
return srv.(InstallerServiceServer).GenerateInstaller(ctx, req.(*GenerateInstallerRequest))
|
|
@@ -112,7 +119,7 @@ func _InstallerService_GetInstallerUrl_Handler(srv interface{}, ctx context.Cont
|
|
|
112
119
|
}
|
|
113
120
|
info := &grpc.UnaryServerInfo{
|
|
114
121
|
Server: srv,
|
|
115
|
-
FullMethod:
|
|
122
|
+
FullMethod: InstallerService_GetInstallerUrl_FullMethodName,
|
|
116
123
|
}
|
|
117
124
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
118
125
|
return srv.(InstallerServiceServer).GetInstallerUrl(ctx, req.(*GetInstallerUrlRequest))
|
|
@@ -137,5 +144,5 @@ var InstallerService_ServiceDesc = grpc.ServiceDesc{
|
|
|
137
144
|
},
|
|
138
145
|
},
|
|
139
146
|
Streams: []grpc.StreamDesc{},
|
|
140
|
-
Metadata: "
|
|
147
|
+
Metadata: "installer_grpc.proto",
|
|
141
148
|
}
|
package/go.mod
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/installer-grpc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Installer grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@grpc/grpc-js": "^1.6.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "54606018a9f3383fa2d298cdc3ead3652f2f6c7d"
|
|
19
19
|
}
|