15345: Add .../containers/kill management API to dispatcher.
[arvados.git] / lib / dispatchcloud / scheduler / interfaces.go
index 307807e32337257f14d02178cbd6e98de61f7be8..6e00911bd0391df4d2dbc744c5223fe0becec9f4 100644 (file)
@@ -38,7 +38,8 @@ type WorkerPool interface {
        Create(arvados.InstanceType) bool
        Shutdown(arvados.InstanceType) bool
        StartContainer(arvados.InstanceType, arvados.Container) bool
-       KillContainer(uuid, reason string)
+       KillContainer(uuid, reason string) bool
+       ForgetContainer(uuid string)
        Subscribe() <-chan struct{}
        Unsubscribe(<-chan struct{})
 }