14325: Point to API details in interface doc comments.
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 25 Jan 2019 21:28:31 +0000 (16:28 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Fri, 25 Jan 2019 21:28:31 +0000 (16:28 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

lib/dispatchcloud/scheduler/interfaces.go

index e1b575c8a6dd46f1db2adedd9ecb274b479c533a..18cdc94fa52156ceab01d7dbe135d8db20029176 100644 (file)
@@ -13,7 +13,8 @@ import (
 )
 
 // A ContainerQueue is a set of containers that need to be started or
-// stopped. Implemented by container.Queue and test stubs.
+// stopped. Implemented by container.Queue and test stubs. See
+// container.Queue method documentation for details.
 type ContainerQueue interface {
        Entries() (entries map[string]container.QueueEnt, updated time.Time)
        Lock(uuid string) error
@@ -28,7 +29,7 @@ type ContainerQueue interface {
 
 // A WorkerPool asynchronously starts and stops worker VMs, and starts
 // and stops containers on them. Implemented by worker.Pool and test
-// stubs.
+// stubs. See worker.Pool method documentation for details.
 type WorkerPool interface {
        Running() map[string]time.Time
        Unallocated() map[arvados.InstanceType]int