Changing imports from bitbucket to gitlab.
This commit is contained in:
parent
cdbf60ea0d
commit
45f9efa578
20 changed files with 51 additions and 51 deletions
|
@ -6,7 +6,7 @@ _Elektron_ is a [Mesos](mesos.apache.org) framework that behaves as a playground
|
|||
However, in addition to being a scheduler, Elektron also takes advantage of tools such as [Performance Co-Pilot](http://pcp.io/) and [RAPL](https://01.org/blogs/2014/running-average-power-limit--rapl) to help contain the power envelope within defined thresholds, reduce peak power consumption, and also reduce total energy consumption. Elektron is able to leverage the Mesos-provided resource abstraction to allow different algorithms to decide how to consume resource offers made by a Mesos Master.
|
||||
|
||||
#Architecture
|
||||

|
||||

|
||||
|
||||
#Usage
|
||||
* [Pluggable Scheduling Policies](docs/SchedulingPolicies.md)
|
||||
|
@ -30,7 +30,7 @@ Please go through the [logging library doc](docs/Logging.md) to understand how t
|
|||
machine on which electron is launched for logging to work and PCP collector agents installed
|
||||
on the Mesos Agents**
|
||||
|
||||
Compatible with the following versions,
|
||||
Compatible with the following versions:
|
||||
|
||||
* Mesos 1.5.0
|
||||
* Go 1.9.7
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package def
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/constants"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/constants"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
"encoding/json"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
"github.com/pkg/errors"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package logging
|
||||
|
||||
import (
|
||||
logUtils "bitbucket.org/sunybingcloud/elektron/logging/utils"
|
||||
logUtils "gitlab.com/spdf/elektron/logging/utils"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package pcp
|
||||
|
||||
import (
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/schedulers"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/schedulers"
|
||||
"bufio"
|
||||
"fmt"
|
||||
"github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package pcp
|
||||
|
||||
import (
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/pcp"
|
||||
"bitbucket.org/sunybingcloud/elektron/rapl"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/pcp"
|
||||
"gitlab.com/spdf/elektron/rapl"
|
||||
"bufio"
|
||||
"container/ring"
|
||||
"fmt"
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package pcp
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/constants"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/pcp"
|
||||
"bitbucket.org/sunybingcloud/elektron/rapl"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities"
|
||||
"gitlab.com/spdf/elektron/constants"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/pcp"
|
||||
"gitlab.com/spdf/elektron/rapl"
|
||||
"gitlab.com/spdf/elektron/utilities"
|
||||
"bufio"
|
||||
"container/ring"
|
||||
"fmt"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package rapl
|
||||
|
||||
import (
|
||||
elekEnv "bitbucket.org/sunybingcloud/elektron/environment"
|
||||
elekEnv "gitlab.com/spdf/elektron/environment"
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/crypto/ssh"
|
||||
"os"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/pcp"
|
||||
"bitbucket.org/sunybingcloud/elektron/schedulers"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/pcp"
|
||||
"gitlab.com/spdf/elektron/schedulers"
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities/mesosUtils"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"log"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities/mesosUtils"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"log"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/schedUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/utilities"
|
||||
"gitlab.com/spdf/elektron/utilities/schedUtils"
|
||||
"bytes"
|
||||
"fmt"
|
||||
"github.com/golang/protobuf/proto"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities/mesosUtils"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"log"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"time"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities/mesosUtils"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
)
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/constants"
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils"
|
||||
"gitlab.com/spdf/elektron/constants"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/utilities"
|
||||
"gitlab.com/spdf/elektron/utilities/mesosUtils"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/pkg/errors"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
elecLogDef "gitlab.com/spdf/elektron/logging/def"
|
||||
"fmt"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package schedulers
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities"
|
||||
"gitlab.com/spdf/elektron/utilities"
|
||||
"encoding/json"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/pkg/errors"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package offerUtils
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/constants"
|
||||
"gitlab.com/spdf/elektron/constants"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
"log"
|
||||
"strings"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package schedUtils
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities"
|
||||
"log"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package utilities
|
||||
|
||||
import (
|
||||
"bitbucket.org/sunybingcloud/elektron/def"
|
||||
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils"
|
||||
"gitlab.com/spdf/elektron/def"
|
||||
"gitlab.com/spdf/elektron/utilities/offerUtils"
|
||||
"errors"
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
"sync"
|
||||
|
|
Reference in a new issue