@lansweeper/scanningconfig-grpc 0.3.4 → 0.3.5
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 +4 -0
- package/Lansweeper.ScanningConfig.GRPC.csproj +3 -3
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.deps.json +2 -2
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/bin/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/bin/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/scanningconfig_grpc_pb.d.ts +17 -0
- package/gen-proto/scanningconfig_grpc_pb.js +33 -0
- package/gen-proto/scanningconfig_pb.d.ts +80 -0
- package/gen-proto/scanningconfig_pb.js +615 -0
- package/generated-go/scanningconfig.pb.go +1278 -981
- package/generated-go/scanningconfig_grpc.pb.go +38 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfo.cs +3 -3
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.AssemblyInfoInputs.cache +1 -1
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Debug/net6.0/Lansweeper.ScanningConfig.GRPC.pdb +0 -0
- package/obj/Debug/net6.0/proto/Scanningconfig.cs +969 -238
- package/obj/Debug/net6.0/proto/ScanningconfigGrpc.cs +32 -0
- package/obj/Debug/net6.0/ref/Lansweeper.ScanningConfig.GRPC.dll +0 -0
- package/obj/Lansweeper.ScanningConfig.GRPC.csproj.nuget.dgspec.json +1 -1
- package/obj/project.assets.json +1 -1
- package/obj/project.nuget.cache +1 -1
- package/package.json +2 -2
- package/proto/scanningconfig.proto +22 -1
|
@@ -21,6 +21,7 @@ const _ = grpc.SupportPackageIsVersion8
|
|
|
21
21
|
const (
|
|
22
22
|
ScanningConfigService_GetConfigurationsBySource_FullMethodName = "/lansweeper.scanningconfig.v1.ScanningConfigService/GetConfigurationsBySource"
|
|
23
23
|
ScanningConfigService_DeleteAction_FullMethodName = "/lansweeper.scanningconfig.v1.ScanningConfigService/DeleteAction"
|
|
24
|
+
ScanningConfigService_GetExclusionsBySource_FullMethodName = "/lansweeper.scanningconfig.v1.ScanningConfigService/GetExclusionsBySource"
|
|
24
25
|
)
|
|
25
26
|
|
|
26
27
|
// ScanningConfigServiceClient is the client API for ScanningConfigService service.
|
|
@@ -29,6 +30,7 @@ const (
|
|
|
29
30
|
type ScanningConfigServiceClient interface {
|
|
30
31
|
GetConfigurationsBySource(ctx context.Context, in *GetConfigurationsBySourceRequest, opts ...grpc.CallOption) (*GetConfigurationsBySourceResponse, error)
|
|
31
32
|
DeleteAction(ctx context.Context, in *DeleteActionRequest, opts ...grpc.CallOption) (*DeleteActionResponse, error)
|
|
33
|
+
GetExclusionsBySource(ctx context.Context, in *GetExclusionsBySourceRequest, opts ...grpc.CallOption) (*GetExclusionsBySourceResponse, error)
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
type scanningConfigServiceClient struct {
|
|
@@ -59,12 +61,23 @@ func (c *scanningConfigServiceClient) DeleteAction(ctx context.Context, in *Dele
|
|
|
59
61
|
return out, nil
|
|
60
62
|
}
|
|
61
63
|
|
|
64
|
+
func (c *scanningConfigServiceClient) GetExclusionsBySource(ctx context.Context, in *GetExclusionsBySourceRequest, opts ...grpc.CallOption) (*GetExclusionsBySourceResponse, error) {
|
|
65
|
+
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
66
|
+
out := new(GetExclusionsBySourceResponse)
|
|
67
|
+
err := c.cc.Invoke(ctx, ScanningConfigService_GetExclusionsBySource_FullMethodName, in, out, cOpts...)
|
|
68
|
+
if err != nil {
|
|
69
|
+
return nil, err
|
|
70
|
+
}
|
|
71
|
+
return out, nil
|
|
72
|
+
}
|
|
73
|
+
|
|
62
74
|
// ScanningConfigServiceServer is the server API for ScanningConfigService service.
|
|
63
75
|
// All implementations must embed UnimplementedScanningConfigServiceServer
|
|
64
76
|
// for forward compatibility
|
|
65
77
|
type ScanningConfigServiceServer interface {
|
|
66
78
|
GetConfigurationsBySource(context.Context, *GetConfigurationsBySourceRequest) (*GetConfigurationsBySourceResponse, error)
|
|
67
79
|
DeleteAction(context.Context, *DeleteActionRequest) (*DeleteActionResponse, error)
|
|
80
|
+
GetExclusionsBySource(context.Context, *GetExclusionsBySourceRequest) (*GetExclusionsBySourceResponse, error)
|
|
68
81
|
mustEmbedUnimplementedScanningConfigServiceServer()
|
|
69
82
|
}
|
|
70
83
|
|
|
@@ -78,6 +91,9 @@ func (UnimplementedScanningConfigServiceServer) GetConfigurationsBySource(contex
|
|
|
78
91
|
func (UnimplementedScanningConfigServiceServer) DeleteAction(context.Context, *DeleteActionRequest) (*DeleteActionResponse, error) {
|
|
79
92
|
return nil, status.Errorf(codes.Unimplemented, "method DeleteAction not implemented")
|
|
80
93
|
}
|
|
94
|
+
func (UnimplementedScanningConfigServiceServer) GetExclusionsBySource(context.Context, *GetExclusionsBySourceRequest) (*GetExclusionsBySourceResponse, error) {
|
|
95
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetExclusionsBySource not implemented")
|
|
96
|
+
}
|
|
81
97
|
func (UnimplementedScanningConfigServiceServer) mustEmbedUnimplementedScanningConfigServiceServer() {}
|
|
82
98
|
|
|
83
99
|
// UnsafeScanningConfigServiceServer may be embedded to opt out of forward compatibility for this service.
|
|
@@ -127,6 +143,24 @@ func _ScanningConfigService_DeleteAction_Handler(srv interface{}, ctx context.Co
|
|
|
127
143
|
return interceptor(ctx, in, info, handler)
|
|
128
144
|
}
|
|
129
145
|
|
|
146
|
+
func _ScanningConfigService_GetExclusionsBySource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
147
|
+
in := new(GetExclusionsBySourceRequest)
|
|
148
|
+
if err := dec(in); err != nil {
|
|
149
|
+
return nil, err
|
|
150
|
+
}
|
|
151
|
+
if interceptor == nil {
|
|
152
|
+
return srv.(ScanningConfigServiceServer).GetExclusionsBySource(ctx, in)
|
|
153
|
+
}
|
|
154
|
+
info := &grpc.UnaryServerInfo{
|
|
155
|
+
Server: srv,
|
|
156
|
+
FullMethod: ScanningConfigService_GetExclusionsBySource_FullMethodName,
|
|
157
|
+
}
|
|
158
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
159
|
+
return srv.(ScanningConfigServiceServer).GetExclusionsBySource(ctx, req.(*GetExclusionsBySourceRequest))
|
|
160
|
+
}
|
|
161
|
+
return interceptor(ctx, in, info, handler)
|
|
162
|
+
}
|
|
163
|
+
|
|
130
164
|
// ScanningConfigService_ServiceDesc is the grpc.ServiceDesc for ScanningConfigService service.
|
|
131
165
|
// It's only intended for direct use with grpc.RegisterService,
|
|
132
166
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -142,6 +176,10 @@ var ScanningConfigService_ServiceDesc = grpc.ServiceDesc{
|
|
|
142
176
|
MethodName: "DeleteAction",
|
|
143
177
|
Handler: _ScanningConfigService_DeleteAction_Handler,
|
|
144
178
|
},
|
|
179
|
+
{
|
|
180
|
+
MethodName: "GetExclusionsBySource",
|
|
181
|
+
Handler: _ScanningConfigService_GetExclusionsBySource_Handler,
|
|
182
|
+
},
|
|
145
183
|
},
|
|
146
184
|
Streams: []grpc.StreamDesc{},
|
|
147
185
|
Metadata: "scanningconfig.proto",
|
|
@@ -14,11 +14,11 @@ using System.Reflection;
|
|
|
14
14
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
15
15
|
[assembly: System.Reflection.AssemblyCopyrightAttribute("Lansweeper")]
|
|
16
16
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("More Info : http://www.lansweeper.com")]
|
|
17
|
-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.
|
|
18
|
-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.3.
|
|
17
|
+
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.3.4")]
|
|
18
|
+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.3.4")]
|
|
19
19
|
[assembly: System.Reflection.AssemblyProductAttribute("Lansweeper ScanningConfig model/proto")]
|
|
20
20
|
[assembly: System.Reflection.AssemblyTitleAttribute("Lansweeper.ScanningConfig.GRPC")]
|
|
21
|
-
[assembly: System.Reflection.AssemblyVersionAttribute("0.3.
|
|
21
|
+
[assembly: System.Reflection.AssemblyVersionAttribute("0.3.4.0")]
|
|
22
22
|
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Lansweeper/lansweeperapis")]
|
|
23
23
|
|
|
24
24
|
// Generated by the MSBuild WriteCodeFragment class.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e9284c7061266b6bc701800ae9209cf52f46bc43
|
|
Binary file
|
|
Binary file
|