Documentation ¶
Overview ¶
Generated by go-decorator, DO NOT EDIT
Index ¶
- Variables
- type EC2
- func (this *EC2) AuthorizeSecurityGroupIngress(ingresses []*SecurityGroupIngress) error
- func (this *EC2) AuthorizeSecurityGroupIngressFromGroup(groupId, sourceGroupId string) error
- func (this *EC2) CreateSecurityGroup(name, desc, vpcId string) (*string, error)
- func (this *EC2) DeleteSecurityGroup(group *SecurityGroup) error
- func (this *EC2) DescribeInstance(instanceId string) (*Instance, error)
- func (this *EC2) DescribeSecurityGroup(name string) (*SecurityGroup, error)
- func (this *EC2) DescribeSubnet(subnetId string) (*Subnet, error)
- func (this *EC2) DescribeVPC(vpcId string) (*VPC, error)
- func (this *EC2) DescribeVPCByName(vpcName string) (*VPC, error)
- func (this *EC2) DescribeVPCGateways(vpcId string) ([]*InternetGateway, error)
- func (this *EC2) DescribeVPCRoutes(vpcId string) ([]*RouteTable, error)
- func (this *EC2) DescribeVPCSubnets(vpcId string) ([]*Subnet, error)
- func (this *EC2) RevokeSecurityGroupIngress(ingresses []*SecurityGroupIngress) error
- func (this *EC2) RevokeSecurityGroupIngressHelper(groupID string, permission IpPermission) error
- type EC2Internal
- type Instance
- type InternetGateway
- type IpPermission
- type Provider
- type ProviderDecorator
- func (this *ProviderDecorator) AuthorizeSecurityGroupIngress(p0 []*SecurityGroupIngress) (err error)
- func (this *ProviderDecorator) AuthorizeSecurityGroupIngressFromGroup(p0 string, p1 string) (err error)
- func (this *ProviderDecorator) CreateSecurityGroup(p0 string, p1 string, p2 string) (v0 *string, err error)
- func (this *ProviderDecorator) DeleteSecurityGroup(p0 *SecurityGroup) (err error)
- func (this *ProviderDecorator) DescribeInstance(p0 string) (v0 *Instance, err error)
- func (this *ProviderDecorator) DescribeSecurityGroup(p0 string) (v0 *SecurityGroup, err error)
- func (this *ProviderDecorator) DescribeSubnet(p0 string) (v0 *Subnet, err error)
- func (this *ProviderDecorator) DescribeVPC(p0 string) (v0 *VPC, err error)
- func (this *ProviderDecorator) DescribeVPCByName(p0 string) (v0 *VPC, err error)
- func (this *ProviderDecorator) DescribeVPCGateways(p0 string) (v0 []*InternetGateway, err error)
- func (this *ProviderDecorator) DescribeVPCRoutes(p0 string) (v0 []*RouteTable, err error)
- func (this *ProviderDecorator) DescribeVPCSubnets(p0 string) (v0 []*Subnet, err error)
- func (this *ProviderDecorator) RevokeSecurityGroupIngress(p0 []*SecurityGroupIngress) (err error)
- func (this *ProviderDecorator) RevokeSecurityGroupIngressHelper(p0 string, p1 IpPermission) (err error)
- type RouteTable
- type SecurityGroup
- type SecurityGroupIngress
- type Subnet
- type UserIdGroupPair
- type VPC
Constants ¶
This section is empty.
Variables ¶
View Source
var InstanceSizes = map[string]bytesize.Bytesize{}/* 226 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type EC2 ¶
type EC2 struct { Connect func() (EC2Internal, error) // contains filtered or unexported fields }
func (*EC2) AuthorizeSecurityGroupIngress ¶
func (this *EC2) AuthorizeSecurityGroupIngress(ingresses []*SecurityGroupIngress) error
func (*EC2) AuthorizeSecurityGroupIngressFromGroup ¶
func (*EC2) CreateSecurityGroup ¶
func (*EC2) DeleteSecurityGroup ¶
func (this *EC2) DeleteSecurityGroup(group *SecurityGroup) error
func (*EC2) DescribeInstance ¶
func (*EC2) DescribeSecurityGroup ¶
func (this *EC2) DescribeSecurityGroup(name string) (*SecurityGroup, error)
func (*EC2) DescribeVPCGateways ¶
func (this *EC2) DescribeVPCGateways(vpcId string) ([]*InternetGateway, error)
func (*EC2) DescribeVPCRoutes ¶
func (this *EC2) DescribeVPCRoutes(vpcId string) ([]*RouteTable, error)
func (*EC2) DescribeVPCSubnets ¶
func (*EC2) RevokeSecurityGroupIngress ¶
func (this *EC2) RevokeSecurityGroupIngress(ingresses []*SecurityGroupIngress) error
func (*EC2) RevokeSecurityGroupIngressHelper ¶
func (this *EC2) RevokeSecurityGroupIngressHelper(groupID string, permission IpPermission) error
type EC2Internal ¶
type EC2Internal interface { CreateSecurityGroup(*ec2.CreateSecurityGroupInput) (*ec2.CreateSecurityGroupOutput, error) AuthorizeSecurityGroupIngress(*ec2.AuthorizeSecurityGroupIngressInput) (*ec2.AuthorizeSecurityGroupIngressOutput, error) RevokeSecurityGroupIngress(*ec2.RevokeSecurityGroupIngressInput) (*ec2.RevokeSecurityGroupIngressOutput, error) DescribeSecurityGroups(*ec2.DescribeSecurityGroupsInput) (*ec2.DescribeSecurityGroupsOutput, error) DescribeSubnets(input *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error) DeleteSecurityGroup(*ec2.DeleteSecurityGroupInput) (*ec2.DeleteSecurityGroupOutput, error) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) DescribeVpcs(input *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error) DescribeInternetGateways(input *ec2.DescribeInternetGatewaysInput) (*ec2.DescribeInternetGatewaysOutput, error) DescribeRouteTables(input *ec2.DescribeRouteTablesInput) (*ec2.DescribeRouteTablesOutput, error) }
func Connect ¶
func Connect(credProvider provider.CredProvider, region string) (EC2Internal, error)
type Instance ¶
func NewInstance ¶
func NewInstance() *Instance
type InternetGateway ¶
type InternetGateway struct {
*ec2.InternetGateway
}
func NewInternetGateway ¶
func NewInternetGateway() *InternetGateway
type IpPermission ¶
type IpPermission struct {
*ec2.IpPermission
}
type Provider ¶
type Provider interface { CreateSecurityGroup(name, desc, vpcId string) (*string, error) AuthorizeSecurityGroupIngress(input []*SecurityGroupIngress) error RevokeSecurityGroupIngress(input []*SecurityGroupIngress) error RevokeSecurityGroupIngressHelper(groupID string, permission IpPermission) error AuthorizeSecurityGroupIngressFromGroup(groupId, sourceGroupId string) error DescribeSecurityGroup(name string) (*SecurityGroup, error) DescribeSubnet(subnetId string) (*Subnet, error) DeleteSecurityGroup(*SecurityGroup) error DescribeInstance(instanceId string) (*Instance, error) DescribeVPC(vpcID string) (*VPC, error) DescribeVPCByName(vpcName string) (*VPC, error) DescribeVPCSubnets(vpcId string) ([]*Subnet, error) DescribeVPCGateways(vpcId string) ([]*InternetGateway, error) DescribeVPCRoutes(vpcId string) ([]*RouteTable, error) }
type ProviderDecorator ¶
type ProviderDecorator struct { Inner Provider Decorator func(name string, call func() error) error }
func (*ProviderDecorator) AuthorizeSecurityGroupIngress ¶
func (this *ProviderDecorator) AuthorizeSecurityGroupIngress(p0 []*SecurityGroupIngress) (err error)
func (*ProviderDecorator) AuthorizeSecurityGroupIngressFromGroup ¶
func (this *ProviderDecorator) AuthorizeSecurityGroupIngressFromGroup(p0 string, p1 string) (err error)
func (*ProviderDecorator) CreateSecurityGroup ¶
func (*ProviderDecorator) DeleteSecurityGroup ¶
func (this *ProviderDecorator) DeleteSecurityGroup(p0 *SecurityGroup) (err error)
func (*ProviderDecorator) DescribeInstance ¶
func (this *ProviderDecorator) DescribeInstance(p0 string) (v0 *Instance, err error)
func (*ProviderDecorator) DescribeSecurityGroup ¶
func (this *ProviderDecorator) DescribeSecurityGroup(p0 string) (v0 *SecurityGroup, err error)
func (*ProviderDecorator) DescribeSubnet ¶
func (this *ProviderDecorator) DescribeSubnet(p0 string) (v0 *Subnet, err error)
func (*ProviderDecorator) DescribeVPC ¶
func (this *ProviderDecorator) DescribeVPC(p0 string) (v0 *VPC, err error)
func (*ProviderDecorator) DescribeVPCByName ¶
func (this *ProviderDecorator) DescribeVPCByName(p0 string) (v0 *VPC, err error)
func (*ProviderDecorator) DescribeVPCGateways ¶
func (this *ProviderDecorator) DescribeVPCGateways(p0 string) (v0 []*InternetGateway, err error)
func (*ProviderDecorator) DescribeVPCRoutes ¶
func (this *ProviderDecorator) DescribeVPCRoutes(p0 string) (v0 []*RouteTable, err error)
func (*ProviderDecorator) DescribeVPCSubnets ¶
func (this *ProviderDecorator) DescribeVPCSubnets(p0 string) (v0 []*Subnet, err error)
func (*ProviderDecorator) RevokeSecurityGroupIngress ¶
func (this *ProviderDecorator) RevokeSecurityGroupIngress(p0 []*SecurityGroupIngress) (err error)
func (*ProviderDecorator) RevokeSecurityGroupIngressHelper ¶
func (this *ProviderDecorator) RevokeSecurityGroupIngressHelper(p0 string, p1 IpPermission) (err error)
type RouteTable ¶
type RouteTable struct {
*ec2.RouteTable
}
func NewRouteTable ¶
func NewRouteTable() *RouteTable
type SecurityGroup ¶
type SecurityGroup struct {
*ec2.SecurityGroup
}
func NewSecurityGroup ¶
func NewSecurityGroup(id string) *SecurityGroup
type SecurityGroupIngress ¶
type SecurityGroupIngress struct { *ec2.AuthorizeSecurityGroupIngressInput *ec2.RevokeSecurityGroupIngressInput }
func NewSecurityGroupIngress ¶
func NewSecurityGroupIngress(groupID, cidrIP, protocol string, fromPort, toPort int) *SecurityGroupIngress
type UserIdGroupPair ¶
type UserIdGroupPair struct {
*ec2.UserIdGroupPair
}
Click to show internal directories.
Click to hide internal directories.