Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
torgiren
External Dns
Commits
f4a1b675
Commit
f4a1b675
authored
4 years ago
by
Dave Salisbury
Browse files
Options
Download
Email Patches
Plain Diff
pdns_test: update multiple/mixed record expected values
parent
94b86178
master
Raffo-patch-1
dependabot/go_modules/github.com/Azure/azure-sdk-for-go-61.4.0incompatible
dependabot/go_modules/github.com/aliyun/alibaba-cloud-sdk-go-1.61.1473
dependabot/go_modules/github.com/exoscale/egoscale-1.19.0
dependabot/go_modules/github.com/projectcontour/contour-1.20.0
dependabot/go_modules/k8s.io/apimachinery-0.23.3
gh-pages
raffo-fix-2348
raffo/add-dependabot
raffo/add-trivy-scanning
raffo/bump-ci-timeout
raffo/bump-deps-sec
raffo/bump-kustomize
raffo/bump-kustomize-1
raffo/bump-modules
raffo/codeQL
raffo/drop-the-changelog
raffo/fix-build
raffo/fix-dependabot
raffo/fix-scaleway-security
raffo/fix-trivy
raffo/fix-trivy-again
raffo/fix-vulnerabilities
raffo/knolog
raffo/release-conventions
raffo/release-note-patch
raffo/remove-azure-test
raffo/remove-broken-link
raffo/revert-tzdata
raffo/update-kustomize-080
raffo/update-v0.10-role
v1.0.0-mf
v0.10.2
v0.10.1
v0.10.0
v0.9.0
v0.8.0
external-dns-helm-chart-1.7.1
external-dns-helm-chart-1.7.0
external-dns-helm-chart-1.6.0
external-dns-helm-chart-1.5.0
external-dns-helm-chart-1.4.1
external-dns-helm-chart-1.4.0
external-dns-helm-chart-1.3.2
external-dns-helm-chart-1.3.1
external-dns-helm-chart-1.3.0
external-dns-helm-chart-1.2.0
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
provider/pdns/pdns_test.go
+2
-6
provider/pdns/pdns_test.go
with
2 additions
and
6 deletions
+2
-6
provider/pdns/pdns_test.go
+
2
-
6
View file @
f4a1b675
...
...
@@ -125,17 +125,13 @@ var (
endpoint
.
NewEndpointWithTTL
(
"does.not.exist.com"
,
endpoint
.
RecordTypeTXT
,
endpoint
.
TTL
(
300
),
"
\"
heritage=external-dns,external-dns/owner=tower-pdns
\"
"
),
}
endpointsMultipleRecords
=
[]
*
endpoint
.
Endpoint
{
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.8.8"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.4.4"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"4.4.4.4"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.8.8"
,
"8.8.4.4"
,
"4.4.4.4"
),
}
endpointsMixedRecords
=
[]
*
endpoint
.
Endpoint
{
endpoint
.
NewEndpointWithTTL
(
"cname.example.com"
,
endpoint
.
RecordTypeCNAME
,
endpoint
.
TTL
(
300
),
"example.by.any.other.name.com"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeTXT
,
endpoint
.
TTL
(
300
),
"'would smell as sweet'"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.8.8"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.4.4"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"4.4.4.4"
),
endpoint
.
NewEndpointWithTTL
(
"example.com"
,
endpoint
.
RecordTypeA
,
endpoint
.
TTL
(
300
),
"8.8.8.8"
,
"8.8.4.4"
,
"4.4.4.4"
),
}
endpointsMultipleZones
=
[]
*
endpoint
.
Endpoint
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help