cmd

package
v0.0.0-...-5360655 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright © 2023 Afreen khan <[email protected]>

Index

Constants

This section is empty.

Variables

View Source
var AwsxGlueCmd = &cobra.Command{
	Use:   "getGlueDetails",
	Short: "getGlueDetails command gets resource counts",
	Long:  `getGlueDetails command gets resource counts details of an AWS account`,

	Run: func(cmd *cobra.Command, args []string) {

		log.Println("Command get glue details started")

		authFlag, clientAuth, err := authenticate.CommandAuth(cmd)
		if err != nil {
			cmd.Help()
			return
		}
		if authFlag {
			GetListGlue(*clientAuth)
		} else {
			cmd.Help()
			return
		}
	},
}

AwsxGlueCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

func GetListGlue

func GetListGlue(auth client.Auth) (*glue.ListJobsOutput, error)

json.Unmarshal

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL