Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize a dep compatible go mod configuration #485

Merged
merged 2 commits into from
Mar 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmd/apiregister-gen/generators/admission_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ func (d *admissionGenerator) Imports(c *generator.Context) []string {
"sigs.k8s.io/apiserver-builder-alpha/pkg/cmd/server",
"k8s.io/client-go/rest",
`genericserver "k8s.io/apiserver/pkg/server"`,
"k8s.io/apiserver/pkg/admission",
}
for _, kind := range d.admissionKinds {
imports = append(imports, fmt.Sprintf(
Expand Down
1 change: 1 addition & 0 deletions cmd/apiserver-boot/boot/create/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ var log = logf.Log.WithName("{{ lower .Resource.Kind }}-controller")
appsv1 "k8s.io/api/apps/v1"
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/handler"
Expand Down
1 change: 1 addition & 0 deletions cmd/apiserver-boot/boot/create/controller_test_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/envtest"
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/apiserver-builder-alpha/pkg/test/suite"
"{{ .Repo }}/pkg/apis"
)
Expand Down
1 change: 1 addition & 0 deletions cmd/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGm
golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384 h1:TFlARGu6Czu1z7q93HTxcP1P+/ZFC/IKythI5RzrnRg=
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59 h1:QjA/9ArTfVTLfEhClDCG7SGrZkZixxWpwNCDiwJfh88=
golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485 h1:OB/uP/Puiu5vS5QMRPrXCDWUPb+kt8f1KW8oQzFejQw=
gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0=
Expand Down
277 changes: 277 additions & 0 deletions example/basic/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,277 @@
module sigs.k8s.io/apiserver-builder-alpha/example/basic

go 1.13

require (
github.com/go-openapi/loads v0.0.0-20160704185440-18441dfa706d
github.com/go-openapi/runtime v0.0.0-20160704190703-11e322eeecc1
github.com/go-openapi/spec v0.19.2
github.com/go-openapi/validate v0.19.2
github.com/onsi/ginkgo v1.8.0
github.com/onsi/gomega v1.5.0
github.com/rancher/kine v0.3.2
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v0.0.0-20160820190039-7fb2782df3d8
golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7
k8s.io/api v0.17.0
k8s.io/apiextensions-apiserver v0.17.0
k8s.io/apimachinery v0.17.0
k8s.io/apiserver v0.0.0-20190918160949-bfa5e2e684ad
k8s.io/client-go v0.17.0
k8s.io/klog v0.4.0
k8s.io/kube-aggregator v0.0.0-20190918161219-8c8f079fddc3
k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf
k8s.io/utils v0.0.0-20190809000727-6c36bc71fc4a
sigs.k8s.io/apiserver-builder-alpha v0.0.0-20200303021738-6e294aee8ffe
sigs.k8s.io/controller-runtime v0.3.1-0.20191029211253-40070e2a1958
sigs.k8s.io/testing_frameworks v0.1.1
)

replace cloud.google.com/go => cloud.google.com/go v0.1.1-0.20160913182117-3b1ae45394a2

replace github.com/Azure/go-autorest => github.com/Azure/go-autorest v13.0.0+incompatible

replace github.com/NYTimes/gziphandler => github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46

replace github.com/PuerkitoBio/purell => github.com/PuerkitoBio/purell v1.0.0

replace github.com/PuerkitoBio/urlesc => github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2

replace github.com/Rican7/retry => github.com/Rican7/retry v0.1.0

replace github.com/asaskevich/govalidator => github.com/asaskevich/govalidator v0.0.0-20171111151018-521b25f4b05f

replace github.com/beorn7/perks => github.com/beorn7/perks v0.0.0-20160229213445-3ac7bf7a47d1

replace github.com/canonical/go-dqlite => github.com/canonical/go-dqlite v1.2.0

replace github.com/coreos/bbolt => github.com/coreos/bbolt v1.3.0

replace github.com/coreos/etcd => github.com/coreos/etcd v3.3.15+incompatible

replace github.com/coreos/go-semver => github.com/coreos/go-semver v0.2.0

replace github.com/coreos/go-systemd => github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b

replace github.com/coreos/pkg => github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea

replace github.com/davecgh/go-spew => github.com/davecgh/go-spew v1.1.1-0.20170626231645-782f4967f2dc

replace github.com/dgrijalva/jwt-go => github.com/dgrijalva/jwt-go v3.2.0+incompatible

replace github.com/docker/spdystream => github.com/docker/spdystream v0.0.0-20181023171402-6480d4af844c

replace github.com/emicklei/go-restful => github.com/emicklei/go-restful v1.1.4-0.20170410110728-ff4f55a20633

replace github.com/evanphx/json-patch => github.com/evanphx/json-patch v4.5.0+incompatible

replace github.com/fsnotify/fsnotify => github.com/fsnotify/fsnotify v1.4.7

replace github.com/go-logr/logr => github.com/go-logr/logr v0.1.0

replace github.com/go-logr/zapr => github.com/go-logr/zapr v0.1.1

replace github.com/go-openapi/analysis => github.com/go-openapi/analysis v0.0.0-20160815203709-b44dc874b601

replace github.com/go-openapi/errors => github.com/go-openapi/errors v0.0.0-20171226161601-7bcb96a367ba

replace github.com/go-openapi/jsonpointer => github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1

replace github.com/go-openapi/jsonreference => github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9

replace github.com/go-openapi/loads => github.com/go-openapi/loads v0.0.0-20160704185440-18441dfa706d

replace github.com/go-openapi/runtime => github.com/go-openapi/runtime v0.0.0-20160704190703-11e322eeecc1

replace github.com/go-openapi/spec => github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501

replace github.com/go-openapi/strfmt => github.com/go-openapi/strfmt v0.0.0-20160812050534-d65c7fdb29ec

replace github.com/go-openapi/swag => github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87

replace github.com/go-openapi/validate => github.com/go-openapi/validate v0.0.0-20160704191746-deaf2c9013bc

replace github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.4.1

replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.1

replace github.com/golang/groupcache => github.com/golang/groupcache v0.0.0-20181024230925-c65c006176ff

replace github.com/golang/protobuf => github.com/golang/protobuf v1.1.0

replace github.com/google/btree => github.com/google/btree v0.0.0-20160524151835-7d79101e329e

replace github.com/google/go-cmp => github.com/google/go-cmp v0.3.1

replace github.com/google/gofuzz => github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367

replace github.com/google/uuid => github.com/google/uuid v1.1.1

replace github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d

replace github.com/gophercloud/gophercloud => github.com/gophercloud/gophercloud v0.0.0-20170831144856-2bf16b94fdd9

replace github.com/gorilla/websocket => github.com/gorilla/websocket v1.4.1

replace github.com/grpc-ecosystem/go-grpc-middleware => github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190723091251-e0797f438f94

replace github.com/grpc-ecosystem/go-grpc-prometheus => github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0

replace github.com/grpc-ecosystem/grpc-gateway => github.com/grpc-ecosystem/grpc-gateway v1.4.1

replace github.com/hashicorp/golang-lru => github.com/hashicorp/golang-lru v0.0.0-20160207214719-a0d98a5f2880

replace github.com/hashicorp/hcl => github.com/hashicorp/hcl v0.0.0-20171017181929-23c074d0eceb

replace github.com/hpcloud/tail => github.com/hpcloud/tail v1.0.0

replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5

replace github.com/inconshreveable/mousetrap => github.com/inconshreveable/mousetrap v1.0.0

replace github.com/jonboulle/clockwork => github.com/jonboulle/clockwork v0.1.0

replace github.com/json-iterator/go => github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3

replace github.com/konsorten/go-windows-terminal-sequences => github.com/konsorten/go-windows-terminal-sequences v1.0.2

replace github.com/lib/pq => github.com/lib/pq v1.2.0

replace github.com/magiconair/properties => github.com/magiconair/properties v1.7.4

replace github.com/mailru/easyjson => github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a

replace github.com/markbates/inflect => github.com/markbates/inflect v0.0.0-20171215194931-a12c3aec81a6

replace github.com/mattn/go-sqlite3 => github.com/mattn/go-sqlite3 v1.11.0

replace github.com/matttproud/golang_protobuf_extensions => github.com/matttproud/golang_protobuf_extensions v0.0.0-20150406173934-fc2b8d3a73c4

replace github.com/mitchellh/mapstructure => github.com/mitchellh/mapstructure v0.0.0-20180111000720-b4575eea38cc

replace github.com/modern-go/concurrent => github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd

replace github.com/modern-go/reflect2 => github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742

replace github.com/munnerz/goautoneg => github.com/munnerz/goautoneg v0.0.0-20190414153302-2ae31c8b6b30

replace github.com/mxk/go-flowrate => github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f

replace github.com/onsi/ginkgo => github.com/onsi/ginkgo v1.8.0

replace github.com/onsi/gomega => github.com/onsi/gomega v1.5.0

replace github.com/pborman/uuid => github.com/pborman/uuid v0.0.0-20150603214016-ca53cad383ca

replace github.com/pelletier/go-toml => github.com/pelletier/go-toml v1.1.0

replace github.com/petar/GoLLRB => github.com/petar/GoLLRB v0.0.0-20130427215148-53be0d36a84c

replace github.com/pkg/errors => github.com/pkg/errors v0.7.1-0.20160808055540-a22138067af1

replace github.com/prometheus/client_golang => github.com/prometheus/client_golang v0.9.2

replace github.com/prometheus/client_model => github.com/prometheus/client_model v0.0.0-20150212101744-fa8ad6fec335

replace github.com/prometheus/common => github.com/prometheus/common v0.0.0-20170427095455-13ba4ddd0caa

replace github.com/prometheus/procfs => github.com/prometheus/procfs v0.0.0-20170519190837-65c1f6f8f0fc

replace github.com/rancher/kine => github.com/rancher/kine v0.3.2

replace github.com/sirupsen/logrus => github.com/sirupsen/logrus v1.4.2

replace github.com/soheilhy/cmux => github.com/soheilhy/cmux v0.1.4

replace github.com/spf13/afero => github.com/spf13/afero v1.0.2

replace github.com/spf13/cast => github.com/spf13/cast v1.1.0

replace github.com/spf13/cobra => github.com/spf13/cobra v0.0.0-20160722081547-f62e98d28ab7

replace github.com/spf13/jwalterweatherman => github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec

replace github.com/spf13/pflag => github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff

replace github.com/spf13/viper => github.com/spf13/viper v0.0.0-20160820190039-7fb2782df3d8

replace github.com/tmc/grpc-websocket-proxy => github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5

replace github.com/xiang90/probing => github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18

replace go.uber.org/atomic => go.uber.org/atomic v1.3.2

replace go.uber.org/multierr => go.uber.org/multierr v1.1.0

replace go.uber.org/zap => go.uber.org/zap v1.9.1

replace golang.org/x/crypto => golang.org/x/crypto v0.0.0-20170825220121-81e90905daef

replace golang.org/x/net => golang.org/x/net v0.0.0-20170809000501-1c05540f6879

replace golang.org/x/oauth2 => golang.org/x/oauth2 v0.0.0-20170412232759-a6bd8cefa181

replace golang.org/x/sys => golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a

replace golang.org/x/text => golang.org/x/text v0.0.0-20170810154203-b19bf474d317

replace golang.org/x/time => golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2

replace golang.org/x/tools => golang.org/x/tools v0.0.0-20181101071927-45ff765b4815

replace golang.org/x/xerrors => golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898

replace gomodules.xyz/jsonpatch => gomodules.xyz/jsonpatch v2.0.0+incompatible

replace google.golang.org/appengine => google.golang.org/appengine v1.0.1-0.20171011215012-a2e0dc829727

replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20170731182057-09f6ed296fc6

replace google.golang.org/grpc => google.golang.org/grpc v1.23.0

replace gopkg.in/inf.v0 => gopkg.in/inf.v0 v0.9.0

replace gopkg.in/natefinch/lumberjack.v2 => gopkg.in/natefinch/lumberjack.v2 v2.0.0-20150622162204-20b71e5b60d7

replace gopkg.in/tomb.v1 => gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7

replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.2.2

replace k8s.io/api => k8s.io/api v0.0.0-20190918155943-95b840bb6a1f

replace k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.0.0-20190918161926-8f644eb6e783

replace k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190913080033-27d36303b655

replace k8s.io/apiserver => k8s.io/apiserver v0.0.0-20190918160949-bfa5e2e684ad

replace k8s.io/client-go => k8s.io/client-go v0.0.0-20190918160344-1fbdaa4c8d90

replace k8s.io/code-generator => k8s.io/code-generator v0.0.0-20190912054826-cd179ad6a269

replace k8s.io/component-base => k8s.io/component-base v0.0.0-20190918160511-547f6c5d7090

replace k8s.io/gengo => k8s.io/gengo v0.0.0-20190907103519-ebc107f98eab

replace k8s.io/klog => k8s.io/klog v0.2.0

replace k8s.io/kube-aggregator => k8s.io/kube-aggregator v0.0.0-20190918161219-8c8f079fddc3

replace k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf

replace k8s.io/utils => k8s.io/utils v0.0.0-20190809000727-6c36bc71fc4a

replace sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.3.1-0.20191029211253-40070e2a1958

replace sigs.k8s.io/controller-tools => sigs.k8s.io/controller-tools v0.1.11-0.20190405182121-56d42b19e55a

replace sigs.k8s.io/kubebuilder => sigs.k8s.io/kubebuilder v1.0.8

replace sigs.k8s.io/structured-merge-diff => sigs.k8s.io/structured-merge-diff v1.0.0

replace sigs.k8s.io/testing_frameworks => sigs.k8s.io/testing_frameworks v0.1.1

replace sigs.k8s.io/yaml => sigs.k8s.io/yaml v1.1.0

replace sigs.k8s.io/apiserver-builder-alpha => ../../../apiserver-builder-alpha
Loading