Documentation ¶
Overview ¶
internal implements a stub for the AWS Route53 API, used primarily for unit testing purposes
Index ¶
- type Route53API
- type Route53APIStub
- func (r *Route53APIStub) ChangeResourceRecordSets(input *route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error)
- func (r *Route53APIStub) CreateHostedZone(input *route53.CreateHostedZoneInput) (*route53.CreateHostedZoneOutput, error)
- func (r *Route53APIStub) DeleteHostedZone(input *route53.DeleteHostedZoneInput) (*route53.DeleteHostedZoneOutput, error)
- func (r *Route53APIStub) ListHostedZones(*route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)
- func (r *Route53APIStub) ListResourceRecordSets(input *route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route53API ¶
type Route53API interface { ListResourceRecordSets(*route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error) ChangeResourceRecordSets(*route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error) ListHostedZones(*route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error) CreateHostedZone(*route53.CreateHostedZoneInput) (*route53.CreateHostedZoneOutput, error) DeleteHostedZone(*route53.DeleteHostedZoneInput) (*route53.DeleteHostedZoneOutput, error) }
Route53API is the subset of the AWS Route53 API that we actually use. Add methods as required. Signatures must match exactly.
type Route53APIStub ¶
type Route53APIStub struct {
// contains filtered or unexported fields
}
Route53APIStub is a minimal implementation of Route53API, used primarily for unit testing. See http://http://docs.aws.amazon.com/sdk-for-go/api/service/route53.html for descriptions of all of it's methods.
func NewRoute53APIStub ¶
func NewRoute53APIStub() *Route53APIStub
NewRoute53APIStub returns an initlialized Route53APIStub
func (*Route53APIStub) ChangeResourceRecordSets ¶
func (r *Route53APIStub) ChangeResourceRecordSets(input *route53.ChangeResourceRecordSetsInput) (*route53.ChangeResourceRecordSetsOutput, error)
func (*Route53APIStub) CreateHostedZone ¶
func (r *Route53APIStub) CreateHostedZone(input *route53.CreateHostedZoneInput) (*route53.CreateHostedZoneOutput, error)
func (*Route53APIStub) DeleteHostedZone ¶
func (r *Route53APIStub) DeleteHostedZone(input *route53.DeleteHostedZoneInput) (*route53.DeleteHostedZoneOutput, error)
func (*Route53APIStub) ListHostedZones ¶
func (r *Route53APIStub) ListHostedZones(*route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)
func (*Route53APIStub) ListResourceRecordSets ¶
func (r *Route53APIStub) ListResourceRecordSets(input *route53.ListResourceRecordSetsInput) (*route53.ListResourceRecordSetsOutput, error)
Click to show internal directories.
Click to hide internal directories.