consul/agent/proxycfg
Daniel Nephin 5fe7043439 agent/cache: Make all cache options RegisterOptions
Previously the SupportsBlocking option was specified by a method on the
type, and all the other options were specified from RegisterOptions.

This change moves RegisterOptions to a method on the type, and moves
SupportsBlocking into the options struct.

Currently there are only 2 cache-types. So all cache-types can implement
this method by embedding a struct with those predefined values. In the
future if a cache type needs to be registered more than once with different
options it can remove the embedded type and implement the method in a way
that allows for paramaterization.
2020-04-16 18:56:34 -04:00
..
manager.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
manager_test.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
proxycfg.go Proxy Config Manager (#4729) 2018-10-10 16:55:34 +01:00
snapshot.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
state.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
state_test.go Ingress Gateways for TCP services (#7509) 2020-04-16 14:00:48 -07:00
testing.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00