add initial queue to runner

This commit is contained in:
Pedro Nasser
2016-09-09 00:54:00 -03:00
parent f461312553
commit 5d50721db1
3 changed files with 180 additions and 21 deletions

View File

@@ -3,14 +3,18 @@ package runner
import (
"io"
"golang.org/x/net/context"
dockercli "github.com/fsouza/go-dockerclient"
"github.com/iron-io/titan/runner/drivers"
"github.com/iron-io/titan/runner/tasker"
)
type containerTask struct {
auth tasker.Auther
cfg *Config
ctx context.Context
auth tasker.Auther
cfg *Config
canRun chan bool
}
func (t *containerTask) Command() string { return "" }