Documentation ¶
Index ¶
- Constants
- Variables
- func NewHandler(c *provider.DNSHandlerConfig) (provider.DNSHandler, error)
- type AWSConfig
- type Change
- type Execution
- type Handler
- func (h *Handler) AssociateVPCWithHostedZone(ctx context.Context, vpcId string, vpcRegion route53types.VPCRegion, ...) (*route53.AssociateVPCWithHostedZoneOutput, error)
- func (h *Handler) CreateOrUpdateRecordSet(ctx context.Context, logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) CreateVPCAssociationAuthorization(ctx context.Context, hostedZoneId string, vpcId string, ...) (*route53.CreateVPCAssociationAuthorizationOutput, error)
- func (h *Handler) DeleteRecordSet(ctx context.Context, logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) DeleteVPCAssociationAuthorization(ctx context.Context, hostedZoneId string, vpcId string, ...) (*route53.DeleteVPCAssociationAuthorizationOutput, error)
- func (h *Handler) DisassociateVPCFromHostedZone(ctx context.Context, vpcId string, vpcRegion route53types.VPCRegion, ...) (*route53.DisassociateVPCFromHostedZoneOutput, error)
- func (h *Handler) ExecuteRequests(logger logger.LogContext, zone provider.DNSHostedZone, ...) error
- func (h *Handler) GetRecordSet(ctx context.Context, zone provider.DNSHostedZone, setName dns.DNSSetName, ...) (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) MapTargets(_ string, targets []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 Change ¶
type Change struct { *route53types.Change Done provider.DoneHandler UpdateGroup string }
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(ctx context.Context, vpcId string, vpcRegion route53types.VPCRegion, 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(ctx context.Context, logger logger.LogContext, zone provider.DNSHostedZone, _, new provider.DedicatedRecordSet) error
func (*Handler) CreateVPCAssociationAuthorization ¶
func (h *Handler) CreateVPCAssociationAuthorization(ctx context.Context, hostedZoneId string, vpcId string, vpcRegion route53types.VPCRegion) (*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(ctx context.Context, logger logger.LogContext, zone provider.DNSHostedZone, rs provider.DedicatedRecordSet) error
func (*Handler) DeleteVPCAssociationAuthorization ¶
func (h *Handler) DeleteVPCAssociationAuthorization(ctx context.Context, hostedZoneId string, vpcId string, vpcRegion route53types.VPCRegion) (*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(ctx context.Context, vpcId string, vpcRegion route53types.VPCRegion, 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(ctx context.Context, zone provider.DNSHostedZone, setName dns.DNSSetName, recordType route53types.RRType) (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) MapTargets ¶ added in v0.17.0
func (*Handler) ReportZoneStateConflict ¶
func (h *Handler) ReportZoneStateConflict(zone provider.DNSHostedZone, err error) bool
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors
|
SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Gardener contributors |