Skip to content

Commit

Permalink
feat: remove cloud scanning (#37)
Browse files Browse the repository at this point in the history
Removing the cloud scanning functionality. It moved on a lot after I
left Aqua and I don't have a handle on the storage to be able to use it
properly.

Might reimplement later

Signed-off-by: Owen Rumney <[email protected]>
  • Loading branch information
owenrumney authored Jan 30, 2023
1 parent 5e97126 commit aba663f
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 1,035 deletions.
11 changes: 0 additions & 11 deletions internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ var cmdImage = &cobra.Command{
},
}

var cmdAWS = &cobra.Command{
Use: "aws",
Short: "Launch lazytrivy in aws scanning mode",
RunE: func(cmd *cobra.Command, args []string) error {
return startGUI(widgets.AWSTab)
},
}

var cmdFS = &cobra.Command{
Use: "filesystem",
Aliases: []string{"fs"},
Expand All @@ -36,8 +28,6 @@ func GetRootCmd() *cobra.Command {

cmdImage.Flags().AddFlagSet(generalFlags)

cmdAWS.Flags().AddFlagSet(generalFlags)

cmdFS.Flags().AddFlagSet(generalFlags)
cmdFS.Flags().AddFlagSet(filesystemFlags)

Expand All @@ -46,7 +36,6 @@ func GetRootCmd() *cobra.Command {
}

rootCmd.AddCommand(cmdImage)
rootCmd.AddCommand(cmdAWS)
rootCmd.AddCommand(cmdFS)

rootCmd.Flags().AddFlagSet(generalFlags)
Expand Down
278 changes: 0 additions & 278 deletions pkg/controllers/aws/aws.go

This file was deleted.

12 changes: 0 additions & 12 deletions pkg/controllers/aws/errors.go

This file was deleted.

40 changes: 0 additions & 40 deletions pkg/controllers/aws/help.go

This file was deleted.

Loading

0 comments on commit aba663f

Please sign in to comment.