...

Text file src/github.com/datawire/ambassador/v2/cmd/entrypoint/testdata/hostsem-cleartextonly-expected.json

Documentation: github.com/datawire/ambassador/v2/cmd/entrypoint/testdata

     1[
     2  {
     3    "name": "cleartext-listener",
     4    "port": 8443,
     5    "chains": [
     6      {
     7        "server_names": null,
     8        "transport_protocol": "",
     9        "vhosts": [
    10          {
    11            "name": "cleartext-listener-h1.example.com",
    12            "routes": [
    13              {
    14                "scheme": "implicit-http",
    15                "host": "h1.example.com",
    16                "path": "/ambassador/v0/",
    17                "authority": "",
    18                "authorityMatch": "",
    19                "action": "ROUTE",
    20                "action_arg": " cluster_127_0_0_1_8877_default"
    21              },
    22              {
    23                "scheme": "implicit-http",
    24                "host": "h1.example.com",
    25                "path": "/ambassador/v0/check_alive",
    26                "authority": "",
    27                "authorityMatch": "",
    28                "action": "ROUTE",
    29                "action_arg": " cluster_127_0_0_1_8877_default"
    30              },
    31              {
    32                "scheme": "implicit-http",
    33                "host": "h1.example.com",
    34                "path": "/ambassador/v0/check_ready",
    35                "authority": "",
    36                "authorityMatch": "",
    37                "action": "ROUTE",
    38                "action_arg": " cluster_127_0_0_1_8877_default"
    39              },
    40              {
    41                "scheme": "implicit-http",
    42                "host": "h1.example.com",
    43                "path": "/quote/",
    44                "authority": "",
    45                "authorityMatch": "",
    46                "action": "ROUTE",
    47                "action_arg": " cluster_quote_ambassador_default"
    48              }
    49            ]
    50          },
    51          {
    52            "name": "cleartext-listener-h2.example.com",
    53            "routes": [
    54              {
    55                "scheme": "implicit-http",
    56                "host": "h2.example.com",
    57                "path": "/ambassador/v0/",
    58                "authority": "",
    59                "authorityMatch": "",
    60                "action": "REDIRECT",
    61                "action_arg": " HTTPS"
    62              },
    63              {
    64                "scheme": "implicit-http",
    65                "host": "h2.example.com",
    66                "path": "/ambassador/v0/check_alive",
    67                "authority": "",
    68                "authorityMatch": "",
    69                "action": "REDIRECT",
    70                "action_arg": " HTTPS"
    71              },
    72              {
    73                "scheme": "implicit-http",
    74                "host": "h2.example.com",
    75                "path": "/ambassador/v0/check_ready",
    76                "authority": "",
    77                "authorityMatch": "",
    78                "action": "REDIRECT",
    79                "action_arg": " HTTPS"
    80              },
    81              {
    82                "scheme": "implicit-http",
    83                "host": "h2.example.com",
    84                "path": "/quote/",
    85                "authority": "",
    86                "authorityMatch": "",
    87                "action": "REDIRECT",
    88                "action_arg": " HTTPS"
    89              }
    90            ]
    91          }
    92        ]
    93      }
    94    ]
    95  }
    96]

View as plain text