Skip to content

Commit

Permalink
fixed go build error
Browse files Browse the repository at this point in the history
  • Loading branch information
polefishu committed Dec 25, 2019
1 parent 7552f83 commit 1e678de
Show file tree
Hide file tree
Showing 5 changed files with 394 additions and 280 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,5 @@ tags
# End of https://www.gitignore.io/api/go,vim,emacs,visualstudiocode
.idea/*
vendor/*
manager
main
main
go.sum
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ and create a clusterIP service for all nodes.

## Prerequisites

* go version v1.12+.
* Access to a Kubernetes v1.13.3 cluster.
* go version v1.13+.
* Access to a Kubernetes v1.13.10 cluster.

## Features

Expand Down
56 changes: 33 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,49 @@ require (
github.com/appscode/go v0.0.0-20191006073906-e3d193d493fc
github.com/appscode/osm v0.12.0
github.com/aws/aws-sdk-go v1.20.20
github.com/coreos/prometheus-operator v0.31.1 // indirect
github.com/ghodss/yaml v1.0.0
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
github.com/go-logr/logr v0.1.0
github.com/go-openapi/spec v0.19.0
github.com/go-openapi/spec v0.19.2
github.com/mediocregopher/radix.v2 v0.0.0-20181115013041-b67df6e626f9
github.com/operator-framework/operator-sdk v0.10.1-0.20190919225052-3a85983ecc72
github.com/operator-framework/operator-sdk v0.12.0
github.com/pkg/errors v0.8.1
github.com/prometheus/client_golang v1.1.0 // indirect
github.com/spf13/pflag v1.0.3
gomodules.xyz/stow v0.2.0
k8s.io/api v0.0.0-20190612125737-db0771252981
k8s.io/apimachinery v0.0.0-20190612125636-6a5db36e93ad
k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208
github.com/spf13/pflag v1.0.5
gomodules.xyz/stow v0.2.3
k8s.io/api v0.0.0
k8s.io/apimachinery v0.0.0
k8s.io/client-go v12.0.0+incompatible
k8s.io/kube-openapi v0.0.0-20190918143330-0270cf2f1c1d
kmodules.xyz/objectstore-api v0.0.0-20191014210450-ac380fa650a3
sigs.k8s.io/controller-runtime v0.2.0
sigs.k8s.io/controller-runtime v0.3.0
)

// Pinned to kubernetes-1.14.1
// Pinned to kubernetes-1.15.4
replace (
k8s.io/api => k8s.io/api v0.0.0-20190409021203-6e4e0e4f393b
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190409022649-727a075fdec8
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
k8s.io/client-go => k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible
k8s.io/cloud-provider => k8s.io/cloud-provider v0.0.0-20190409023720-1bc0c81fa51d
k8s.io/api => k8s.io/api v0.0.0-20190918195907-bd6ac527cfd2
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190918201827-3de75813f604
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190817020851-f2f3a405f61d
k8s.io/apiserver => k8s.io/apiserver v0.0.0-20190918200908-1e17798da8c1
k8s.io/cli-runtime => k8s.io/cli-runtime v0.0.0-20190918202139-0b14c719ca62
k8s.io/client-go => k8s.io/client-go v0.0.0-20190918200256-06eb1244587a
k8s.io/cloud-provider => k8s.io/cloud-provider v0.0.0-20190918203125-ae665f80358a
k8s.io/cluster-bootstrap => k8s.io/cluster-bootstrap v0.0.0-20190918202959-c340507a5d48
k8s.io/code-generator => k8s.io/code-generator v0.0.0-20190612205613-18da4a14b22b
k8s.io/component-base => k8s.io/component-base v0.0.0-20190918200425-ed2f0867c778
k8s.io/cri-api => k8s.io/cri-api v0.0.0-20190817025403-3ae76f584e79
k8s.io/csi-translation-lib => k8s.io/csi-translation-lib v0.0.0-20190918203248-97c07dcbb623
k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.0.0-20190918201136-c3a845f1fbb2
k8s.io/kube-controller-manager => k8s.io/kube-controller-manager v0.0.0-20190918202837-c54ce30c680e
k8s.io/kube-proxy => k8s.io/kube-proxy v0.0.0-20190918202429-08c8357f8e2d
k8s.io/kube-scheduler => k8s.io/kube-scheduler v0.0.0-20190918202713-c34a54b3ec8e
k8s.io/kubelet => k8s.io/kubelet v0.0.0-20190918202550-958285cf3eef
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.0.0-20190918203421-225f0541b3ea
k8s.io/metrics => k8s.io/metrics v0.0.0-20190918202012-3c1ca76f5bda
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.0.0-20190918201353-5cc279503896
)

replace (
github.com/Azure/go-autorest v11.7.0+incompatible => github.com/Azure/go-autorest/autorest v0.7.0
github.com/coreos/prometheus-operator => github.com/coreos/prometheus-operator v0.31.1
// Pinned to v2.10.0 (kubernetes-1.14.1) so https://proxy.golang.org can
// resolve it correctly.
github.com/prometheus/prometheus => github.com/prometheus/prometheus v0.0.0-20190525122359-d20e84d0fb64
github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.3.1+incompatible
github.com/go-check/check => github.com/go-check/check v0.0.0-20180628173108-788fd7840127
)

go 1.13
Loading

0 comments on commit 1e678de

Please sign in to comment.