Documentation ¶
Index ¶
- func NewResource() *resource.Resource
- type Getter
- func (g *Getter) Get(id string, output printer.Output, options resource.Options) error
- func (g *Getter) GetSecurityGroupRulesById(id string) ([]types.SecurityGroupRule, error)
- func (g *Getter) GetSecurityGroupRulesByLoadBalancerName(name string) ([]types.SecurityGroupRule, error)
- func (g *Getter) GetSecurityGroupRulesByNetworkInterfaceId(eniId string) ([]types.SecurityGroupRule, error)
- func (g *Getter) GetSecurityGroupRulesBySecurityGroupId(securityGroupId string) ([]types.SecurityGroupRule, error)
- func (g *Getter) Init()
- type SecurityGroupRuleOptions
- type SecurityGroupRulePrinter
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) GetSecurityGroupRulesById ¶
func (g *Getter) GetSecurityGroupRulesById(id string) ([]types.SecurityGroupRule, error)
func (*Getter) GetSecurityGroupRulesByLoadBalancerName ¶
func (g *Getter) GetSecurityGroupRulesByLoadBalancerName(name string) ([]types.SecurityGroupRule, error)
func (*Getter) GetSecurityGroupRulesByNetworkInterfaceId ¶
func (g *Getter) GetSecurityGroupRulesByNetworkInterfaceId(eniId string) ([]types.SecurityGroupRule, error)
func (*Getter) GetSecurityGroupRulesBySecurityGroupId ¶
func (g *Getter) GetSecurityGroupRulesBySecurityGroupId(securityGroupId string) ([]types.SecurityGroupRule, error)
type SecurityGroupRuleOptions ¶
type SecurityGroupRuleOptions struct { resource.CommonOptions Egress bool Ingress bool LoadBalancerName string NetworkInterfaceId string SecurityGroupId string }
func NewOptions ¶
func NewOptions() (options *SecurityGroupRuleOptions, flags cmd.Flags)
type SecurityGroupRulePrinter ¶
type SecurityGroupRulePrinter struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(securityGroupRules []types.SecurityGroupRule, clusterName string) *SecurityGroupRulePrinter
func (*SecurityGroupRulePrinter) PrintJSON ¶
func (p *SecurityGroupRulePrinter) PrintJSON(writer io.Writer) error
func (*SecurityGroupRulePrinter) PrintTable ¶
func (p *SecurityGroupRulePrinter) PrintTable(writer io.Writer) error
Click to show internal directories.
Click to hide internal directories.