Repository navigation
Closed
Description
Feature or enhancement request details
We need to evolve our resource management in the client, API server, and plugins so that we have a maintainable codebase with good compatibility properties for 1.0.
The plan is to tackle this resource by resource, starting with Network. I've put together a checklist which will likely evolve as we work through this first resource:
- Conformance to ManagedResource (Create ResourceLabels and use for ManagedResource, NetworkConfiguration. #1360, Use NetworkResource for network management in API server. #1421)
- Client is an instance with init(servicePrefix:) that performs syntactic validation on all input (API: Rename to NetworkClient, client as instance. #1405)
- Client create(config:) -> FooResource (Use NetworkResource for network management in API server. #1421)
- Client list() -> [FooResource] (Use NetworkResource for network management in API server. #1421)
- Client get(id:) -> FooResource (Use NetworkResource for network management in API server. #1421)
- Client delete(id:) (Use NetworkResource for network management in API server. #1421)
- Server sorts list() results by resource ID (Sort networks by ID in API server
list(). #1487) - Align JSON output with container resource shape (Align JSON output with shape for container resource. #1611)
- Reorganize network plugin targets into generic client and server types, and vmnet-specific types (Reorganize Swift package targets for network plugin. #1615)
- Eliminate redundant NetworkState/NetworkStatus types. (Remove XPC compatibility code, simplify network model. #1616)
- ListDisplayable conformance for CLI presentation in ContainerCommands (Use NetworkResource for network management in API server. #1421)
- No use of URL where FilePath should be used (Switch NetworksService, VolumesService, EntityStore to FilePath. #1493)
- 1.0 deprecation comments on all deprecated code (example:
DEPRECATED 0.12.0 — retained for down-revision compatibility, remove in 1.0.0) (Remove XPC compatibility code, simplify network model. #1616)
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
facet/networkWork related to networking and DNS
Activity
API: Rename to NetworkClient, client as instance. (#1405)
- Part of apple#1404.
- Part of apple#1404.
Use NetworkResource for network management in API server. (#1421)
Use NetworkResource for network management in API server. (apple#1421)
Align JSON output with shape for container resource. (#1611)
Use ManagedResource for volumes in CLI commands (#1607)
Reorganize Swift package targets for network plugin.
Reorganize Swift package targets for network plugin. (#1615)
API: Rename to NetworkClient, client as instance. (apple#1405)
Use NetworkResource for network management in API server. (apple#1421)
Align JSON output with shape for container resource. (apple#1611)
Use ManagedResource for volumes in CLI commands (apple#1607)
Reorganize Swift package targets for network plugin. (apple#1615)