Changing imports from bitbucket to gitlab.

This commit is contained in:
Renan DelValle 2018-09-30 17:56:14 -07:00
parent cdbf60ea0d
commit 45f9efa578
No known key found for this signature in database
GPG key ID: 3895800E03F17676
20 changed files with 51 additions and 51 deletions

View file

@ -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. 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 #Architecture
![](https://bitbucket.org/sunybingcloud/elektron/src/spsCherryPick/docs/ElekArch.png) ![](docs/ElekArch.png)
#Usage #Usage
* [Pluggable Scheduling Policies](docs/SchedulingPolicies.md) * [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 machine on which electron is launched for logging to work and PCP collector agents installed
on the Mesos Agents** on the Mesos Agents**
Compatible with the following versions, Compatible with the following versions:
* Mesos 1.5.0 * Mesos 1.5.0
* Go 1.9.7 * Go 1.9.7

View file

@ -1,8 +1,8 @@
package def package def
import ( import (
"bitbucket.org/sunybingcloud/elektron/constants" "gitlab.com/spdf/elektron/constants"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
"encoding/json" "encoding/json"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"github.com/pkg/errors" "github.com/pkg/errors"

View file

@ -1,7 +1,7 @@
package logging package logging
import ( import (
logUtils "bitbucket.org/sunybingcloud/elektron/logging/utils" logUtils "gitlab.com/spdf/elektron/logging/utils"
"strings" "strings"
"time" "time"
) )

View file

@ -1,8 +1,8 @@
package pcp package pcp
import ( import (
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/schedulers" "gitlab.com/spdf/elektron/schedulers"
"bufio" "bufio"
"fmt" "fmt"
"github.com/mesos/mesos-go/api/v0/scheduler" "github.com/mesos/mesos-go/api/v0/scheduler"

View file

@ -1,9 +1,9 @@
package pcp package pcp
import ( import (
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/pcp" "gitlab.com/spdf/elektron/pcp"
"bitbucket.org/sunybingcloud/elektron/rapl" "gitlab.com/spdf/elektron/rapl"
"bufio" "bufio"
"container/ring" "container/ring"
"fmt" "fmt"

View file

@ -1,11 +1,11 @@
package pcp package pcp
import ( import (
"bitbucket.org/sunybingcloud/elektron/constants" "gitlab.com/spdf/elektron/constants"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/pcp" "gitlab.com/spdf/elektron/pcp"
"bitbucket.org/sunybingcloud/elektron/rapl" "gitlab.com/spdf/elektron/rapl"
"bitbucket.org/sunybingcloud/elektron/utilities" "gitlab.com/spdf/elektron/utilities"
"bufio" "bufio"
"container/ring" "container/ring"
"fmt" "fmt"

View file

@ -1,7 +1,7 @@
package rapl package rapl
import ( import (
elekEnv "bitbucket.org/sunybingcloud/elektron/environment" elekEnv "gitlab.com/spdf/elektron/environment"
"github.com/pkg/errors" "github.com/pkg/errors"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
"os" "os"

View file

@ -1,10 +1,10 @@
package main package main
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/pcp" "gitlab.com/spdf/elektron/pcp"
"bitbucket.org/sunybingcloud/elektron/schedulers" "gitlab.com/spdf/elektron/schedulers"
"flag" "flag"
"fmt" "fmt"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"

View file

@ -1,9 +1,9 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils" "gitlab.com/spdf/elektron/utilities/mesosUtils"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"log" "log"

View file

@ -1,9 +1,9 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils" "gitlab.com/spdf/elektron/utilities/mesosUtils"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"log" "log"

View file

@ -1,10 +1,10 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/utilities" "gitlab.com/spdf/elektron/utilities"
"bitbucket.org/sunybingcloud/elektron/utilities/schedUtils" "gitlab.com/spdf/elektron/utilities/schedUtils"
"bytes" "bytes"
"fmt" "fmt"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"

View file

@ -1,9 +1,9 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils" "gitlab.com/spdf/elektron/utilities/mesosUtils"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"log" "log"

View file

@ -1,8 +1,8 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"time" "time"

View file

@ -1,9 +1,9 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils" "gitlab.com/spdf/elektron/utilities/mesosUtils"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
) )

View file

@ -1,11 +1,11 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/constants" "gitlab.com/spdf/elektron/constants"
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"bitbucket.org/sunybingcloud/elektron/utilities" "gitlab.com/spdf/elektron/utilities"
"bitbucket.org/sunybingcloud/elektron/utilities/mesosUtils" "gitlab.com/spdf/elektron/utilities/mesosUtils"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"github.com/pkg/errors" "github.com/pkg/errors"

View file

@ -1,8 +1,8 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
elecLogDef "bitbucket.org/sunybingcloud/elektron/logging/def" elecLogDef "gitlab.com/spdf/elektron/logging/def"
"fmt" "fmt"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"

View file

@ -1,7 +1,7 @@
package schedulers package schedulers
import ( import (
"bitbucket.org/sunybingcloud/elektron/utilities" "gitlab.com/spdf/elektron/utilities"
"encoding/json" "encoding/json"
sched "github.com/mesos/mesos-go/api/v0/scheduler" sched "github.com/mesos/mesos-go/api/v0/scheduler"
"github.com/pkg/errors" "github.com/pkg/errors"

View file

@ -1,7 +1,7 @@
package offerUtils package offerUtils
import ( import (
"bitbucket.org/sunybingcloud/elektron/constants" "gitlab.com/spdf/elektron/constants"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"log" "log"
"strings" "strings"

View file

@ -1,8 +1,8 @@
package schedUtils package schedUtils
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities" "gitlab.com/spdf/elektron/utilities"
"log" "log"
) )

View file

@ -1,8 +1,8 @@
package utilities package utilities
import ( import (
"bitbucket.org/sunybingcloud/elektron/def" "gitlab.com/spdf/elektron/def"
"bitbucket.org/sunybingcloud/elektron/utilities/offerUtils" "gitlab.com/spdf/elektron/utilities/offerUtils"
"errors" "errors"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto" mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"sync" "sync"