-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ node-level links scope, exclude/include
- Loading branch information
Showing
9 changed files
with
366 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
root: | ||
name: 00 | ||
nodes: | ||
- name: 01 | ||
contentSelectors: | ||
- source: https://github.com/gardener/gardener/blob/master/docs/concepts/gardenlet.md | ||
localityDomain: | ||
github.com/gardener/gardener: | ||
version: v1.11.1 | ||
path: gardener/gardener | ||
exclude: | ||
- example | ||
- name: 02 | ||
contentSelectors: | ||
- source: https://github.com/gardener/gardener/blob/master/docs/deployment/deploy_gardenlet.md | ||
localityDomain: | ||
github.com/gardener/gardener: | ||
version: v1.10.0 | ||
path: gardener/gardener |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,15 @@ func Test_processLink(t *testing.T) { | |
wantResourceName: "", | ||
wantErr: nil, | ||
}, | ||
{ | ||
name: "mailto protocol is not processed", | ||
destination: "mailto:[email protected]", | ||
contentSourcePath: "", | ||
wantDestination: "mailto:[email protected]", | ||
wantDownloadURL: "", | ||
wantResourceName: "", | ||
wantErr: nil, | ||
}, | ||
{ | ||
name: "Absolute links to releases not processed", | ||
destination: "https://github.com/gardener/gardener/releases/tag/v1.4.0", | ||
|
@@ -99,6 +108,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
@@ -149,6 +162,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
@@ -178,6 +195,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
@@ -206,6 +227,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
@@ -225,6 +250,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
@@ -243,6 +272,10 @@ func Test_processLink(t *testing.T) { | |
"github.com/gardener/gardener": &localityDomainValue{ | ||
"v1.10.0", | ||
"gardener/gardener/docs", | ||
nil, | ||
nil, | ||
nil, | ||
nil, | ||
}, | ||
} | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.