X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..514fb685c9d835441e0911d9b9499952b6787095:/lib/dispatchcloud/scheduler/interfaces.go diff --git a/lib/dispatchcloud/scheduler/interfaces.go b/lib/dispatchcloud/scheduler/interfaces.go index 18cdc94fa5..6e00911bd0 100644 --- a/lib/dispatchcloud/scheduler/interfaces.go +++ b/lib/dispatchcloud/scheduler/interfaces.go @@ -38,7 +38,8 @@ type WorkerPool interface { Create(arvados.InstanceType) bool Shutdown(arvados.InstanceType) bool StartContainer(arvados.InstanceType, arvados.Container) bool - KillContainer(uuid string) + KillContainer(uuid, reason string) bool + ForgetContainer(uuid string) Subscribe() <-chan struct{} Unsubscribe(<-chan struct{}) }