Skip to content
GitLab
Menu
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
Changes
1
Hide 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