...

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

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

     1[
     2  {
     3    "name": "ambassador-listener-8080",
     4    "port": 8080,
     5    "chains": [
     6      {
     7        "server_names": null,
     8        "transport_protocol": "",
     9        "vhosts": [
    10          {
    11            "name": "ambassador-listener-8080-*",
    12            "routes": [
    13              {
    14                "scheme": "implicit-http",
    15                "host": "*",
    16                "path": "/ambassador/v0/",
    17                "authority": "",
    18                "authorityMatch": "",
    19                "action": "REDIRECT",
    20                "action_arg": " HTTPS"
    21              },
    22              {
    23                "scheme": "https",
    24                "host": "*",
    25                "path": "/ambassador/v0/",
    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": "*",
    34                "path": "/ambassador/v0/check_alive",
    35                "authority": "",
    36                "authorityMatch": "",
    37                "action": "REDIRECT",
    38                "action_arg": " HTTPS"
    39              },
    40              {
    41                "scheme": "https",
    42                "host": "*",
    43                "path": "/ambassador/v0/check_alive",
    44                "authority": "",
    45                "authorityMatch": "",
    46                "action": "ROUTE",
    47                "action_arg": " cluster_127_0_0_1_8877_default"
    48              },
    49              {
    50                "scheme": "implicit-http",
    51                "host": "*",
    52                "path": "/ambassador/v0/check_ready",
    53                "authority": "",
    54                "authorityMatch": "",
    55                "action": "REDIRECT",
    56                "action_arg": " HTTPS"
    57              },
    58              {
    59                "scheme": "https",
    60                "host": "*",
    61                "path": "/ambassador/v0/check_ready",
    62                "authority": "",
    63                "authorityMatch": "",
    64                "action": "ROUTE",
    65                "action_arg": " cluster_127_0_0_1_8877_default"
    66              },
    67              {
    68                "scheme": "implicit-http",
    69                "host": "*",
    70                "path": "/test-mapping/",
    71                "authority": "",
    72                "authorityMatch": "",
    73                "action": "REDIRECT",
    74                "action_arg": " HTTPS"
    75              },
    76              {
    77                "scheme": "https",
    78                "host": "*",
    79                "path": "/test-mapping/",
    80                "authority": "",
    81                "authorityMatch": "",
    82                "action": "ROUTE",
    83                "action_arg": " cluster_test_service_default"
    84              }
    85            ]
    86          }
    87        ]
    88      }
    89    ]
    90  }
    91]

View as plain text