Documentation
¶
Index ¶
- Constants
- Variables
- func NewHandler(c *provider.DNSHandlerConfig) (provider.DNSHandler, error)
- type AWSConfig
- type Change
- type Execution
- type Handler
- func (h *Handler) AssociateVPCWithHostedZone(vpcId string, vpcRegion string, hostedZoneId string) (*route53.AssociateVPCWithHostedZoneOutput, error)
- func (h *Handler) CreateOrUpdateRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) CreateVPCAssociationAuthorization(hostedZoneId string, vpcId string, vpcRegion string) (*route53.CreateVPCAssociationAuthorizationOutput, error)
- func (h *Handler) DeleteRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) DeleteVPCAssociationAuthorization(hostedZoneId string, vpcId string, vpcRegion string) (*route53.DeleteVPCAssociationAuthorizationOutput, error)
- func (h *Handler) DisassociateVPCFromHostedZone(vpcId string, vpcRegion string, hostedZoneId string) (*route53.DisassociateVPCFromHostedZoneOutput, error)
- func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) GetRecordSet(zone provider.DNSHostedZone, setName dns.DNSSetName, recordType string) (provider.DedicatedRecordSet, error)
- func (h *Handler) GetZoneByName(hostedZoneId string) (*route53.GetHostedZoneOutput, error)
- func (h *Handler) GetZoneState(zone provider.DNSHostedZone) (provider.DNSZoneState, error)
- func (h *Handler) GetZones() (provider.DNSHostedZones, error)
- func (h *Handler) MapTarget(t provider.Target) provider.Target
- func (h *Handler) Release()
- func (h *Handler) ReportZoneStateConflict(zone provider.DNSHostedZone, err error) bool
Constants ¶
const TYPE_CODE = "aws-route53"
Variables ¶
var Factory = provider.NewDNSHandlerFactory(TYPE_CODE, NewHandler). SetGenericFactoryOptionDefaults(provider.GenericFactoryOptionDefaults. SetRateLimiterOptions(rateLimiterDefaults).SetAdvancedOptions(advancedDefaults))
Functions ¶
func NewHandler ¶
func NewHandler(c *provider.DNSHandlerConfig) (provider.DNSHandler, error)
Types ¶
type Execution ¶
type Execution struct { logger.LogContext // contains filtered or unexported fields }
func NewExecution ¶
func NewExecution(logger logger.LogContext, h *Handler, zone provider.DNSHostedZone) *Execution
type Handler ¶
type Handler struct { provider.DefaultDNSHandler // contains filtered or unexported fields }
func (*Handler) AssociateVPCWithHostedZone ¶
func (h *Handler) AssociateVPCWithHostedZone(vpcId string, vpcRegion string, hostedZoneId string) (*route53.AssociateVPCWithHostedZoneOutput, error)
AssociateVPCWithHostedZone associates a VPC with a private hosted zone in use by external controller
func (*Handler) CreateOrUpdateRecordSet ¶ added in v0.11.0
func (h *Handler) CreateOrUpdateRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, old, new provider.DedicatedRecordSet) error
func (*Handler) CreateVPCAssociationAuthorization ¶
func (h *Handler) CreateVPCAssociationAuthorization(hostedZoneId string, vpcId string, vpcRegion string) (*route53.CreateVPCAssociationAuthorizationOutput, error)
CreateVPCAssociationAuthorization authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account
func (*Handler) DeleteRecordSet ¶ added in v0.11.0
func (h *Handler) DeleteRecordSet(logger logger.LogContext, zone provider.DNSHostedZone, rs provider.DedicatedRecordSet) error
func (*Handler) DeleteVPCAssociationAuthorization ¶
func (h *Handler) DeleteVPCAssociationAuthorization(hostedZoneId string, vpcId string, vpcRegion string) (*route53.DeleteVPCAssociationAuthorizationOutput, error)
DeleteVPCAssociationAuthorization removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account.
func (*Handler) DisassociateVPCFromHostedZone ¶
func (h *Handler) DisassociateVPCFromHostedZone(vpcId string, vpcRegion string, hostedZoneId string) (*route53.DisassociateVPCFromHostedZoneOutput, error)
DisassociateVPCFromHostedZone disassociates a VPC from a private hosted zone in use by external controller
func (*Handler) ExecuteRequests ¶
func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, state provider.DNSZoneState, reqs []*provider.ChangeRequest) error
func (*Handler) GetRecordSet ¶ added in v0.11.0
func (h *Handler) GetRecordSet(zone provider.DNSHostedZone, setName dns.DNSSetName, recordType string) (provider.DedicatedRecordSet, error)
func (*Handler) GetZoneByName ¶
func (h *Handler) GetZoneByName(hostedZoneId string) (*route53.GetHostedZoneOutput, error)
GetZoneByName returns detailed information about a zone in use by external controller
func (*Handler) GetZoneState ¶
func (h *Handler) GetZoneState(zone provider.DNSHostedZone) (provider.DNSZoneState, error)
func (*Handler) ReportZoneStateConflict ¶
func (h *Handler) ReportZoneStateConflict(zone provider.DNSHostedZone, err error) bool