v1.4.4 Latest Latest

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type Manager

type Manager struct {
	// contains filtered or unexported fields

func NewManager

func NewManager(ec2Client *ec2.EC2, vpcID string) *Manager

func (*Manager) AuthorizeSecurityGroupEgress

func (d *Manager) AuthorizeSecurityGroupEgress(securityGroupID string, port int,
	protocol string) error

func (*Manager) AuthorizeSecurityGroupIngress

func (d *Manager) AuthorizeSecurityGroupIngress(securityGroupID string, port int,
	protocol string) error

func (*Manager) CreateSecurityGroup

func (d *Manager) CreateSecurityGroup(groupName string) (string, error)

func (*Manager) DeleteSecurityGroup

func (d *Manager) DeleteSecurityGroup(ctx context.Context, securityGroupID string) error

func (*Manager) GetENISecurityGroups

func (d *Manager) GetENISecurityGroups(eniID string) ([]string, error)

func (*Manager) GetInstanceDetails added in v1.1.0

func (d *Manager) GetInstanceDetails(instanceID string) (*ec2.Instance, error)

func (*Manager) GetPrivateIPv4AddressAndPrefix added in v1.1.8

func (d *Manager) GetPrivateIPv4AddressAndPrefix(instanceID string) ([]string, []string, error)

func (*Manager) GetSecurityGroupID added in v1.1.0

func (d *Manager) GetSecurityGroupID(securityGroupName string) (string, error)

func (*Manager) RevokeSecurityGroupIngress added in v1.1.0

func (d *Manager) RevokeSecurityGroupIngress(securityGroupID string, port int,
	protocol string) error

func (*Manager) UnAssignSecondaryIPv4Address added in v1.1.0

func (d *Manager) UnAssignSecondaryIPv4Address(instanceID string, secondaryIPv4Address []string) error

func (*Manager) WaitTillTheENIIsDeleted

func (d *Manager) WaitTillTheENIIsDeleted(ctx context.Context, eniID string) error

Jump to

Keyboard shortcuts

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