Skip to content

Commit f885a4b

Browse files
committed
bump deps
1 parent 74f419b commit f885a4b

File tree

3,695 files changed

+1282602
-1152
lines changed

Some content is hidden

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

3,695 files changed

+1282602
-1152
lines changed

cmd/plugin/cli/root.go

+11-6
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,28 @@ import (
1212

1313
var (
1414
KubernetesConfigFlags *genericclioptions.ConfigFlags
15+
rootCmd *cobra.Command
1516
)
1617

17-
func RootCmd() *cobra.Command {
18-
cmd := &cobra.Command{
18+
func init() {
19+
rootCmd = &cobra.Command{
1920
Use: "pv-mounter",
2021
Short: "A tool to mount and unmount PVs",
2122
Long: `A tool to mount and unmount PVs using SSHFS.`,
2223
}
2324

2425
if strings.HasPrefix(filepath.Base(os.Args[0]), "kubectl-") {
25-
cmd.Use = "kubectl pv-mounter [flags]"
26+
rootCmd.Annotations = map[string]string{
27+
cobra.CommandDisplayNameAnnotation: "kubectl pv-mounter",
28+
}
2629
}
2730

28-
cmd.AddCommand(mountCmd())
29-
cmd.AddCommand(cleanCmd())
31+
rootCmd.AddCommand(mountCmd())
32+
rootCmd.AddCommand(cleanCmd())
33+
}
3034

31-
return cmd
35+
func RootCmd() *cobra.Command {
36+
return rootCmd
3237
}
3338

3439
func InitAndExecute() {

deploy/krew/plugin.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ kind: Plugin
33
metadata:
44
name: pv-mounter
55
spec:
6-
version: "v0.0.5"
6+
version: "v0.0.6"
77
platforms:
88
- selector:
99
matchLabels:
1010
os: linux
1111
arch: amd64
12-
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.5/pv-mounter_linux_amd64.tar.gz
12+
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.6/pv-mounter_linux_amd64.tar.gz
1313
sha256: ""
1414
files:
1515
- from: "./pv-mounter"
@@ -21,7 +21,7 @@ spec:
2121
matchLabels:
2222
os: linux
2323
arch: arm64
24-
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.5/pv-mounter_linux_arm64.tar.gz
24+
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.6/pv-mounter_linux_arm64.tar.gz
2525
sha256: ""
2626
files:
2727
- from: "./pv-mounter"
@@ -34,7 +34,7 @@ spec:
3434
matchLabels:
3535
os: darwin
3636
arch: amd64
37-
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.5/pv-mounter_darwin_amd64.tar.gz
37+
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.6/pv-mounter_darwin_amd64.tar.gz
3838
sha256: ""
3939
files:
4040
- from: "./pv-mounter"
@@ -46,7 +46,7 @@ spec:
4646
matchLabels:
4747
os: darwin
4848
arch: arm64
49-
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.5/pv-mounter_darwin_arm64.tar.gz
49+
uri: https://github.com/fenio/pv-mounter/releases/download/v0.0.6/pv-mounter_darwin_arm64.tar.gz
5050
sha256: ""
5151
files:
5252
- from: "./pv-mounter"

go.mod

+73-42
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,81 @@
11
module github.com/fenio/pv-mounter
22

3-
go 1.16
3+
go 1.22.0
4+
5+
toolchain go1.22.3
46

57
require (
6-
github.com/Microsoft/go-winio v0.4.12 // indirect
7-
github.com/NYTimes/gziphandler v1.1.1 // indirect
8-
github.com/blang/semver v3.5.1+incompatible
9-
github.com/containerd/continuity v0.0.0-20181203112020-004b46473808 // indirect
10-
github.com/docker/docker v1.13.1
11-
github.com/docker/go-connections v0.4.0 // indirect
12-
github.com/evanphx/json-patch v4.5.0+incompatible // indirect
138
github.com/fatih/color v1.7.0
14-
github.com/fsnotify/fsnotify v1.4.7 // indirect
15-
github.com/genuinetools/reg v0.16.0
16-
github.com/gin-gonic/gin v1.4.0
17-
github.com/gizak/termui/v3 v3.1.0
18-
github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87 // indirect
19-
github.com/google/gofuzz v1.0.0 // indirect
20-
github.com/googleapis/gnostic v0.3.1 // indirect
21-
github.com/gopherjs/gopherjs v0.0.0-20190328170749-bb2674552d8f // indirect
22-
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect
23-
github.com/hashicorp/go-getter v1.3.0
24-
github.com/hashicorp/go-multierror v1.0.0
25-
github.com/hashicorp/go-version v1.1.0
9+
github.com/spf13/cobra v1.8.0
10+
github.com/spf13/viper v1.4.0
11+
k8s.io/api v0.30.1
12+
k8s.io/apimachinery v0.30.1
13+
k8s.io/cli-runtime v0.30.1
14+
k8s.io/client-go v0.30.1
15+
)
16+
17+
require (
18+
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
19+
github.com/davecgh/go-spew v1.1.1 // indirect
20+
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
21+
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
22+
github.com/fsnotify/fsnotify v1.4.9 // indirect
23+
github.com/go-errors/errors v1.4.2 // indirect
24+
github.com/go-logr/logr v1.4.1 // indirect
25+
github.com/go-openapi/jsonpointer v0.19.6 // indirect
26+
github.com/go-openapi/jsonreference v0.20.2 // indirect
27+
github.com/go-openapi/swag v0.22.3 // indirect
28+
github.com/gogo/protobuf v1.3.2 // indirect
29+
github.com/golang/protobuf v1.5.4 // indirect
30+
github.com/google/btree v1.0.1 // indirect
31+
github.com/google/gnostic-models v0.6.8 // indirect
32+
github.com/google/gofuzz v1.2.0 // indirect
33+
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
34+
github.com/google/uuid v1.3.0 // indirect
35+
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
36+
github.com/hashicorp/hcl v1.0.0 // indirect
2637
github.com/imdario/mergo v0.3.7 // indirect
27-
github.com/manifoldco/promptui v0.3.2
28-
github.com/mholt/archiver v3.1.1+incompatible
29-
github.com/onsi/ginkgo v1.8.0 // indirect
30-
github.com/onsi/gomega v1.5.0
31-
github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
38+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
39+
github.com/josharian/intern v1.0.0 // indirect
40+
github.com/json-iterator/go v1.1.12 // indirect
41+
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
42+
github.com/magiconair/properties v1.8.0 // indirect
43+
github.com/mailru/easyjson v0.7.7 // indirect
44+
github.com/mattn/go-colorable v0.0.9 // indirect
45+
github.com/mattn/go-isatty v0.0.16 // indirect
46+
github.com/mitchellh/mapstructure v1.1.2 // indirect
47+
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
48+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
49+
github.com/modern-go/reflect2 v1.0.2 // indirect
50+
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
51+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
52+
github.com/pelletier/go-toml v1.2.0 // indirect
3253
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
33-
github.com/smartystreets/assertions v0.0.0-20190401211740-f487f9de1cd3 // indirect
34-
github.com/spf13/cobra v0.0.4
35-
github.com/spf13/viper v1.4.0
36-
github.com/stretchr/testify v1.3.0
37-
github.com/tj/go-spin v1.1.0
38-
golang.org/x/net v0.0.0-20190812203447-cdfb69ac37fc
39-
gopkg.in/cheggaaa/pb.v1 v1.0.28 // indirect
40-
gopkg.in/yaml.v2 v2.2.2
41-
gotest.tools v2.2.0+incompatible // indirect
42-
k8s.io/api v0.0.0-20190313235455-40a48860b5ab // indirect
43-
k8s.io/apimachinery v0.0.0-20190313205120-d7deff9243b1
44-
k8s.io/cli-runtime v0.0.0-20190314001948-2899ed30580f
45-
k8s.io/client-go v11.0.0+incompatible
46-
k8s.io/klog v0.4.0 // indirect
47-
k8s.io/kube-openapi v0.0.0-20190816220812-743ec37842bf // indirect
48-
k8s.io/utils v0.0.0-20190809000727-6c36bc71fc4a // indirect
49-
sigs.k8s.io/kustomize v2.0.3+incompatible // indirect
54+
github.com/pkg/errors v0.9.1 // indirect
55+
github.com/spf13/afero v1.9.2 // indirect
56+
github.com/spf13/cast v1.3.0 // indirect
57+
github.com/spf13/jwalterweatherman v1.0.0 // indirect
58+
github.com/spf13/pflag v1.0.5 // indirect
59+
github.com/xlab/treeprint v1.2.0 // indirect
60+
go.starlark.net v0.0.0-20230525235612-a134d8f9ddca // indirect
61+
golang.org/x/net v0.23.0 // indirect
62+
golang.org/x/oauth2 v0.10.0 // indirect
63+
golang.org/x/sync v0.6.0 // indirect
64+
golang.org/x/sys v0.18.0 // indirect
65+
golang.org/x/term v0.18.0 // indirect
66+
golang.org/x/text v0.14.0 // indirect
67+
golang.org/x/time v0.3.0 // indirect
68+
google.golang.org/appengine v1.6.7 // indirect
69+
google.golang.org/protobuf v1.33.0 // indirect
70+
gopkg.in/inf.v0 v0.9.1 // indirect
71+
gopkg.in/yaml.v2 v2.4.0 // indirect
72+
gopkg.in/yaml.v3 v3.0.1 // indirect
73+
k8s.io/klog/v2 v2.120.1 // indirect
74+
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
75+
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
76+
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
77+
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
78+
sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 // indirect
79+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
80+
sigs.k8s.io/yaml v1.3.0 // indirect
5081
)

0 commit comments

Comments
 (0)