Solly Ross
eac2049fc9
[client-go] avoid Registry in fake REST client
...
Previously, the fake RESTClient in client-go required a Registry. It
used the Registry to fetch the GroupVersion for the fake client.
However, the way it did so was dubious in some cases (it hard-coded the
default API group in places), and not strictly necssary.
This updates the fake client to just recieve the GroupVersion and
internal group name directly, instead of requiring a Registry, so that
it can be consumed in unit tests where a Registry isn't necessarily
readily available (e.g. elsewhere in client-go).
2017-10-19 11:01:44 -04:00
..
2017-10-19 11:01:44 -04:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-19 11:01:44 -04:00
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-10-18 17:24:04 +02:00
2017-10-18 10:49:10 -07:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-08-16 12:27:36 -07:00
2017-08-31 16:30:56 +08:00
2017-09-05 11:57:00 -04:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-10-18 17:23:55 +02:00
2017-10-19 11:01:44 -04:00
2017-10-18 17:23:55 +02:00
2017-09-05 11:57:00 -04:00
2017-10-18 17:24:04 +02:00
2017-09-05 11:57:00 -04:00
2017-08-16 12:27:36 -07:00
2017-10-13 16:30:12 -04:00
2017-10-19 11:01:44 -04:00
2017-10-08 15:59:44 +02:00
2017-08-18 14:29:42 -07:00
2017-10-18 17:23:55 +02:00
2017-10-13 13:51:53 +08:00
2017-10-13 13:51:53 +08:00
2017-08-18 13:03:38 +08:00
2017-08-25 12:31:07 -07:00
2017-10-19 11:01:44 -04:00
2017-10-03 22:04:00 -07:00
2017-10-19 11:01:44 -04:00
2017-08-28 14:17:47 -07:00
2017-10-19 11:01:44 -04:00
2017-10-12 00:27:42 -04:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-06-03 18:30:40 -07:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-09-22 17:58:28 -05:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-10-03 08:18:21 -07:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-10-19 11:01:44 -04:00
2017-10-06 11:55:36 -04:00
2017-10-19 11:01:44 -04:00
2017-08-31 16:30:56 +08:00
2017-10-19 11:01:44 -04:00
2017-10-18 17:23:55 +02:00
2017-10-18 17:23:55 +02:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-10-19 11:01:44 -04:00
2017-09-23 13:40:53 -07:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-09-23 18:49:00 -07:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-10-18 17:23:55 +02:00
2017-05-19 19:17:43 -03:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-08-23 03:36:03 -07:00
2017-08-16 12:27:36 -07:00
2017-10-19 11:01:44 -04:00
2017-10-03 08:18:21 -07:00
2017-05-11 20:09:31 +08:00
2017-10-18 17:23:55 +02:00
2017-10-19 11:01:44 -04:00
2017-10-12 00:27:42 -04:00
2017-09-29 12:38:17 -07:00
2017-10-19 11:01:44 -04:00
2017-09-05 11:57:00 -04:00
2017-10-19 11:01:44 -04:00
2017-09-30 14:54:27 +08:00
2017-10-19 11:01:44 -04:00
2017-08-21 08:26:23 -07:00
2017-07-25 10:04:25 +08:00
2017-08-21 08:26:23 -07:00
2017-08-16 12:27:36 -07:00