Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Cmd = &cobra.Command{ Use: "remove-eni", Short: "Remove unused Elastic Network Interfaces.", RunE: runRemoveENI, PreRunE: func(cmd *cobra.Command, args []string) error { regionFlag := cmd.Flags().Lookup("region") if regionFlag != nil { region = regionFlag.Value.String() } profileFlag := cmd.Flags().Lookup("profile") if profileFlag != nil { profile = profileFlag.Value.String() } if len(*eni) <= 0 { return fmt.Errorf("no Security Group ID provided") } return nil }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.