...

Text file src/github.com/emissary-ingress/emissary/v3/cmd/entrypoint/testdata/hostsem-cleartextonly-expected.json

Documentation: github.com/emissary-ingress/emissary/v3/cmd/entrypoint/testdata

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

View as plain text