Skip to content

Commit

Permalink
Remove old modules-related commands and code (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel authored Nov 28, 2024
1 parent cc5ffe9 commit 13b2856
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 1,838 deletions.
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.23.2
toolchain go1.23.3

require (
github.com/avast/retry-go v3.0.0+incompatible
github.com/docker/cli v27.3.1+incompatible
github.com/docker/docker v27.3.1+incompatible
github.com/gboddin/go-www-authenticate-parser v0.0.0-20230926203616-ec0b649bb077
Expand All @@ -17,7 +16,6 @@ require (
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.10.0
golang.org/x/mod v0.22.0
gopkg.in/yaml.v3 v3.0.1
istio.io/client-go v1.24.0
k8s.io/api v0.31.3
Expand Down
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/avast/retry-go v3.0.0+incompatible h1:4SOWQ7Qs+oroOTQOYnAHqelpCO0biHSxpiH9JdtuBj0=
github.com/avast/retry-go v3.0.0+incompatible/go.mod h1:XtSnn+n/sHqQIpZ10K1qAevBhOOCWBLXXy3hyiqqBrY=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
Expand Down Expand Up @@ -233,8 +231,6 @@ golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 h1:e66Fs6Z+fZTbFBAxKfP3PALWB
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0/go.mod h1:2TbTHSBQa924w8M6Xs1QcRcFwyucIwBGpK1p2f1YFFY=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4=
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
Expand Down
55 changes: 0 additions & 55 deletions internal/cmd/alpha/add/add.go

This file was deleted.

38 changes: 0 additions & 38 deletions internal/cmd/alpha/add/managed/managed.go

This file was deleted.

4 changes: 0 additions & 4 deletions internal/cmd/alpha/alpha.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package alpha
import (
"github.com/kyma-project/cli.v3/internal/clierror"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/access"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/add"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/app"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/hana"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/modules"
Expand All @@ -12,7 +11,6 @@ import (
"github.com/kyma-project/cli.v3/internal/cmd/alpha/referenceinstance"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/registry/config"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/registry/imageimport"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/remove"
"github.com/kyma-project/cli.v3/internal/cmd/alpha/templates"
"github.com/kyma-project/cli.v3/internal/cmdcommon"
"github.com/spf13/cobra"
Expand All @@ -32,14 +30,12 @@ func NewAlphaCMD() (*cobra.Command, clierror.Error) {
}

cmd.AddCommand(access.NewAccessCMD(kymaConfig))
cmd.AddCommand(add.NewAddCMD(kymaConfig))
cmd.AddCommand(app.NewAppCMD(kymaConfig))
cmd.AddCommand(hana.NewHanaCMD(kymaConfig))
cmd.AddCommand(modules.NewModulesCMD(kymaConfig))
cmd.AddCommand(oidc.NewOIDCCMD(kymaConfig))
cmd.AddCommand(provision.NewProvisionCMD())
cmd.AddCommand(referenceinstance.NewReferenceInstanceCMD(kymaConfig))
cmd.AddCommand(remove.NewRemoveCMD(kymaConfig))

cmds := kymaConfig.BuildExtensions(&cmdcommon.TemplateCommandsList{
// list of template commands deffinitions
Expand Down
41 changes: 0 additions & 41 deletions internal/cmd/alpha/remove/managed/managed.go

This file was deleted.

47 changes: 0 additions & 47 deletions internal/cmd/alpha/remove/remove.go

This file was deleted.

Loading

0 comments on commit 13b2856

Please sign in to comment.