Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) AddInboundToSecurityGroup(securityGroupID, protocol string, portRangeFrom, portRangeTo uint16, ...) error
- func (c *Client) CreateInstances(instanceType, imageID string, instanceCount uint16, securityGroupIDs []string, ...) ([]*_ec2.Instance, error)
- func (c *Client) CreateSecurityGroup(name, description, vpcID string) (string, error)
- func (c *Client) CreateTags(resourceID string, tags map[string]string) error
- func (c *Client) DeleteSecurityGroup(securityGroupID string) error
- func (c *Client) FindImage(ownerID, tagName string) ([]*_ec2.Image, error)
- func (c *Client) ListKeyPairs() ([]*_ec2.KeyPairInfo, error)
- func (c *Client) ListVPCSubnets(vpcID string) ([]string, error)
- func (c *Client) ListVPCs() ([]string, error)
- func (c *Client) RemoveInboundToSecurityGroup(securityGroupID, protocol string, portRangeFrom, portRangeTo uint16, ...) error
- func (c *Client) RetrieveDefaultVPC() (*_ec2.Vpc, error)
- func (c *Client) RetrieveInstances(instanceIDs []string) ([]*_ec2.Instance, error)
- func (c *Client) RetrieveKeyPair(keyPairName string) (*_ec2.KeyPairInfo, error)
- func (c *Client) RetrieveSecurityGroup(id string) (*_ec2.SecurityGroup, error)
- func (c *Client) RetrieveSecurityGroupByName(name string) (*_ec2.SecurityGroup, error)
- func (c *Client) RetrieveSecurityGroupByNameOrID(nameOrID string) (*_ec2.SecurityGroup, error)
- func (c *Client) RetrieveSecurityGroups(securityGroupIDs []string) ([]*_ec2.SecurityGroup, error)
- func (c *Client) RetrieveTags(resourceID string) (map[string]string, error)
- func (c *Client) RetrieveVPC(vpcID string) (*_ec2.Vpc, error)
Constants ¶
View Source
const ( SecurityGroupProtocolTCP = "tcp" SecurityGroupProtocolUDP = "udp" SecurityGroupProtocolICMP = "icmp" SecurityGroupProtocolAll = "all" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AddInboundToSecurityGroup ¶
func (*Client) CreateInstances ¶
func (*Client) CreateSecurityGroup ¶
func (*Client) CreateTags ¶
func (*Client) DeleteSecurityGroup ¶
func (*Client) ListKeyPairs ¶
func (c *Client) ListKeyPairs() ([]*_ec2.KeyPairInfo, error)
func (*Client) RemoveInboundToSecurityGroup ¶
func (*Client) RetrieveInstances ¶
func (*Client) RetrieveKeyPair ¶
func (c *Client) RetrieveKeyPair(keyPairName string) (*_ec2.KeyPairInfo, error)
func (*Client) RetrieveSecurityGroup ¶
func (c *Client) RetrieveSecurityGroup(id string) (*_ec2.SecurityGroup, error)
func (*Client) RetrieveSecurityGroupByName ¶
func (c *Client) RetrieveSecurityGroupByName(name string) (*_ec2.SecurityGroup, error)
func (*Client) RetrieveSecurityGroupByNameOrID ¶
func (c *Client) RetrieveSecurityGroupByNameOrID(nameOrID string) (*_ec2.SecurityGroup, error)
func (*Client) RetrieveSecurityGroups ¶
func (c *Client) RetrieveSecurityGroups(securityGroupIDs []string) ([]*_ec2.SecurityGroup, error)
func (*Client) RetrieveTags ¶
Click to show internal directories.
Click to hide internal directories.