Documentation ¶
Index ¶
- type AWS
- type Client
- func (a *Client) CreateCNAME(dnsName string, dnsEndpoints []string, logger log.FieldLogger) error
- func (a *Client) DeleteCNAME(dnsName string, logger log.FieldLogger) error
- func (a *Client) TagResource(resourceID, key, value string, logger log.FieldLogger) error
- func (a *Client) UntagResource(resourceID, key, value string, logger log.FieldLogger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS interface { CreateCNAME(dnsName string, dnsEndpoints []string, logger log.FieldLogger) error DeleteCNAME(dnsName string, logger log.FieldLogger) error TagResource(resourceID, key, value string, logger log.FieldLogger) error UntagResource(resourceID, key, value string, logger log.FieldLogger) error }
AWS interface for use by other packages.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for interacting with AWS resources.
func (*Client) CreateCNAME ¶
CreateCNAME creates an AWS route53 CNAME record.
func (*Client) DeleteCNAME ¶
func (a *Client) DeleteCNAME(dnsName string, logger log.FieldLogger) error
DeleteCNAME deletes an AWS route53 CNAME record.
func (*Client) TagResource ¶
func (a *Client) TagResource(resourceID, key, value string, logger log.FieldLogger) error
TagResource tags an AWS EC2 resource.
func (*Client) UntagResource ¶
func (a *Client) UntagResource(resourceID, key, value string, logger log.FieldLogger) error
UntagResource deletes tags from an AWS EC2 resource.
Click to show internal directories.
Click to hide internal directories.