Documentation ¶
Overview ¶
route53 is the implementation of pkg/dnsprovider interface for AWS Route53
Index ¶
- Constants
- type Interface
- type ResourceRecordChangeset
- func (c *ResourceRecordChangeset) Add(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- func (c *ResourceRecordChangeset) Apply() error
- func (c *ResourceRecordChangeset) IsEmpty() bool
- func (c *ResourceRecordChangeset) Remove(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- func (c *ResourceRecordChangeset) Upsert(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- type ResourceRecordSet
- type ResourceRecordSets
- func (rrsets ResourceRecordSets) Get(name string) (dnsprovider.ResourceRecordSet, error)
- func (rrsets ResourceRecordSets) List() ([]dnsprovider.ResourceRecordSet, error)
- func (r ResourceRecordSets) New(name string, rrdatas []string, ttl int64, rrstype rrstype.RrsType) dnsprovider.ResourceRecordSet
- func (r ResourceRecordSets) StartChangeset() dnsprovider.ResourceRecordChangeset
- type Zone
- type Zones
Constants ¶
const (
ProviderName = "aws-route53"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func New ¶
func New(service stubs.Route53API) *Interface
New builds an Interface, with a specified Route53API implementation. This is useful for testing purposes, but also if we want an instance with with custom AWS options.
type ResourceRecordChangeset ¶ added in v1.4.0
type ResourceRecordChangeset struct {
// contains filtered or unexported fields
}
func (*ResourceRecordChangeset) Add ¶ added in v1.4.0
func (c *ResourceRecordChangeset) Add(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
func (*ResourceRecordChangeset) Apply ¶ added in v1.4.0
func (c *ResourceRecordChangeset) Apply() error
func (*ResourceRecordChangeset) IsEmpty ¶
func (c *ResourceRecordChangeset) IsEmpty() bool
func (*ResourceRecordChangeset) Remove ¶ added in v1.4.0
func (c *ResourceRecordChangeset) Remove(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
func (*ResourceRecordChangeset) Upsert ¶
func (c *ResourceRecordChangeset) Upsert(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
type ResourceRecordSet ¶
type ResourceRecordSet struct {
// contains filtered or unexported fields
}
func (ResourceRecordSet) Name ¶
func (rrset ResourceRecordSet) Name() string
func (ResourceRecordSet) Route53ResourceRecordSet ¶
func (rrset ResourceRecordSet) Route53ResourceRecordSet() *route53.ResourceRecordSet
Route53ResourceRecordSet returns the route53 ResourceRecordSet object for the ResourceRecordSet This is a "back door" that allows for limited access to the ResourceRecordSet, without having to requery it, so that we can expose AWS specific functionality. Using this method should be avoided where possible; instead prefer to add functionality to the cross-provider ResourceRecordSet interface.
func (ResourceRecordSet) Rrdatas ¶
func (rrset ResourceRecordSet) Rrdatas() []string
func (ResourceRecordSet) Ttl ¶
func (rrset ResourceRecordSet) Ttl() int64
func (ResourceRecordSet) Type ¶
func (rrset ResourceRecordSet) Type() rrstype.RrsType
type ResourceRecordSets ¶
type ResourceRecordSets struct {
// contains filtered or unexported fields
}
func (ResourceRecordSets) Get ¶
func (rrsets ResourceRecordSets) Get(name string) (dnsprovider.ResourceRecordSet, error)
func (ResourceRecordSets) List ¶
func (rrsets ResourceRecordSets) List() ([]dnsprovider.ResourceRecordSet, error)
func (ResourceRecordSets) New ¶
func (r ResourceRecordSets) New(name string, rrdatas []string, ttl int64, rrstype rrstype.RrsType) dnsprovider.ResourceRecordSet
func (ResourceRecordSets) StartChangeset ¶ added in v1.4.0
func (r ResourceRecordSets) StartChangeset() dnsprovider.ResourceRecordChangeset
type Zone ¶
type Zone struct {
// contains filtered or unexported fields
}
func (*Zone) ResourceRecordSets ¶
func (zone *Zone) ResourceRecordSets() (dnsprovider.ResourceRecordSets, bool)
func (*Zone) Route53HostedZone ¶
func (zone *Zone) Route53HostedZone() *route53.HostedZone
Route53HostedZone returns the route53 HostedZone object for the zone. This is a "back door" that allows for limited access to the HostedZone, without having to requery it, so that we can expose AWS specific functionality. Using this method should be avoided where possible; instead prefer to add functionality to the cross-provider Zone interface.
type Zones ¶
type Zones struct {
// contains filtered or unexported fields
}
func (Zones) Add ¶
func (zones Zones) Add(zone dnsprovider.Zone) (dnsprovider.Zone, error)