Documentation
¶
Index ¶
- type ARN
- type AWSError
- type Client
- func (c *Client) CreateKey(name string) (string, error)
- func (c *Client) CreateStack(name string, template string, parameters map[string]string) (string, error)
- func (c *Client) DeleteKey(name string) error
- func (c *Client) DeleteObject(name string) error
- func (c *Client) DeleteStack(nameOrID string) error
- func (c *Client) DescribeStack(nameOrID string) (string, string, map[string]string, error)
- func (c *Client) EnsureBucketExists(bucketName string) error
- func (c *Client) GetAccountNumber() (string, error)
- func (c *Client) GetBucketName() (string, error)
- func (c *Client) GetHostsFromStackID(stackID string) (map[string]string, error)
- func (c *Client) ListKeys(prefix string) ([]string, error)
- func (c *Client) ParseARN(arnString string) (ARN, error)
- func (c *Client) StoreObject(name string, dataBytes []byte, downloadFileName string, contentType string) error
- func (c *Client) URLForObject(name string) (string, error)
- type CloudformationClient
- type Config
- type EC2Client
- type Endpoints
- type IAMClient
- type Route53Client
- type S3Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ARN ¶
ARN represents an Amazon Resource Name http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
type Client ¶
type Client struct { EC2 EC2Client S3 S3Client Route53 Route53Client Cloudformation CloudformationClient IAM IAMClient Region string // contains filtered or unexported fields }
func (*Client) CreateStack ¶
func (*Client) DeleteObject ¶
func (*Client) DeleteStack ¶
func (*Client) DescribeStack ¶
func (*Client) EnsureBucketExists ¶
func (*Client) GetAccountNumber ¶
func (*Client) GetBucketName ¶
func (*Client) GetHostsFromStackID ¶
func (*Client) StoreObject ¶
type CloudformationClient ¶
type CloudformationClient interface { CreateStack(*cloudformation.CreateStackInput) (*cloudformation.CreateStackOutput, error) DeleteStack(*cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error) DescribeStacks(*cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error) }
type EC2Client ¶
type EC2Client interface { CreateKeyPair(*ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error) DeleteKeyPair(*ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error) DescribeKeyPairs(*ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error) DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) }
type IAMClient ¶
type IAMClient interface {
GetUser(input *iam.GetUserInput) (*iam.GetUserOutput, error)
}
type Route53Client ¶
type Route53Client interface { ChangeResourceRecordSets(input *route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error) ListResourceRecordSets(input *route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error) }
type S3Client ¶
type S3Client interface { PutObject(input *s3.PutObjectInput) (*s3.PutObjectOutput, error) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error) CreateBucket(input *s3.CreateBucketInput) (*s3.CreateBucketOutput, error) }
Click to show internal directories.
Click to hide internal directories.