updated module to spdfg. Refactored imports
This commit is contained in:
parent
32738f3afc
commit
80c9d5b29c
49 changed files with 112 additions and 112 deletions
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -23,9 +23,9 @@ import (
|
|||
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/spdf/elektron/def"
|
||||
"github.com/spdf/elektron/utilities/mesosUtils"
|
||||
"github.com/spdf/elektron/utilities/offerUtils"
|
||||
"github.com/spdfg/elektron/def"
|
||||
"github.com/spdfg/elektron/utilities/mesosUtils"
|
||||
"github.com/spdfg/elektron/utilities/offerUtils"
|
||||
)
|
||||
|
||||
// Decides if to take an offer or not
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -23,9 +23,9 @@ import (
|
|||
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/spdf/elektron/def"
|
||||
"github.com/spdf/elektron/utilities/mesosUtils"
|
||||
"github.com/spdf/elektron/utilities/offerUtils"
|
||||
"github.com/spdfg/elektron/def"
|
||||
"github.com/spdfg/elektron/utilities/mesosUtils"
|
||||
"github.com/spdfg/elektron/utilities/offerUtils"
|
||||
)
|
||||
|
||||
// Decides if to take an offer or not
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -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"
|
||||
"github.com/spdf/elektron/def"
|
||||
elekLogDef "github.com/spdf/elektron/logging/def"
|
||||
"github.com/spdf/elektron/utilities"
|
||||
"github.com/spdf/elektron/utilities/schedUtils"
|
||||
"github.com/spdfg/elektron/def"
|
||||
elekLogDef "github.com/spdfg/elektron/logging/def"
|
||||
"github.com/spdfg/elektron/utilities"
|
||||
"github.com/spdfg/elektron/utilities/schedUtils"
|
||||
)
|
||||
|
||||
type BaseScheduler struct {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -23,9 +23,9 @@ import (
|
|||
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/spdf/elektron/def"
|
||||
"github.com/spdf/elektron/utilities/mesosUtils"
|
||||
"github.com/spdf/elektron/utilities/offerUtils"
|
||||
"github.com/spdfg/elektron/def"
|
||||
"github.com/spdfg/elektron/utilities/mesosUtils"
|
||||
"github.com/spdfg/elektron/utilities/offerUtils"
|
||||
)
|
||||
|
||||
// Decides if to take an offer or not
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -23,8 +23,8 @@ import (
|
|||
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/spdf/elektron/def"
|
||||
elekLogDef "github.com/spdf/elektron/logging/def"
|
||||
"github.com/spdfg/elektron/def"
|
||||
elekLogDef "github.com/spdfg/elektron/logging/def"
|
||||
)
|
||||
|
||||
// Implements mesos scheduler.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -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"
|
||||
"github.com/spdf/elektron/def"
|
||||
"github.com/spdf/elektron/utilities/mesosUtils"
|
||||
"github.com/spdf/elektron/utilities/offerUtils"
|
||||
"github.com/spdfg/elektron/def"
|
||||
"github.com/spdfg/elektron/utilities/mesosUtils"
|
||||
"github.com/spdfg/elektron/utilities/offerUtils"
|
||||
)
|
||||
|
||||
// Decides if to take an offer or not
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -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"
|
||||
"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"
|
||||
"github.com/spdfg/elektron/constants"
|
||||
"github.com/spdfg/elektron/def"
|
||||
elekLogDef "github.com/spdfg/elektron/logging/def"
|
||||
"github.com/spdfg/elektron/utilities"
|
||||
"github.com/spdfg/elektron/utilities/mesosUtils"
|
||||
"log"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -25,8 +25,8 @@ import (
|
|||
|
||||
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/spdf/elektron/def"
|
||||
elekLogDef "github.com/spdf/elektron/logging/def"
|
||||
"github.com/spdfg/elektron/def"
|
||||
elekLogDef "github.com/spdfg/elektron/logging/def"
|
||||
)
|
||||
|
||||
type SchedPolicyContext interface {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (C) 2018 spdf
|
||||
// Copyright (C) 2018 spdfg
|
||||
//
|
||||
// This file is part of Elektron.
|
||||
//
|
||||
|
@ -25,7 +25,7 @@ import (
|
|||
|
||||
sched "github.com/mesos/mesos-go/api/v0/scheduler"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/spdf/elektron/utilities"
|
||||
"github.com/spdfg/elektron/utilities"
|
||||
)
|
||||
|
||||
// Names of different scheduling policies.
|
||||
|
|
Reference in a new issue