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-16 10:58:30 -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-18 17:24:04 +02: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-15 18:18:13 -07:00
2017-06-23 09:49:30 -07:00
2017-09-14 09:15:44 +08:00
2017-09-14 09:15:44 +08:00
2017-10-18 17:24:04 +02:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2017-08-28 15:13:15 +08:00
2017-08-28 15:13:15 +08:00
2017-08-28 14:17:47 -07:00
2017-09-04 20:14:16 +10:00
2017-08-16 10:58:51 +02:00
2017-09-26 10:54:04 -07:00
2017-08-22 11:10:21 +08:00
2017-07-31 12:26:17 -07:00
2017-06-23 09:49:30 -07:00
2017-06-23 09:49:30 -07:00
2017-07-28 22:11:26 +02:00
2017-08-03 21:34:03 +08:00
2017-08-03 21:34:03 +08:00
2017-10-18 17:23:55 +02:00
2017-09-04 20:14:16 +10:00
2017-06-03 14:35:49 +08:00
2017-07-23 02:12:53 +08:00
2017-07-12 11:44:28 -07: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-04 20:14:16 +10:00
2017-06-12 10:07:07 -07:00
2017-08-30 17:25:42 +10:00
2017-09-03 11:17:33 +02:00
2017-09-03 11:17:33 +02:00
2017-08-09 10:37:03 +08:00
2017-09-26 10:54:04 -07:00
2017-08-28 14:17:47 -07:00
2017-08-28 14:17:47 -07:00
2017-08-28 14:17:47 -07:00
2017-08-30 20:33:22 +10:00
2017-08-28 14:17:47 -07:00
2017-09-04 20:14:16 +10:00
2017-06-28 11:15:51 +08:00
2017-06-28 11:15:51 +08:00
2017-06-28 11:15:51 +08:00
2017-10-18 17:23:55 +02:00
2017-08-17 11:24:28 +02:00
2017-08-06 15:30:13 +02:00