Skip to content

Commit fbf1411

Browse files
authored
Merge pull request #128 from droot/running/k8s-1.13.1
🏃 upgrade k8s deps to 1.13
2 parents 2fdd340 + c3d857c commit fbf1411

File tree

641 files changed

+28323
-11402
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

641 files changed

+28323
-11402
lines changed

Gopkg.lock

Lines changed: 45 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,23 @@ required = [
1414

1515
[[constraint]]
1616
name="k8s.io/api"
17-
version="kubernetes-1.12.3"
17+
version="kubernetes-1.13.1"
1818

1919
[[constraint]]
2020
name="k8s.io/apiextensions-apiserver"
21-
version="kubernetes-1.12.3"
21+
version="kubernetes-1.13.1"
2222

2323
[[constraint]]
2424
name="k8s.io/apimachinery"
25-
version="kubernetes-1.12.3"
25+
version="kubernetes-1.13.1"
2626

2727
[[constraint]]
2828
name="k8s.io/code-generator"
29-
version="kubernetes-1.12.3"
29+
version="kubernetes-1.13.1"
3030

3131
[[constraint]]
3232
name="k8s.io/client-go"
33-
version="kubernetes-1.12.3"
33+
version="kubernetes-1.13.1"
3434

3535
[[constraint]]
3636
name = "github.com/onsi/ginkgo"

cmd/controller-gen/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func newRBACCmd() *cobra.Command {
6767
Usage:
6868
# controller-gen rbac [--name manager] [--input-dir input_dir] [--output-dir output_dir]
6969
`,
70-
Run: func(cmd *cobra.Command, args []string) {
70+
Run: func(_ *cobra.Command, _ []string) {
7171
if err := rbac.Generate(o); err != nil {
7272
log.Fatal(err)
7373
}
@@ -93,7 +93,7 @@ func newCRDCmd() *cobra.Command {
9393
Usage:
9494
# controller-gen crd [--domain k8s.io] [--root-path input_dir] [--output-dir output_dir]
9595
`,
96-
Run: func(cmd *cobra.Command, args []string) {
96+
Run: func(_ *cobra.Command, _ []string) {
9797
if err := g.ValidateAndInitFields(); err != nil {
9898
log.Fatal(err)
9999
}
@@ -126,7 +126,7 @@ func newAllSubCmd() *cobra.Command {
126126
Usage:
127127
# controller-gen all
128128
`,
129-
Run: func(cmd *cobra.Command, args []string) {
129+
Run: func(_ *cobra.Command, _ []string) {
130130
if projectDir == "" {
131131
currDir, err := os.Getwd()
132132
if err != nil {
@@ -177,7 +177,7 @@ func newWebhookCmd() *cobra.Command {
177177
Usage:
178178
# controller-gen webhook [--input-dir input_dir] [--output-dir output_dir] [--patch-output-dir patch-output_dir]
179179
`,
180-
Run: func(cmd *cobra.Command, args []string) {
180+
Run: func(_ *cobra.Command, _ []string) {
181181
if err := webhook.Generate(o); err != nil {
182182
log.Fatal(err)
183183
}

cmd/crd/cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ exist under the root-path.
4040
for PROJECT file, take its path as working directory, and fetch domain info from the file.
4141
`,
4242
Example: "crd generate --domain k8s.io",
43-
Run: func(cmd *cobra.Command, args []string) {
43+
Run: func(_ *cobra.Command, _ []string) {
4444
fmt.Println("Writing CRD files...")
4545
if err := g.ValidateAndInitFields(); err != nil {
4646
log.Fatal(err)

cmd/type-scaffold/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Also applies the appropriate comments to generate the code required to conform t
4545
4646
# Generate types for a Kind called Bar with a resource of foobars
4747
type-scaffold --kind Bar --resource foobars`,
48-
RunE: func(cmd *cobra.Command, args []string) error {
48+
RunE: func(_ *cobra.Command, _ []string) error {
4949
if err := opts.Validate(); err != nil {
5050
return err
5151
}

pkg/internal/general/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func ParseDir(dir string, parseFn func(string) error) error {
6767
fset := token.NewFileSet()
6868

6969
err := filepath.Walk(dir,
70-
func(path string, info os.FileInfo, err error) error {
70+
func(path string, info os.FileInfo, _ error) error {
7171
if !isGoFile(info) {
7272
// TODO(droot): enable this output based on verbose flag
7373
// fmt.Println("skipping non-go file", path)

vendor/github.com/mattbaird/jsonpatch/.gitignore renamed to vendor/github.com/appscode/jsonpatch/.gitignore

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/appscode/jsonpatch/.travis.yml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/mattbaird/jsonpatch/README.md renamed to vendor/github.com/appscode/jsonpatch/README.md

Lines changed: 12 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)