Refactor imports, Add vendor/ as submodule (#5)

refact imports to github.xxx. update go.mod + go.sum

* removed vendor/ folder

* Added vendor/ submodule.

Moved dependencies that need to be vendored into separate repository.
	- https://github.com/spdfg/elektron-vendor
Added vendor/ as a submodule using the below command.
	- git submodule add https://github.com/spdfg/elektron-vendor vendor
If wanting to use vendor, run the following commands after cloning
elektron.
1. git submodule init
2. git submodule update

* added instructions to clone vendor/ submodule.

* updated module to spdfg. Refactored imports
This commit is contained in:
PRADYUMNA KAUSHIK 2019-10-31 14:32:46 -04:00 committed by GitHub
parent b4975900f6
commit e3caa90c31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
704 changed files with 851 additions and 383502 deletions

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -23,7 +23,7 @@ import (
"strings"
mesos "github.com/mesos/mesos-go/api/v0/mesosproto"
"gitlab.com/spdf/elektron/constants"
"github.com/spdfg/elektron/constants"
)
func OfferAgg(offer *mesos.Offer) (float64, float64, float64) {

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -21,8 +21,8 @@ package schedUtils
import (
"log"
"gitlab.com/spdf/elektron/def"
"gitlab.com/spdf/elektron/utilities"
"github.com/spdfg/elektron/def"
"github.com/spdfg/elektron/utilities"
)
// Criteria for resizing the scheduling window.

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//
@ -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/spdfg/elektron/def"
"github.com/spdfg/elektron/utilities/offerUtils"
)
type TrackResourceUsage struct {

View file

@ -1,4 +1,4 @@
// Copyright (C) 2018 spdf
// Copyright (C) 2018 spdfg
//
// This file is part of Elektron.
//