API: new contract
Co-authored-by: Ludovic Fernandez <ldez@users.noreply.github.com>
This commit is contained in:
parent
a34876d700
commit
429b1d8574
34 changed files with 1810 additions and 61 deletions
23
pkg/api/testdata/tcprouters.json
vendored
Normal file
23
pkg/api/testdata/tcprouters.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
{
|
||||
"entryPoints": [
|
||||
"web"
|
||||
],
|
||||
"name": "myprovider.bar",
|
||||
"provider": "myprovider",
|
||||
"rule": "Host(`foo.bar`)",
|
||||
"service": "myprovider.foo-service"
|
||||
},
|
||||
{
|
||||
"entryPoints": [
|
||||
"web"
|
||||
],
|
||||
"name": "myprovider.test",
|
||||
"provider": "myprovider",
|
||||
"rule": "Host(`foo.bar.other`)",
|
||||
"service": "myprovider.foo-service",
|
||||
"tls": {
|
||||
"passthrough": false
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue