security_group

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

ls.go defines the 'ls' subcommand for security group operations.

show.go displays detailed information about a security group.

Index

Constants

This section is empty.

Variables

View Source
var CmdAliases = []string{"security-groups", "sg", "security-group", "sgs"}

Functions

func ListSecurityGroupRules

func ListSecurityGroupRules(cmd *cobra.Command, args []string) error

func ListSecurityGroups

func ListSecurityGroups(cmd *cobra.Command, args []string) error

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

func NewLsFlags(cobraCmd *cobra.Command)

NewLsFlags adds flags for the ls subcommand.

func NewSecurityGroupRootCmd

func NewSecurityGroupRootCmd() *cobra.Command

Root command

func NewShowFlags

func NewShowFlags(cobraCmd *cobra.Command)

newShowFlags adds flags for the show subcommand.

func ShowSecurityGroup

func ShowSecurityGroup(cmd *cobra.Command, arg string) error

ShowSecurityGroup displays detailed information for a specified security group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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