Documentation ¶
Overview ¶
Copyright © 2023 Manoj Sharma manoj.sharma@synectiks.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AwsxDynamoDbCmd = &cobra.Command{ Use: "dynamodb", Short: "get dynamodb Details command gets resource counts", Long: `get dynamodb Details command gets resource counts details of an AWS account`, Run: func(cmd *cobra.Command, args []string) { log.Println("Command dynamodb started") authFlag, clientAuth, err := authenticate.CommandAuth(cmd) if err != nil { cmd.Help() return } if authFlag { GetDynamoDbTableDetails(*clientAuth) } else { cmd.Help() return } }, }
AwsxDynamoDbCmd represents the base command when called without any subcommands
Functions ¶
func Execute ¶
func Execute()
Execute adds all child command to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetDynamoDbTableList ¶
func GetDynamoDbTableList(auth client.Auth) (*dynamodb.ListTablesOutput, error)
Types ¶
type DynamodbObj ¶ added in v1.0.2
type DynamodbObj struct { Table interface{} `json:"table"` Tags interface{} `json:"tags"` }
Click to show internal directories.
Click to hide internal directories.