security_group_rule

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT-0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() *resource.Resource

Types

type Getter

type Getter struct {
	// contains filtered or unexported fields
}

func NewGetter

func NewGetter(ec2Client *aws.EC2Client) *Getter

func (*Getter) Get

func (g *Getter) Get(id string, output printer.Output, options resource.Options) error

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)

func (*Getter) Init

func (g *Getter) Init()

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

func (*SecurityGroupRulePrinter) PrintYAML

func (p *SecurityGroupRulePrinter) PrintYAML(writer io.Writer) error

Jump to

Keyboard shortcuts

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