diff --git a/def/task.go b/def/task.go
index 5075704..d36602a 100644
--- a/def/task.go
+++ b/def/task.go
@@ -24,8 +24,8 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"github.com/pkg/errors"
- "gitlab.com/spdf/elektron/constants"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/constants"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
type Task struct {
diff --git a/def/task_test.go b/def/task_test.go
index ffe3438..b6a3c4c 100644
--- a/def/task_test.go
+++ b/def/task_test.go
@@ -21,8 +21,8 @@ package def
import (
"fmt"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
+ "github.com/spdf/elektron/constants"
"github.com/stretchr/testify/assert"
- "gitlab.com/spdf/elektron/constants"
"reflect"
"testing"
)
diff --git a/go.mod b/go.mod
index 7b8446e..8534063 100644
--- a/go.mod
+++ b/go.mod
@@ -1,20 +1,24 @@
-module gitlab.com/spdf/elektron
+module github.com/spdf/elektron
go 1.12
require (
github.com/fatih/color v1.7.0
- github.com/gogo/protobuf v1.3.0 // indirect
+ github.com/gogo/protobuf v1.1.1 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
- github.com/golang/protobuf v1.3.2
- github.com/mash/gokmeans v0.0.0-20170215130432-ea22cff45f59
- github.com/mattn/go-colorable v0.1.2 // indirect
- github.com/mattn/go-isatty v0.0.9 // indirect
- github.com/mesos/mesos-go v0.0.10
- github.com/montanaflynn/stats v0.5.0
- github.com/pborman/uuid v1.2.0 // indirect
- github.com/pkg/errors v0.8.1
- github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da // indirect
+ github.com/golang/protobuf v1.2.0
+ github.com/google/uuid v1.0.0 // indirect
+ github.com/mash/gokmeans v0.0.0-20140614041449-8bbf08905a7e
+ github.com/mattn/go-colorable v0.0.9 // indirect
+ github.com/mattn/go-isatty v0.0.4 // indirect
+ github.com/mesos/mesos-go v0.0.8
+ github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe
+ github.com/pborman/uuid v0.0.0-20180906182336-adf5a7427709 // indirect
+ github.com/pkg/errors v0.8.0
+ github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec // indirect
github.com/stretchr/testify v1.4.0
- golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad
+ golang.org/x/crypto v0.0.0-20180927165925-5295e8364332
+ golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3 // indirect
+ golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect
+ golang.org/x/sys v0.0.0-20180928133829-e4b3c5e90611 // indirect
)
diff --git a/go.sum b/go.sum
index fd3a333..34cf853 100644
--- a/go.sum
+++ b/go.sum
@@ -1,47 +1,40 @@
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.7.0 h1:DkWD4oS2D8LGGgTQ6IvwJJXSL5Vp2ffcQg58nFV38Ys=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
-github.com/gogo/protobuf v1.3.0 h1:G8O7TerXerS4F6sx9OV7/nRfJdnXgHZu/S/7F2SN+UE=
-github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
+github.com/gogo/protobuf v1.1.1 h1:72R+M5VuhED/KujmZVcIquuo8mBgX4oVda//DQb3PXo=
+github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs=
-github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
+github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
+github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA=
github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
-github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/mash/gokmeans v0.0.0-20170215130432-ea22cff45f59 h1:C7rqeTVPDC/0QZFxfsMvS2y66WjMxQogK8/PTy9Jo0A=
-github.com/mash/gokmeans v0.0.0-20170215130432-ea22cff45f59/go.mod h1:nxv+mR7KuDZRAmEjsCFBQNtWcIty99qUn2Ycbgcns5c=
-github.com/mattn/go-colorable v0.1.2 h1:/bC9yWikZXAL9uJdulbSfyVNIR3n3trXl+v8+1sx8mU=
-github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
-github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
-github.com/mattn/go-isatty v0.0.9 h1:d5US/mDsogSGW37IV293h//ZFaeajb69h+EHFsv2xGg=
-github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
-github.com/mesos/mesos-go v0.0.10 h1:+M/7Zlkvw4MolkLvXHfj6hkDsLLHOOU54CmOkOUaNBc=
-github.com/mesos/mesos-go v0.0.10/go.mod h1:kPYCMQ9gsOXVAle1OsoY4I1+9kPu8GHkf88aV59fDr4=
-github.com/montanaflynn/stats v0.5.0 h1:2EkzeTSqBB4V4bJwWrt5gIIrZmpJBcoIRGS2kWLgzmk=
-github.com/montanaflynn/stats v0.5.0/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
-github.com/pborman/uuid v1.2.0 h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=
-github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
-github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
-github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
+github.com/mash/gokmeans v0.0.0-20140614041449-8bbf08905a7e h1:KrPVKjYg/ocMUbv39AQoIINny7acoDE0jghg+vTvTY4=
+github.com/mash/gokmeans v0.0.0-20140614041449-8bbf08905a7e/go.mod h1:nxv+mR7KuDZRAmEjsCFBQNtWcIty99qUn2Ycbgcns5c=
+github.com/mattn/go-colorable v0.0.9 h1:UVL0vNpWh04HeJXV0KLcaT7r06gOH2l4OW6ddYRUIY4=
+github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
+github.com/mattn/go-isatty v0.0.4 h1:bnP0vzxcAdeI1zdubAl5PjU6zsERjGZb7raWodagDYs=
+github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
+github.com/mesos/mesos-go v0.0.8 h1:hiAUHba+ycyZLxDiBUqKs91a0LbHZaAca988LzN19xM=
+github.com/mesos/mesos-go v0.0.8/go.mod h1:kPYCMQ9gsOXVAle1OsoY4I1+9kPu8GHkf88aV59fDr4=
+github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe h1:iruDEfMl2E6fbMZ9s0scYfZQ84/6SPL6zC8ACM2oIL0=
+github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc=
+github.com/pborman/uuid v0.0.0-20180906182336-adf5a7427709 h1:zNBQb37RGLmJybyMcs983HfUfpkw9OTFD9tbBfAViHE=
+github.com/pborman/uuid v0.0.0-20180906182336-adf5a7427709/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34=
+github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
+github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da h1:p3Vo3i64TCLY7gIfzeQaUJ+kppEO5WQG3cL8iE8tGHU=
-github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
+github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec h1:6ncX5ko6B9LntYM0YBRXkiSaZMmLYeZ/NWcmeB43mMY=
+github.com/samuel/go-zookeeper v0.0.0-20180130194729-c4fab1ac1bec/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
-golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad h1:5E5raQxcv+6CZ11RrBYQe5WRbUIWpScjh0kvHZkZIrQ=
-golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3 h1:0GoQqolDA55aaLxZyTzK/Y2ePZzZTUrRacwib7cNsYQ=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a h1:aYOabOQFp6Vj6W1F80affTUvO9UxmJRx8K0gsfABByQ=
-golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/crypto v0.0.0-20180927165925-5295e8364332 h1:hvQVdF6P9DX4OiKA5tpehlG6JsgzmyQiThG7q5Bn3UQ=
+golang.org/x/crypto v0.0.0-20180927165925-5295e8364332/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
+golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3 h1:dgd4x4kJt7G4k4m93AYLzM8Ni6h2qLTfh9n9vXJT3/0=
+golang.org/x/net v0.0.0-20180926154720-4dfa2610cdf3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
+golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
+golang.org/x/sys v0.0.0-20180928133829-e4b3c5e90611 h1:O33LKL7WyJgjN9CvxfTIomjIClbd/Kq86/iipowHQU0=
+golang.org/x/sys v0.0.0-20180928133829-e4b3c5e90611/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
diff --git a/logging/def/logger.go b/logging/def/logger.go
index db5dfe6..0b6cb86 100644
--- a/logging/def/logger.go
+++ b/logging/def/logger.go
@@ -30,13 +30,13 @@ type LoggerDriver struct {
func newLogger() *LoggerDriver {
logger := &LoggerDriver{
allowedMessageTypes: map[LogMessageType]bool{
- ERROR: true,
- GENERAL: true,
- WARNING: true,
- SCHED_TRACE: true,
- SUCCESS: true,
- PCP: true,
- SPS: true,
+ ERROR: true,
+ GENERAL: true,
+ WARNING: true,
+ SCHED_TRACE: true,
+ SUCCESS: true,
+ PCP: true,
+ SPS: true,
CLSFN_TASKDIST_OVERHEAD: true,
SCHED_WINDOW: true,
},
diff --git a/logging/def/loggerFactory.go b/logging/def/loggerFactory.go
index df48d27..573ecc8 100644
--- a/logging/def/loggerFactory.go
+++ b/logging/def/loggerFactory.go
@@ -22,7 +22,7 @@ import (
"strings"
"time"
- logUtils "gitlab.com/spdf/elektron/logging/utils"
+ logUtils "github.com/spdf/elektron/logging/utils"
)
// Names of different loggers
diff --git a/pcp/pcp.go b/pcp/pcp.go
index 7f57eda..99ee8c5 100644
--- a/pcp/pcp.go
+++ b/pcp/pcp.go
@@ -25,7 +25,7 @@ import (
"syscall"
"time"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
)
func Start(quit chan struct{}, logging *bool, logMType chan elekLogDef.LogMessageType,
diff --git a/powerCap/extrema.go b/powerCap/extrema.go
index d769de3..b5295bf 100644
--- a/powerCap/extrema.go
+++ b/powerCap/extrema.go
@@ -30,9 +30,9 @@ import (
"syscall"
"time"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
- "gitlab.com/spdf/elektron/pcp"
- "gitlab.com/spdf/elektron/rapl"
+ elekLogDef "github.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/pcp"
+ "github.com/spdf/elektron/rapl"
)
func StartPCPLogAndExtremaDynamicCap(quit chan struct{}, logging *bool, hiThreshold, loThreshold float64,
diff --git a/powerCap/progressiveExtrema.go b/powerCap/progressiveExtrema.go
index ab57840..1a667a6 100644
--- a/powerCap/progressiveExtrema.go
+++ b/powerCap/progressiveExtrema.go
@@ -31,11 +31,11 @@ import (
"syscall"
"time"
- "gitlab.com/spdf/elektron/constants"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
- "gitlab.com/spdf/elektron/pcp"
- "gitlab.com/spdf/elektron/rapl"
- "gitlab.com/spdf/elektron/utilities"
+ "github.com/spdf/elektron/constants"
+ elekLogDef "github.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/pcp"
+ "github.com/spdf/elektron/rapl"
+ "github.com/spdf/elektron/utilities"
)
func round(num float64) int {
diff --git a/rapl/cap.go b/rapl/cap.go
index af5379d..6af3fa4 100644
--- a/rapl/cap.go
+++ b/rapl/cap.go
@@ -23,7 +23,7 @@ import (
"strconv"
"github.com/pkg/errors"
- elekEnv "gitlab.com/spdf/elektron/environment"
+ elekEnv "github.com/spdf/elektron/environment"
"golang.org/x/crypto/ssh"
"strings"
)
diff --git a/scheduler.go b/scheduler.go
index 121563b..a98bc6b 100644
--- a/scheduler.go
+++ b/scheduler.go
@@ -16,7 +16,7 @@
// along with Elektron. If not, see .
//
-package main // import gitlab.com/spdf/elektron
+package main // import github.com/spdf/elektron
import (
"flag"
@@ -30,11 +30,11 @@ import (
"github.com/golang/protobuf/proto"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
- "gitlab.com/spdf/elektron/pcp"
- "gitlab.com/spdf/elektron/powerCap"
- "gitlab.com/spdf/elektron/schedulers"
+ "github.com/spdf/elektron/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/pcp"
+ "github.com/spdf/elektron/powerCap"
+ "github.com/spdf/elektron/schedulers"
)
var master = flag.String("master", "", "Location of leading Mesos master -- :")
diff --git a/schedulers/MaxGreedyMins.go b/schedulers/MaxGreedyMins.go
index 8fdd605..cf24ff0 100644
--- a/schedulers/MaxGreedyMins.go
+++ b/schedulers/MaxGreedyMins.go
@@ -23,9 +23,9 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities/mesosUtils"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities/mesosUtils"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
// Decides if to take an offer or not
diff --git a/schedulers/MaxMin.go b/schedulers/MaxMin.go
index 55c45e8..bc80beb 100644
--- a/schedulers/MaxMin.go
+++ b/schedulers/MaxMin.go
@@ -23,9 +23,9 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities/mesosUtils"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities/mesosUtils"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
// Decides if to take an offer or not
diff --git a/schedulers/base.go b/schedulers/base.go
index 816284d..d30bb53 100644
--- a/schedulers/base.go
+++ b/schedulers/base.go
@@ -29,10 +29,10 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"github.com/mesos/mesos-go/api/v0/mesosutil"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
- "gitlab.com/spdf/elektron/utilities"
- "gitlab.com/spdf/elektron/utilities/schedUtils"
+ "github.com/spdf/elektron/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/utilities"
+ "github.com/spdf/elektron/utilities/schedUtils"
)
type BaseScheduler struct {
diff --git a/schedulers/bin-packing.go b/schedulers/bin-packing.go
index 446de65..2e0b6c8 100644
--- a/schedulers/bin-packing.go
+++ b/schedulers/bin-packing.go
@@ -23,9 +23,9 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities/mesosUtils"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities/mesosUtils"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
// Decides if to take an offer or not
diff --git a/schedulers/electronScheduler.go b/schedulers/electronScheduler.go
index 76b8d20..1701c84 100644
--- a/schedulers/electronScheduler.go
+++ b/schedulers/electronScheduler.go
@@ -23,8 +23,8 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
)
// Implements mesos scheduler.
diff --git a/schedulers/first-fit.go b/schedulers/first-fit.go
index c4e9f2b..4e92f2f 100644
--- a/schedulers/first-fit.go
+++ b/schedulers/first-fit.go
@@ -21,9 +21,9 @@ package schedulers
import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities/mesosUtils"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities/mesosUtils"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
// Decides if to take an offer or not
diff --git a/schedulers/helpers.go b/schedulers/helpers.go
index a1d6fdb..362b05e 100644
--- a/schedulers/helpers.go
+++ b/schedulers/helpers.go
@@ -23,11 +23,11 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
"github.com/pkg/errors"
- "gitlab.com/spdf/elektron/constants"
- "gitlab.com/spdf/elektron/def"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
- "gitlab.com/spdf/elektron/utilities"
- "gitlab.com/spdf/elektron/utilities/mesosUtils"
+ "github.com/spdf/elektron/constants"
+ "github.com/spdf/elektron/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/utilities"
+ "github.com/spdf/elektron/utilities/mesosUtils"
"log"
)
diff --git a/schedulers/schedPolicy.go b/schedulers/schedPolicy.go
index 617f8f4..61e5fc8 100644
--- a/schedulers/schedPolicy.go
+++ b/schedulers/schedPolicy.go
@@ -25,8 +25,8 @@ import (
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler"
- "gitlab.com/spdf/elektron/def"
- elekLogDef "gitlab.com/spdf/elektron/logging/def"
+ "github.com/spdf/elektron/def"
+ elekLogDef "github.com/spdf/elektron/logging/def"
)
type SchedPolicyContext interface {
diff --git a/schedulers/store.go b/schedulers/store.go
index c4505f7..27c4c26 100644
--- a/schedulers/store.go
+++ b/schedulers/store.go
@@ -25,7 +25,7 @@ import (
sched "github.com/mesos/mesos-go/api/v0/scheduler"
"github.com/pkg/errors"
- "gitlab.com/spdf/elektron/utilities"
+ "github.com/spdf/elektron/utilities"
)
// Names of different scheduling policies.
diff --git a/utilities/offerUtils/offerUtils.go b/utilities/offerUtils/offerUtils.go
index 51b74e1..9eb6adb 100644
--- a/utilities/offerUtils/offerUtils.go
+++ b/utilities/offerUtils/offerUtils.go
@@ -23,7 +23,7 @@ import (
"strings"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
- "gitlab.com/spdf/elektron/constants"
+ "github.com/spdf/elektron/constants"
)
func OfferAgg(offer *mesos.Offer) (float64, float64, float64) {
diff --git a/utilities/schedUtils/schedUtils.go b/utilities/schedUtils/schedUtils.go
index e54c47e..23d7707 100644
--- a/utilities/schedUtils/schedUtils.go
+++ b/utilities/schedUtils/schedUtils.go
@@ -21,8 +21,8 @@ package schedUtils
import (
"log"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities"
)
// Criteria for resizing the scheduling window.
diff --git a/utilities/trackResourceUsage.go b/utilities/trackResourceUsage.go
index 7b6309c..83981ec 100644
--- a/utilities/trackResourceUsage.go
+++ b/utilities/trackResourceUsage.go
@@ -23,8 +23,8 @@ import (
"sync"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
- "gitlab.com/spdf/elektron/def"
- "gitlab.com/spdf/elektron/utilities/offerUtils"
+ "github.com/spdf/elektron/def"
+ "github.com/spdf/elektron/utilities/offerUtils"
)
type TrackResourceUsage struct {