Overview
A restart mutation for containers is currently missing while start/stop/update/etc exist.
Technical Approach
Add a restart mutation to the docker mutations resolver and a restart method in the docker service that calls the native container.restart() and use the existing patterns for the start, stop, and unpause mutations.
Scope
Timeline & Impact
- Estimated time needed: 1-2 hours
- Potential impacts: Only adds new mutation. No changes to existing mutations or behaviors
Pre-submission Checklist
Overview
A restart mutation for containers is currently missing while start/stop/update/etc exist.
Technical Approach
Add a restart mutation to the docker mutations resolver and a restart method in the docker service that calls the native container.restart() and use the existing patterns for the start, stop, and unpause mutations.
Scope
Timeline & Impact
Pre-submission Checklist