Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzurePrivateDNSProvider ¶
type AzurePrivateDNSProvider struct { provider.BaseProvider // contains filtered or unexported fields }
AzurePrivateDNSProvider implements the DNS provider for Microsoft's Azure Private DNS service
func NewAzurePrivateDNSProvider ¶
func NewAzurePrivateDNSProvider(domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, resourceGroup string, subscriptionID string, dryRun bool) (*AzurePrivateDNSProvider, error)
NewAzurePrivateDNSProvider creates a new Azure Private DNS provider.
Returns the provider or an error if a provider could not be created.
func (*AzurePrivateDNSProvider) ApplyChanges ¶
ApplyChanges applies the given changes.
Returns nil if the operation was successful or an error if the operation failed.
type AzureProvider ¶
type AzureProvider struct { provider.BaseProvider // contains filtered or unexported fields }
AzureProvider implements the DNS provider for Microsoft's Azure cloud platform.
func NewAzureProvider ¶
func NewAzureProvider(configFile string, domainFilter endpoint.DomainFilter, zoneIDFilter provider.ZoneIDFilter, resourceGroup string, userAssignedIdentityClientID string, dryRun bool) (*AzureProvider, error)
NewAzureProvider creates a new Azure provider.
Returns the provider or an error if a provider could not be created.
func (*AzureProvider) ApplyChanges ¶
ApplyChanges applies the given changes.
Returns nil if the operation was successful or an error if the operation failed.
type PrivateRecordSetsClient ¶
type PrivateRecordSetsClient interface { ListComplete(ctx context.Context, resourceGroupName string, zoneName string, top *int32, recordSetNameSuffix string) (result privatedns.RecordSetListResultIterator, err error) Delete(ctx context.Context, resourceGroupName string, privateZoneName string, recordType privatedns.RecordType, relativeRecordSetName string, ifMatch string) (result autorest.Response, err error) CreateOrUpdate(ctx context.Context, resourceGroupName string, privateZoneName string, recordType privatedns.RecordType, relativeRecordSetName string, parameters privatedns.RecordSet, ifMatch string, ifNoneMatch string) (result privatedns.RecordSet, err error) }
PrivateRecordSetsClient is an interface of privatedns.RecordSetsClient that can be stubbed for testing.
type PrivateZonesClient ¶
type PrivateZonesClient interface {
ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32) (result privatedns.PrivateZoneListResultIterator, err error)
}
PrivateZonesClient is an interface of privatedns.PrivateZoneClient that can be stubbed for testing.
type RecordSetsClient ¶
type RecordSetsClient interface { ListAllByDNSZoneComplete(ctx context.Context, resourceGroupName string, zoneName string, top *int32, recordSetNameSuffix string) (result dns.RecordSetListResultIterator, err error) Delete(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType dns.RecordType, ifMatch string) (result autorest.Response, err error) CreateOrUpdate(ctx context.Context, resourceGroupName string, zoneName string, relativeRecordSetName string, recordType dns.RecordType, parameters dns.RecordSet, ifMatch string, ifNoneMatch string) (result dns.RecordSet, err error) }
RecordSetsClient is an interface of dns.RecordSetsClient that can be stubbed for testing.
type ZonesClient ¶
type ZonesClient interface {
ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, top *int32) (result dns.ZoneListResultIterator, err error)
}
ZonesClient is an interface of dns.ZoneClient that can be stubbed for testing.