Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTimeoutContext ¶
GetTimeoutContext returns a context for a single call to a backend. It keeps the values of ctx -- the trace and the baggage of the request that caused the call -- and puts the usual timeout on it.
func WriteContext ¶ added in v0.2.0
WriteContext keeps the values of ctx but drops its cancellation.
Creating, updating and deleting an instance each write to the deployment backend and to the database, and the two have to agree. A request cancelled between the two writes would leave a container running that no instance points at, or an instance whose container is gone -- which the startup restore then recreates. The read paths stay cancellable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.