@@ -163,6 +163,11 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextClientProtoc
163
163
_ request: Com_Apple_Containerization_Sandbox_V3_KillRequest ,
164
164
callOptions: CallOptions ?
165
165
) -> UnaryCall < Com_Apple_Containerization_Sandbox_V3_KillRequest , Com_Apple_Containerization_Sandbox_V3_KillResponse >
166
+
167
+ func notifyFileSystemEvent(
168
+ _ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
169
+ callOptions: CallOptions ?
170
+ ) -> UnaryCall < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse >
166
171
}
167
172
168
173
extension Com_Apple_Containerization_Sandbox_V3_SandboxContextClientProtocol {
@@ -638,6 +643,24 @@ extension Com_Apple_Containerization_Sandbox_V3_SandboxContextClientProtocol {
638
643
interceptors: self . interceptors? . makeKillInterceptors ( ) ?? [ ]
639
644
)
640
645
}
646
+
647
+ /// Notify guest of filesystem events from host.
648
+ ///
649
+ /// - Parameters:
650
+ /// - request: Request to send to NotifyFileSystemEvent.
651
+ /// - callOptions: Call options.
652
+ /// - Returns: A `UnaryCall` with futures for the metadata, status and response.
653
+ public func notifyFileSystemEvent(
654
+ _ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
655
+ callOptions: CallOptions ? = nil
656
+ ) -> UnaryCall < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > {
657
+ return self . makeUnaryCall (
658
+ path: Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. notifyFileSystemEvent. path,
659
+ request: request,
660
+ callOptions: callOptions ?? self . defaultCallOptions,
661
+ interceptors: self . interceptors? . makeNotifyFileSystemEventInterceptors ( ) ?? [ ]
662
+ )
663
+ }
641
664
}
642
665
643
666
@available ( * , deprecated)
@@ -832,6 +855,11 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncClientP
832
855
_ request: Com_Apple_Containerization_Sandbox_V3_KillRequest ,
833
856
callOptions: CallOptions ?
834
857
) -> GRPCAsyncUnaryCall < Com_Apple_Containerization_Sandbox_V3_KillRequest , Com_Apple_Containerization_Sandbox_V3_KillResponse >
858
+
859
+ func makeNotifyFileSystemEventCall(
860
+ _ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
861
+ callOptions: CallOptions ?
862
+ ) -> GRPCAsyncUnaryCall < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse >
835
863
}
836
864
837
865
@available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
@@ -1155,6 +1183,18 @@ extension Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncClientProtoco
1155
1183
interceptors: self . interceptors? . makeKillInterceptors ( ) ?? [ ]
1156
1184
)
1157
1185
}
1186
+
1187
+ public func makeNotifyFileSystemEventCall(
1188
+ _ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
1189
+ callOptions: CallOptions ? = nil
1190
+ ) -> GRPCAsyncUnaryCall < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > {
1191
+ return self . makeAsyncUnaryCall (
1192
+ path: Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. notifyFileSystemEvent. path,
1193
+ request: request,
1194
+ callOptions: callOptions ?? self . defaultCallOptions,
1195
+ interceptors: self . interceptors? . makeNotifyFileSystemEventInterceptors ( ) ?? [ ]
1196
+ )
1197
+ }
1158
1198
}
1159
1199
1160
1200
@available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
@@ -1470,6 +1510,18 @@ extension Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncClientProtoco
1470
1510
interceptors: self . interceptors? . makeKillInterceptors ( ) ?? [ ]
1471
1511
)
1472
1512
}
1513
+
1514
+ public func notifyFileSystemEvent(
1515
+ _ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
1516
+ callOptions: CallOptions ? = nil
1517
+ ) async throws -> Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse {
1518
+ return try await self . performAsyncUnaryCall (
1519
+ path: Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. notifyFileSystemEvent. path,
1520
+ request: request,
1521
+ callOptions: callOptions ?? self . defaultCallOptions,
1522
+ interceptors: self . interceptors? . makeNotifyFileSystemEventInterceptors ( ) ?? [ ]
1523
+ )
1524
+ }
1473
1525
}
1474
1526
1475
1527
@available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
@@ -1568,6 +1620,9 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextClientInterc
1568
1620
1569
1621
/// - Returns: Interceptors to use when invoking 'kill'.
1570
1622
func makeKillInterceptors( ) -> [ ClientInterceptor < Com_Apple_Containerization_Sandbox_V3_KillRequest , Com_Apple_Containerization_Sandbox_V3_KillResponse > ]
1623
+
1624
+ /// - Returns: Interceptors to use when invoking 'notifyFileSystemEvent'.
1625
+ func makeNotifyFileSystemEventInterceptors( ) -> [ ClientInterceptor < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > ]
1571
1626
}
1572
1627
1573
1628
public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata {
@@ -1601,6 +1656,7 @@ public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata {
1601
1656
Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. configureHosts,
1602
1657
Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. sync,
1603
1658
Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. kill,
1659
+ Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata . Methods. notifyFileSystemEvent,
1604
1660
]
1605
1661
)
1606
1662
@@ -1760,6 +1816,12 @@ public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextClientMetadata {
1760
1816
path: " /com.apple.containerization.sandbox.v3.SandboxContext/Kill " ,
1761
1817
type: GRPCCallType . unary
1762
1818
)
1819
+
1820
+ public static let notifyFileSystemEvent = GRPCMethodDescriptor (
1821
+ name: " NotifyFileSystemEvent " ,
1822
+ path: " /com.apple.containerization.sandbox.v3.SandboxContext/NotifyFileSystemEvent " ,
1823
+ type: GRPCCallType . unary
1824
+ )
1763
1825
}
1764
1826
}
1765
1827
@@ -1847,6 +1909,9 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextProvider: Ca
1847
1909
1848
1910
/// Send a signal to a process via the PID.
1849
1911
func kill( request: Com_Apple_Containerization_Sandbox_V3_KillRequest , context: StatusOnlyCallContext ) -> EventLoopFuture < Com_Apple_Containerization_Sandbox_V3_KillResponse >
1912
+
1913
+ /// Notify guest of filesystem events from host.
1914
+ func notifyFileSystemEvent( request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , context: StatusOnlyCallContext ) -> EventLoopFuture < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse >
1850
1915
}
1851
1916
1852
1917
extension Com_Apple_Containerization_Sandbox_V3_SandboxContextProvider {
@@ -2095,6 +2160,15 @@ extension Com_Apple_Containerization_Sandbox_V3_SandboxContextProvider {
2095
2160
userFunction: self . kill ( request: context: )
2096
2161
)
2097
2162
2163
+ case " NotifyFileSystemEvent " :
2164
+ return UnaryServerHandler (
2165
+ context: context,
2166
+ requestDeserializer: ProtobufDeserializer < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest > ( ) ,
2167
+ responseSerializer: ProtobufSerializer < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > ( ) ,
2168
+ interceptors: self . interceptors? . makeNotifyFileSystemEventInterceptors ( ) ?? [ ] ,
2169
+ userFunction: self . notifyFileSystemEvent ( request: context: )
2170
+ )
2171
+
2098
2172
default :
2099
2173
return nil
2100
2174
}
@@ -2265,6 +2339,12 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncProvide
2265
2339
request: Com_Apple_Containerization_Sandbox_V3_KillRequest ,
2266
2340
context: GRPCAsyncServerCallContext
2267
2341
) async throws -> Com_Apple_Containerization_Sandbox_V3_KillResponse
2342
+
2343
+ /// Notify guest of filesystem events from host.
2344
+ func notifyFileSystemEvent(
2345
+ request: Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest ,
2346
+ context: GRPCAsyncServerCallContext
2347
+ ) async throws -> Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse
2268
2348
}
2269
2349
2270
2350
@available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
@@ -2520,6 +2600,15 @@ extension Com_Apple_Containerization_Sandbox_V3_SandboxContextAsyncProvider {
2520
2600
wrapping: { try await self . kill ( request: $0, context: $1) }
2521
2601
)
2522
2602
2603
+ case " NotifyFileSystemEvent " :
2604
+ return GRPCAsyncServerHandler (
2605
+ context: context,
2606
+ requestDeserializer: ProtobufDeserializer < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest > ( ) ,
2607
+ responseSerializer: ProtobufSerializer < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > ( ) ,
2608
+ interceptors: self . interceptors? . makeNotifyFileSystemEventInterceptors ( ) ?? [ ] ,
2609
+ wrapping: { try await self . notifyFileSystemEvent ( request: $0, context: $1) }
2610
+ )
2611
+
2523
2612
default :
2524
2613
return nil
2525
2614
}
@@ -2631,6 +2720,10 @@ public protocol Com_Apple_Containerization_Sandbox_V3_SandboxContextServerInterc
2631
2720
/// - Returns: Interceptors to use when handling 'kill'.
2632
2721
/// Defaults to calling `self.makeInterceptors()`.
2633
2722
func makeKillInterceptors( ) -> [ ServerInterceptor < Com_Apple_Containerization_Sandbox_V3_KillRequest , Com_Apple_Containerization_Sandbox_V3_KillResponse > ]
2723
+
2724
+ /// - Returns: Interceptors to use when handling 'notifyFileSystemEvent'.
2725
+ /// Defaults to calling `self.makeInterceptors()`.
2726
+ func makeNotifyFileSystemEventInterceptors( ) -> [ ServerInterceptor < Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventRequest , Com_Apple_Containerization_Sandbox_V3_NotifyFileSystemEventResponse > ]
2634
2727
}
2635
2728
2636
2729
public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata {
@@ -2664,6 +2757,7 @@ public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata {
2664
2757
Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata . Methods. configureHosts,
2665
2758
Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata . Methods. sync,
2666
2759
Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata . Methods. kill,
2760
+ Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata . Methods. notifyFileSystemEvent,
2667
2761
]
2668
2762
)
2669
2763
@@ -2823,5 +2917,11 @@ public enum Com_Apple_Containerization_Sandbox_V3_SandboxContextServerMetadata {
2823
2917
path: " /com.apple.containerization.sandbox.v3.SandboxContext/Kill " ,
2824
2918
type: GRPCCallType . unary
2825
2919
)
2920
+
2921
+ public static let notifyFileSystemEvent = GRPCMethodDescriptor (
2922
+ name: " NotifyFileSystemEvent " ,
2923
+ path: " /com.apple.containerization.sandbox.v3.SandboxContext/NotifyFileSystemEvent " ,
2924
+ type: GRPCCallType . unary
2925
+ )
2826
2926
}
2827
2927
}
0 commit comments