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

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.

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.