Rename location.

This commit is contained in:
Travis Reeder
2017-05-15 11:00:15 -07:00
parent c0b381eb96
commit 4b9bba352d
106 changed files with 274 additions and 273 deletions

View File

@@ -13,9 +13,9 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/kumokit/functions/api/models"
"github.com/kumokit/functions/api/runner/task"
"github.com/kumokit/functions/api/runner/common"
"github.com/treeder/functions/api/models"
"github.com/treeder/functions/api/runner/task"
"github.com/treeder/functions/api/runner/common"
)
func getTask(ctx context.Context, url string) (*models.Task, error) {

View File

@@ -15,9 +15,9 @@ import (
"github.com/Sirupsen/logrus"
"github.com/gin-gonic/gin"
"github.com/kumokit/functions/api/models"
"github.com/kumokit/functions/api/mqs"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/models"
"github.com/treeder/functions/api/mqs"
"github.com/treeder/functions/api/runner/task"
)
func setLogBuffer() *bytes.Buffer {

View File

@@ -15,7 +15,7 @@
package common
import (
"github.com/kumokit/functions/api/runner/common/stats"
"github.com/treeder/functions/api/runner/common/stats"
)
// An Environment is a long lived object that carries around 'configuration'

View File

@@ -32,9 +32,9 @@ import (
manifest "github.com/docker/distribution/manifest/schema1"
"github.com/fsouza/go-dockerclient"
"github.com/heroku/docker-registry-client/registry"
"github.com/kumokit/functions/api/runner/common"
"github.com/kumokit/functions/api/runner/common/stats"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/common"
"github.com/treeder/functions/api/runner/common/stats"
"github.com/treeder/functions/api/runner/drivers"
)
const hubURL = "https://registry.hub.docker.com"

View File

@@ -28,7 +28,7 @@ import (
"github.com/Sirupsen/logrus"
"github.com/fsouza/go-dockerclient"
"github.com/kumokit/functions/api/runner/common"
"github.com/treeder/functions/api/runner/common"
)
const (

View File

@@ -23,8 +23,8 @@ import (
"testing"
"time"
"github.com/kumokit/functions/api/runner/common"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/common"
"github.com/treeder/functions/api/runner/drivers"
"github.com/vrischmann/envconfig"
)

View File

@@ -18,7 +18,7 @@ import (
"context"
"fmt"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/drivers"
)
func New() drivers.Driver {

View File

@@ -6,14 +6,14 @@ import (
"context"
"github.com/Sirupsen/logrus"
"github.com/kumokit/functions/api/runner/common"
"github.com/treeder/functions/api/runner/common"
)
type FuncLogger interface {
Writer(context.Context, string, string, string, string) io.Writer
}
// FuncLogger reads STDERR output from a container and outputs it in a parseable structured log format, see: https://github.com/kumokit/functions/issues/76
// FuncLogger reads STDERR output from a container and outputs it in a parseable structured log format, see: https://github.com/treeder/functions/issues/76
type DefaultFuncLogger struct {
}

View File

@@ -5,7 +5,7 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/kumokit/functions/api/runner/common"
"github.com/treeder/functions/api/runner/common"
)
type MetricLogger interface {

View File

@@ -3,7 +3,7 @@ package protocol
import (
"context"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/runner/task"
)
// DefaultProtocol is the protocol used by cold-containers

View File

@@ -5,8 +5,8 @@ import (
"errors"
"io"
"github.com/kumokit/functions/api/models"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/models"
"github.com/treeder/functions/api/runner/task"
)
var errInvalidProtocol = errors.New("Invalid Protocol")

View File

@@ -10,8 +10,8 @@ import (
"net/http/httputil"
"time"
"github.com/kumokit/functions/api/models"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/models"
"github.com/treeder/functions/api/runner/task"
)
// HTTPProtocol converts stdin/stdout streams into HTTP/1.1 compliant

View File

@@ -14,12 +14,12 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/kumokit/functions/api/runner/common"
"github.com/kumokit/functions/api/runner/drivers"
driverscommon "github.com/kumokit/functions/api/runner/drivers"
"github.com/kumokit/functions/api/runner/drivers/docker"
"github.com/kumokit/functions/api/runner/drivers/mock"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/runner/common"
"github.com/treeder/functions/api/runner/drivers"
driverscommon "github.com/treeder/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/drivers/docker"
"github.com/treeder/functions/api/runner/drivers/mock"
"github.com/treeder/functions/api/runner/task"
)
type Runner struct {

View File

@@ -8,8 +8,8 @@ import (
"testing"
"time"
"github.com/kumokit/functions/api/models"
"github.com/kumokit/functions/api/runner/task"
"github.com/treeder/functions/api/models"
"github.com/treeder/functions/api/runner/task"
)
func TestRunnerHello(t *testing.T) {

View File

@@ -11,8 +11,8 @@ import (
"github.com/docker/docker/cli/config/configfile"
docker "github.com/fsouza/go-dockerclient"
"github.com/kumokit/functions/api/runner/task"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/task"
"github.com/treeder/functions/api/runner/drivers"
)
var registries dockerRegistries

View File

@@ -5,7 +5,7 @@ import (
"io"
"time"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/drivers"
)
type Config struct {

View File

@@ -9,9 +9,9 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/kumokit/functions/api/runner/protocol"
"github.com/kumokit/functions/api/runner/task"
"github.com/kumokit/functions/api/runner/drivers"
"github.com/treeder/functions/api/runner/protocol"
"github.com/treeder/functions/api/runner/task"
"github.com/treeder/functions/api/runner/drivers"
)
// hot functions - theory of operation