Commit Graph
7 Commits
Author SHA1 Message Date
mathetake a616199b81 refactor tests: simplify assertion 2020-03-04 21:46:08 +09:00
stefanprodan 98bd8696f2 Refactor router test fixture 2020-02-14 00:38:51 +02:00
stefanprodan 898edee67e Refactor Flagger APIs and tests
- add CrossNamespaceObjectReference type
- add informers collection to controller
- use the informer cache to query for metric templates
- rename mock to fixture
- regenerate clientset
2020-02-10 10:36:31 +02:00
Andrew Jenkins 2e079ba7a1 Add mirror to router interface and implement for istio router
The mirror option will be used to tell routers to configure traffic
mirroring.  Implement mirror for GetRoutes and SetRoutes for Istio.  For
other routers, GetRoutes always returns mirror == false, and SetRoutes
ignores mirror.

After this change there is no behavior change because no code sets
mirror true (yet).

Enhanced TestIstioRouter_SetRoutes and TestIstioRouter_GetRoutes.
2019-09-24 16:15:45 -06:00
Anton Kislitcyn f56b6dd6a7 Add annotations prefix for ingresses 2019-09-06 11:36:06 +02:00
stefanprodan 752eceed4b Add tests for ingress weight changes 2019-05-10 11:53:12 +03:00
stefanprodan eadce34d6f Add ingress router unit tests 2019-05-10 11:39:52 +03:00