Skip to content

Commit

Permalink
update comments and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jackloughran committed Aug 24, 2020
1 parent 05bad0c commit 092fd71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agent/structs/config_entry_gateways.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type IngressListener struct {
// Protocol declares what type of traffic this listener is expected to
// receive. Depending on the protocol, a listener might support multiplexing
// services over a single port, or additional discovery chain features. The
// current supported values are: (tcp | http).
// current supported values are: (tcp | http | grpc).
Protocol string

// Services declares the set of services to which the listener forwards
Expand Down
2 changes: 1 addition & 1 deletion api/config_entry_gateways.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type IngressListener struct {
// Protocol declares what type of traffic this listener is expected to
// receive. Depending on the protocol, a listener might support multiplexing
// services over a single port, or additional discovery chain features. The
// current supported values are: (tcp | http).
// current supported values are: (tcp | http | grpc).
Protocol string

// Services declares the set of services to which the listener forwards
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ Also make two services in the frontend namespace available over a custom port wi
- `Port` `(int: 0)` - The port that the listener should receive traffic on.

- `Protocol` `(string: "tcp")` - The protocol associated with the listener.
Either `tcp` or `http`.
One of `tcp`, `http`, or `grpc`.

- `Services` `(array<IngressService>: <optional>)` - A list of services to be
exposed via this listener. For "tcp" listeners, only a single service is
Expand Down

0 comments on commit 092fd71

Please sign in to comment.