Skip to content

Commit

Permalink
change utils/deployment/deployment.go to kubectl pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Corona Lopes authored and drgarcia1986 committed Mar 5, 2021
1 parent b4e7cd1 commit bf83d92
Show file tree
Hide file tree
Showing 132 changed files with 10,685 additions and 4,437 deletions.
26 changes: 6 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,52 +3,37 @@ module github.com/luizalabs/teresa
go 1.15

require (
github.com/PuerkitoBio/purell v1.0.0 // indirect
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2 // indirect
github.com/Sirupsen/logrus v0.10.1-0.20160601113210-f3cfb454f4c2
github.com/aws/aws-sdk-go v0.10.1-0.20151030050406-3d6b9db330e9
github.com/cloudfoundry-incubator/candiedyaml v0.0.0-20160429080125-99c3df83b515 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/emicklei/go-restful v1.1.4-0.20160703162049-b14c3a95fc27 // indirect
github.com/fatih/color v1.1.1-0.20161025120501-bf82308e8c85
github.com/ghodss/yaml v0.0.0-20160604002925-aa0c86205766 // indirect
github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1 // indirect
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9 // indirect
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501 // indirect
github.com/go-openapi/swag v0.0.0-20160821222259-0e04f5e499b1 // indirect
github.com/go-sql-driver/mysql v1.3.1-0.20180308100310-1a676ac6e4dc // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/protobuf v1.4.2
github.com/grpc-ecosystem/go-grpc-middleware v0.0.0-20170611114647-f63a7dfb64c1
github.com/hashicorp/hcl v0.0.0-20160621204241-5b7dbf7eefff // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0
github.com/howeyc/gopass v0.0.0-20160303200116-66487b23f288
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/jinzhu/gorm v1.9.1
github.com/jinzhu/inflection v0.0.0-20160626222713-8f4d3a0d04ce // indirect
github.com/juju/ratelimit v0.0.0-20170523012141-5b9ff8664717 // indirect
github.com/kelseyhightower/envconfig v1.3.1-0.20170206223400-8bf4bbfc795e
github.com/kr/fs v0.0.0-20131111012553-2788f0dbd169 // indirect
github.com/magiconair/properties v1.7.0 // indirect
github.com/mailru/easyjson v0.0.0-20160823093631-34560e358dc0 // indirect
github.com/mattn/go-colorable v0.0.8-0.20170312235756-a392f450ea64 // indirect
github.com/mattn/go-isatty v0.0.2-0.20170307163044-57fdcb988a5c // indirect
github.com/mattn/go-runewidth v0.0.1 // indirect
github.com/mattn/go-sqlite3 v1.1.1-0.20160715133849-e118d4451349 // indirect
github.com/mitchellh/go-homedir v0.0.0-20161203194507-b8bc1bf76747
github.com/mitchellh/mapstructure v0.0.0-20160212031839-d2dd02622084 // indirect
github.com/mitchellh/go-homedir v1.1.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/olekukonko/tablewriter v0.0.0-20160621093029-daf2955e742c
github.com/pelletier/go-buffruneio v0.1.0 // indirect
github.com/pelletier/go-toml v0.3.6-0.20160920070715-45932ad32dfd // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pkg/errors v0.9.1
github.com/pkg/sftp v0.0.0-20160930220758-4d0e916071f6 // indirect
github.com/sabhiram/go-gitignore v0.0.0-20171017070213-362f9845770f
github.com/soheilhy/cmux v0.1.3-0.20170720181427-34a8ab6cda23
github.com/spf13/cast v0.0.0-20160926084249-2580bc98dc0e // indirect
github.com/spf13/cobra v0.0.0-20161026012826-6e91dded25d7
github.com/spf13/jwalterweatherman v0.0.0-20160311093646-33c24e77fb80 // indirect
github.com/spf13/viper v0.0.0-20161024192041-80ab6657f9ec
github.com/soheilhy/cmux v0.1.4
github.com/spf13/cobra v1.0.0
github.com/spf13/viper v1.4.0
github.com/vaughan0/go-ini v0.0.0-20130923145212-a98ad7ee00ec // indirect
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b
Expand All @@ -59,4 +44,5 @@ require (
k8s.io/api v0.19.8
k8s.io/apimachinery v0.19.8
k8s.io/client-go v0.19.8
k8s.io/kubectl v0.19.8
)
173 changes: 173 additions & 0 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/server/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ import (
"github.com/luizalabs/teresa/pkg/server/spec"
"github.com/pkg/errors"

deploymentutil "github.com/luizalabs/teresa/pkg/utils/deployment"

v1 "k8s.io/api/apps/v1"
asv1 "k8s.io/api/autoscaling/v1"
"k8s.io/api/batch/v1beta1"
Expand All @@ -31,6 +29,8 @@ import (
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
restclient "k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"

deploymentutil "k8s.io/kubectl/pkg/util/deployment"
)

const (
Expand Down
3 changes: 3 additions & 0 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/.gitignore

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

26 changes: 11 additions & 15 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/.travis.yml

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

20 changes: 20 additions & 0 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/CONTRIBUTING.md

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

12 changes: 7 additions & 5 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/DOC.md

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

123 changes: 123 additions & 0 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/Gopkg.lock

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

35 changes: 35 additions & 0 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/Gopkg.toml

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

6 changes: 3 additions & 3 deletions vendor/github.com/grpc-ecosystem/go-grpc-middleware/README.md

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

Loading

0 comments on commit bf83d92

Please sign in to comment.