aws

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const TYPE_CODE = validation.ProviderType

Variables

View Source
var Factory = provider.NewDNSHandlerFactory(NewHandler, validation.NewAdapter()).
	SetGenericFactoryOptionDefaults(provider.GenericFactoryOptionDefaults.
		SetRateLimiterOptions(rateLimiterDefaults).SetAdvancedOptions(advancedDefaults))

Functions

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) GetZones

func (h *Handler) GetZones() (provider.DNSHostedZones, error)

func (*Handler) MapTargets added in v0.17.0

func (h *Handler) MapTargets(_ string, targets []provider.Target) []provider.Target

func (*Handler) Release

func (h *Handler) Release()

Directories

Path Synopsis
SPDX-FileCopyrightText: SAP SE or an SAP affiliate company and Gardener contributors
SPDX-FileCopyrightText: SAP SE or an SAP affiliate company and Gardener contributors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL