Reorganize Swift package targets for network plugin. (#1615)

- Part of #1404.
- Updates containerization to 0.33.2.
- Reorganizes network plugin targets into:
  - `ContainerNetworkClient` - network plugin client and default types
- `ContainerNetworkServer` - separate protocols for `Network` which
manages the underlying virtual network, `NetworkService`, which takes a
network and implements the API, and an actor `NetworkHarness` that
marshals between the API and the XPC protocol. The service-harness
separation will help us ensure XPC protocol compatibility in both
directions as we evolve the plugin APIs.
- Removes `disableAllocator()` which is no longer used since #1545
switched over to using XPC connections between runtime and network
plugin instances to track whether a network has attached containers.
This commit is contained in:
J Logan
2026-05-28 15:26:31 -07:00
committed by GitHub
parent 445c90f927
commit c5a8d7a802
18 changed files with 195 additions and 176 deletions
+3 -2
View File
@@ -21,8 +21,9 @@ opts+=("--target" "ContainerAPIClient")
opts+=("--target" "ContainerRuntimeClient")
opts+=("--target" "ContainerRuntimeLinuxClient")
opts+=("--target" "ContainerRuntimeLinuxServer")
opts+=("--target" "ContainerNetworkService")
opts+=("--target" "ContainerNetworkServiceClient")
opts+=("--target" "ContainerNetworkClient")
opts+=("--target" "ContainerNetworkServer")
opts+=("--target" "ContainerNetworkVmnetServer")
opts+=("--target" "ContainerImagesService")
opts+=("--target" "ContainerImagesServiceClient")
opts+=("--target" "ContainerResource")