Documentation ¶
Index ¶
- type Client
- type Eni
- type SDKClient
- func (ec2 SDKClient) AuthorizeAllSecurityGroupIngress(groupID string) error
- func (ec2 SDKClient) CreateDefaultSecurityGroup() (string, error)
- func (ec2 SDKClient) DescribeNetworkInterfaces(eniIds []string) map[string]Eni
- func (ec2 SDKClient) GetDefaultSecurityGroupID() (string, error)
- func (ec2 SDKClient) GetDefaultSubnetIDs() ([]string, error)
- func (ec2 SDKClient) GetSubnetVPCID(subnetID string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶ added in v0.3.0
type Client interface { AuthorizeAllSecurityGroupIngress(string) error CreateDefaultSecurityGroup() (string, error) GetDefaultSecurityGroupID() (string, error) GetDefaultSubnetIDs() ([]string, error) GetSubnetVPCID(string) (string, error) }
Client represents a method for accessing EC2.
type SDKClient ¶ added in v0.3.0
type SDKClient struct {
// contains filtered or unexported fields
}
SDKClient implements access to EC2 via the AWS SDK.
func (SDKClient) AuthorizeAllSecurityGroupIngress ¶ added in v0.3.0
AuthorizeAllSecurityGroupIngress configures a security group to allow all ingress traffic.
func (SDKClient) CreateDefaultSecurityGroup ¶ added in v0.3.0
CreateDefaultSecurityGroup creates a new security group for use as the default.
func (SDKClient) DescribeNetworkInterfaces ¶ added in v0.3.0
func (SDKClient) GetDefaultSecurityGroupID ¶ added in v0.3.0
GetDefaultSecurityGroupID returns the ID of the permissive security group created by default.
func (SDKClient) GetDefaultSubnetIDs ¶ added in v0.3.0
GetDefaultSubnetIDs finds and returns the subnet IDs marked as default.
Click to show internal directories.
Click to hide internal directories.