linkerd2/pkg/profiles
Lewis Cowper 5ca9bc6db5
Support configuration of service profile timeouts (#4072)
This change is in a similar vein to #4052 which provided support for
configuring service profile retries via a vendor extension of
`x-linkerd-retryable`, when generating from an openapi specification.

This change is very similar to the final version of that pull request,
and adds a timeout value based on `x-linkerd-timeout`.

At this point I believe that if the timeout is not specified then the
default provided by linkerd of 30s will apply anyway, but won't
explicitly be reflected in the service profile, which I'm somewhat okay
with as a current state, but I think there's a potential future
improvement that the default timeout is always shown when generating
from an open api spec, but that's more to make it clear and obvious that
that timeout exists.

Signed-off-by: Lewis Cowper <lewis.cowper@googlemail.com>
2020-03-10 13:22:26 -07:00
..
openapi.go Support configuration of service profile timeouts (#4072) 2020-03-10 13:22:26 -07:00
openapi_test.go Support configuration of service profile timeouts (#4072) 2020-03-10 13:22:26 -07:00
profiles.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
profiles_test.go Upgrade go to 1.13.4 (#3702) 2019-11-13 12:54:36 -05:00
proto.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
proto_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
tap.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
tap_test.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
template.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00
test_helper.go Allow setting custom cluster domain in service profiles (#3148) 2019-08-07 09:49:54 -07:00