Skip to content

Commit

Permalink
[cherry-pick] Remove Google Analytics (#938) (#943)
Browse files Browse the repository at this point in the history
/cherry-pick

Signed-off-by: Tamal Saha <tamal@appscode.com>

Co-authored-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
1gtm and tamalsaha authored Nov 24, 2021
1 parent 00a4de2 commit f5f2db0
Show file tree
Hide file tree
Showing 229 changed files with 8,772 additions and 19,372 deletions.
14 changes: 8 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@ module stash.appscode.dev/postgres
go 1.15

require (
github.com/google/gofuzz v1.2.0 // indirect
github.com/spf13/cobra v1.1.3
go.bytebuilders.dev/license-verifier/kubernetes v0.9.3
gomodules.xyz/flags v0.1.2
go.bytebuilders.dev/license-verifier/kubernetes v0.9.5
golang.org/x/tools v0.1.1-0.20210427153610-6397a11608ad // indirect
gomodules.xyz/flags v0.1.3
gomodules.xyz/go-sh v0.1.0
gomodules.xyz/logs v0.0.4
gomodules.xyz/logs v0.0.6
gomodules.xyz/x v0.0.8
k8s.io/api v0.21.1
k8s.io/apimachinery v0.21.1
k8s.io/client-go v0.21.1
k8s.io/klog/v2 v2.8.0
kmodules.xyz/client-go v0.0.0-20210928133955-8df5bb467db6
kmodules.xyz/custom-resources v0.0.0-20211007080833-72bd9e8cae6e
kmodules.xyz/offshoot-api v0.0.0-20210829122105-6f4d481b0c61
kmodules.xyz/client-go v0.0.0-20211122091731-6c471b24a4ea
kmodules.xyz/custom-resources v0.0.0-20211122142737-3bf3dbd8ac52
kmodules.xyz/offshoot-api v0.0.0-20211103060642-3e217667cf41
stash.appscode.dev/apimachinery v0.16.0
)

Expand Down
61 changes: 41 additions & 20 deletions go.sum

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions pkg/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"github.com/spf13/cobra"
v "gomodules.xyz/x/version"
clientsetscheme "k8s.io/client-go/kubernetes/scheme"
"kmodules.xyz/client-go/tools/cli"
)

var SupportedProducts = []string{"stash-enterprise", "kubedb-ext-stash"}
Expand All @@ -36,13 +35,10 @@ func NewRootCmd() *cobra.Command {
Long: `PostgreSQL backup & restore plugin for Stash by AppsCode. For more information, visit here: https://appscode.com/products/stash`,
DisableAutoGenTag: true,
PersistentPreRunE: func(c *cobra.Command, args []string) error {
cli.SendAnalytics(c, v.Version.Version)

return scheme.AddToScheme(clientsetscheme.Scheme)
},
}
rootCmd.PersistentFlags().StringVar(&licenseApiService, "license-apiservice", "", "Name of ApiService used to expose License endpoint")
rootCmd.PersistentFlags().BoolVar(&cli.EnableAnalytics, "enable-analytics", cli.EnableAnalytics, "Send analytical events to Google Analytics")

rootCmd.AddCommand(v.NewCmdVersion())
rootCmd.AddCommand(NewCmdBackup())
Expand Down
11 changes: 4 additions & 7 deletions vendor/github.com/google/gofuzz/.travis.yml

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

2 changes: 1 addition & 1 deletion vendor/github.com/google/gofuzz/CONTRIBUTING.md

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

18 changes: 18 additions & 0 deletions vendor/github.com/google/gofuzz/README.md

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

81 changes: 81 additions & 0 deletions vendor/github.com/google/gofuzz/bytesource/bytesource.go

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

137 changes: 118 additions & 19 deletions vendor/github.com/google/gofuzz/fuzz.go

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

9 changes: 0 additions & 9 deletions vendor/github.com/google/uuid/.travis.yml

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/google/uuid/CONTRIBUTING.md

This file was deleted.

Loading

0 comments on commit f5f2db0

Please sign in to comment.