Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- type Getter
- func (g *Getter) Get(id string, output printer.Output, options resource.Options) error
- func (g *Getter) GetSecurityGroupsByLoadBalancerName(name string) ([]types.SecurityGroup, error)
- func (g *Getter) GetSecurityGroupsByNetworkInterface(networkInterfaceId string) ([]types.SecurityGroup, error)
- func (g *Getter) Init()
- type Manager
- type SecurityGroupOptions
- type SecurityGroupPrinter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewResource ¶
Types ¶
type Getter ¶
type Getter struct {
// contains filtered or unexported fields
}
func (*Getter) GetSecurityGroupsByLoadBalancerName ¶
func (g *Getter) GetSecurityGroupsByLoadBalancerName(name string) ([]types.SecurityGroup, error)
func (*Getter) GetSecurityGroupsByNetworkInterface ¶
func (g *Getter) GetSecurityGroupsByNetworkInterface(networkInterfaceId string) ([]types.SecurityGroup, error)
type SecurityGroupOptions ¶
type SecurityGroupOptions struct { resource.CommonOptions LoadBalancerName string NetworkInterfaceId string }
func NewOptions ¶
func NewOptions() (options *SecurityGroupOptions, flags cmd.Flags)
type SecurityGroupPrinter ¶
type SecurityGroupPrinter struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(securityGroups []types.SecurityGroup) *SecurityGroupPrinter
func (*SecurityGroupPrinter) PrintJSON ¶
func (p *SecurityGroupPrinter) PrintJSON(writer io.Writer) error
func (*SecurityGroupPrinter) PrintTable ¶
func (p *SecurityGroupPrinter) PrintTable(writer io.Writer) error
Click to show internal directories.
Click to hide internal directories.