Atomic install: a plugin whose validation fails AFTER it registered some hooks must NOT leak those hooks into the live registry. The staging buffer is the atomicity boundary.
| 353 | // some hooks must NOT leak those hooks into the live registry. The |
| 354 | // staging buffer is the atomicity boundary. |
| 355 | type partiallyRegisterThenFailPlugin struct{} |
| 356 | |
| 357 | func (partiallyRegisterThenFailPlugin) Name() string { return "partial" } |
| 358 | func (partiallyRegisterThenFailPlugin) Version() string { return "1.0.0" } |
nothing calls this directly
no outgoing calls
no test coverage detected