ec2

package
v0.0.0-...-3250024 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

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

Adapter is a AWS EC2 Security Groups API implementation of the domain.Adapter interface

func NewAWSSecurityGroupAdapter

func NewAWSSecurityGroupAdapter(client *ec2.Client, securityGroupID string) *Adapter

NewAWSSecurityGroupAdapter is a constructor for Adapter

func (*Adapter) CreateRules

func (a *Adapter) CreateRules(rules []domain.Rule) (result domain.AdapterResult)

CreateRules satisfies the domain.Adapter interface

func (*Adapter) DeleteRules

func (a *Adapter) DeleteRules(rules []domain.Rule) (result domain.AdapterResult)

DeleteRules satisfies the domain.Adapter interface

func (*Adapter) ToString

func (a *Adapter) ToString() string

ToString satisfies the domain.Adapter interface

Jump to

Keyboard shortcuts

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