Mike Danese
c87de85347
autoupdate BUILD files
2016-12-12 13:30:07 -08:00
Wojciech Tyczynski
31a5333548
Update client generator
2016-12-09 09:42:00 +01:00
Jordan Liggitt
da15bd9260
Update client status generator to not use json tags
2016-12-08 21:58:01 -05:00
Clayton Coleman
a43960da3b
Move GroupVersion* to pkg/runtime/schema
2016-11-23 21:03:36 -06:00
Chao Xu
850729bfaf
include multiple versions in clientset
...
update client-gen to use the term "internalversion" rather than "unversioned";
leave internal one unqualified;
cleanup client-gen
2016-10-29 13:30:47 -07:00
Mike Danese
3b6a067afc
autogenerated
2016-10-21 17:32:32 -07:00
Jan Chaloupka
6079053407
Update clientset generator to use RESTClient interface instead of the RESTClient data type
2016-10-21 10:13:51 +02:00
Chao Xu
75cc05de82
manual changes to let client-gen use versioned options
2016-10-04 20:39:29 -07:00
Daniel Smith
e67cf8a264
gofmt
2016-09-22 13:42:46 -07:00
Daniel Smith
2709f07c71
rewrite import paths
2016-09-22 13:42:46 -07:00
Chao Xu
dc2e12d2f8
manual changes to patch subresource
2016-07-12 11:09:27 -07:00
Tim Hockin
4a00a0fd6d
go2idl: Allow multiple values for a comment-tag
...
This means that tags like:
// +foo=bar
// +foo=bat
..will produce []string{"bar", "bat"}. This is needed for later commits which
will want to use this to make code generation more self contained.
2016-07-07 16:49:46 -07:00
Tim Hockin
b01ac4726f
go2idl: Consistently handle comments as []string
...
This makes subsequent comment-tag PRs more consistent.
2016-07-07 16:49:46 -07:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Oleg Shaldybin
10e75946a2
Track object modifications in fake clientset
...
Fake clientset is used by unit tests extensively but it has some
shortcomings:
- no filtering on namespace and name: tests that want to test objects in
multiple namespaces end up getting all objects from this clientset,
as it doesn't perform any filtering based on name and namespace;
- updates and deletes don't modify the clientset state, so some tests
can get unexpected results if they modify/delete objects using the
clientset;
- it's possible to insert multiple objects with the same
kind/name/namespace, this leads to confusing behavior, as retrieval is
based on the insertion order, but anchors on the last added object as
long as no more objects are added.
This change changes core.ObjectRetriever implementation to track object
adds, updates and deletes.
Some unit tests were depending on the previous (and somewhat incorrect)
behavior. These are fixed in the following few commits.
2016-06-28 10:59:54 -07:00
Chao Xu
a29f6aa8ae
add Patch to clientsets
2016-06-17 10:30:58 -07:00
Eric Chiang
a3467a06cb
client-gen: allow doc comment to override API group name
2016-05-25 14:16:45 -07:00
gmarek
3171aac57c
Generated clients can return their RESTClients, RESTClient can return its RateLimiter
2016-04-27 22:15:10 +02:00
Chao Xu
8537095415
use fully qualified resource in fake clients actions
2016-04-20 19:44:40 -07:00
goltermann
3fa6c6f6d9
Enable vet
2016-04-20 09:48:24 -07:00
Chao Xu
79c3d6683c
Client-gen: add fake clients to testoutput; in fake clients, fix the imports of packages that contains dots in the name
2016-04-19 10:55:01 -07:00
Chao Xu
08fc35018a
Client-gen: handle dotted package name
2016-04-14 10:04:58 -07:00
Chao Xu
027710baf5
client-gen now generates the "generated by" comment in doc.go
2016-04-05 15:24:31 -07:00
Chao Xu
3aa26565fc
move fake discovery client to pkg/client/typed/discovery/fake
2016-03-25 16:02:08 -07:00
Wojciech Tyczynski
919afadbe7
Refactor import tracker
2016-03-15 16:02:18 +01:00
Jordan Liggitt
d008283942
Tolerate multiple registered versions in a single group
2016-03-12 12:49:41 -05:00
Kris
dbde4fd798
Move the discovery client to its own package
2016-03-04 13:44:52 -08:00
Abhi Shah
b25a48d605
Revert "Move discovery client to its own package"
2016-03-04 09:24:54 -08:00
Kris
f22664159e
Move the discovery client to its own package
2016-02-29 15:37:21 -08:00
Chao Xu
ad46715f51
generate fake client for release_1_2
2016-02-17 16:10:02 -08:00
Chao Xu
b165ba2e00
generator's changes to remove underscore from imported package names
2016-02-16 10:19:32 -08:00
Chao Xu
e482501e8c
rename file names
2016-02-16 10:08:51 -08:00
Chao Xu
1c84552757
generate the versioned clientset
2016-02-10 17:22:46 -08:00
derekwaynecarr
070dce1bec
Fix DeleteCollection in FakeClient
2016-02-03 14:39:24 -05:00
Chao Xu
66f5cd259d
automatically generate the clientset
2016-02-02 16:06:43 -08:00
Chao Xu
0734248e42
Use lowercase names in individual typed clients
2016-01-21 15:01:47 -08:00
Chao Xu
fb81b2278e
client-gen now generates the fake client.
2016-01-19 17:27:17 -08:00