Documentation
¶
Overview ¶
ls.go defines the 'ls' subcommand for security group operations.
show.go displays detailed information about a security group.
Index ¶
- Variables
- func ListSecurityGroupRules(cmd *cobra.Command, args []string) error
- func ListSecurityGroups(cmd *cobra.Command, args []string) error
- func NewLsFlags(cobraCmd *cobra.Command)
- func NewSecurityGroupRootCmd() *cobra.Command
- func NewShowFlags(cobraCmd *cobra.Command)
- func ShowSecurityGroup(cmd *cobra.Command, arg string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdAliases = []string{"security-groups", "sg", "security-group", "sgs"}
Functions ¶
func ListSecurityGroups ¶
ListSecurityGroups is the handler for the ls subcommand. If a security group name is provided, it will list the IP permissions for that security group. Otherwise, it will list all security groups.
func NewLsFlags ¶
NewLsFlags adds flags for the ls subcommand.
func NewShowFlags ¶
newShowFlags adds flags for the show subcommand.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.