Skip to content

Commit

Permalink
Added go.mod and deprecated dep (#62)
Browse files Browse the repository at this point in the history
* Added go.mod and deprecated dep

Signed-off-by: Rahul M Chheda <[email protected]>
  • Loading branch information
rahulchheda authored May 7, 2020
1 parent b21d3b7 commit c5b2f9a
Show file tree
Hide file tree
Showing 526 changed files with 38,405 additions and 159,552 deletions.
699 changes: 0 additions & 699 deletions Gopkg.lock

This file was deleted.

58 changes: 0 additions & 58 deletions Gopkg.toml

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ godeps:
@echo "INFO:\tverifying dependencies for chaos exporter build ..."
@go get -u -v golang.org/x/lint/golint
@go get -u -v golang.org/x/tools/cmd/goimports
@go get -u -v github.com/golang/dep/cmd/dep


.PHONY: bdddeps
bdddeps:
Expand Down
5 changes: 2 additions & 3 deletions cmd/exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"flag"
"net/http"

log "github.com/Sirupsen/logrus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
Expand Down Expand Up @@ -63,6 +62,6 @@ func main() {
go controller.Exporter(config)
//This section will start the HTTP server and expose metrics on the /metrics endpoint.
http.Handle("/metrics", promhttp.Handler())
log.Info("Beginning to serve on port :8080")
log.Fatal(http.ListenAndServe(":8080", nil))
klog.Info("Beginning to serve on port :8080")
klog.Fatal(http.ListenAndServe(":8080", nil))
}
34 changes: 34 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module github.com/litmuschaos/chaos-exporter

go 1.13

require (
github.com/Masterminds/semver v1.5.0 // indirect
github.com/Masterminds/vcs v1.13.1 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/boltdb/bolt v1.3.1 // indirect
github.com/golang/dep v0.5.4 // indirect
github.com/golang/protobuf v1.4.1 // indirect
github.com/imdario/mergo v0.3.9 // indirect
github.com/jmank88/nuts v0.4.0 // indirect
github.com/litmuschaos/chaos-operator v0.0.0-20200502085045-ae0a262d3baa
github.com/nightlyone/lockfile v1.0.0 // indirect
github.com/onsi/ginkgo v1.12.0
github.com/onsi/gomega v1.9.0
github.com/pelletier/go-toml v1.7.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.6.0
github.com/sdboyer/constext v0.0.0-20170321163424-836a14457353 // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a // indirect
golang.org/x/sys v0.0.0-20200501145240-bc7a7d42d5c3 // indirect
golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1 // indirect
golang.org/x/tools v0.0.0-20200506181757-c20a87c16a39 // indirect
k8s.io/api v0.0.0-20190918195907-bd6ac527cfd2
k8s.io/apimachinery v0.0.0-20190817020851-f2f3a405f61d
k8s.io/client-go v0.0.0-20190918200256-06eb1244587a
k8s.io/klog v1.0.0
k8s.io/utils v0.0.0-20200414100711-2df71ebbae66 // indirect
sigs.k8s.io/controller-runtime v0.3.0 // indirect
)
379 changes: 379 additions & 0 deletions go.sum

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions vendor/cloud.google.com/go/AUTHORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions vendor/cloud.google.com/go/CONTRIBUTORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

87 changes: 35 additions & 52 deletions vendor/cloud.google.com/go/compute/metadata/metadata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 3 additions & 8 deletions vendor/github.com/PuerkitoBio/purell/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions vendor/github.com/PuerkitoBio/purell/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/PuerkitoBio/purell/purell.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vendor/github.com/Sirupsen/logrus/.gitignore

This file was deleted.

Loading

0 comments on commit c5b2f9a

Please sign in to comment.