Clayton Coleman
3474911736
Implement a streaming serializer for watch
...
Changeover watch to use streaming serialization. Properly version the
watch objects. Implement simple framing for JSON and Protobuf (but not
YAML).
2016-04-11 11:22:05 -04:00
Brendan Burns
be6c5b332b
Add third party support to kubectl
2016-03-31 10:53:32 -07:00
k8s-merge-robot
5db0feb202
Merge pull request #22017 from caesarxuchao/fix-21955
...
Auto commit by PR queue bot
2016-03-10 14:37:43 -08:00
Chao Xu
56bddbcae5
fix thirdparty discovery, add test
2016-02-25 14:13:28 -08:00
Chao Xu
5b108acb38
fix ParameterCodec for thirdparty resource
2016-02-24 21:45:30 -08:00
deads2k
9901a386c3
remove ResourceIsValid
2016-02-15 07:49:48 -05:00
deads2k
6d71421ae1
eliminate mixed case from RESTMapper
2016-02-08 15:33:31 -05:00
Clayton Coleman
2fd38a7dc0
Break kubectl from assuming details of codecs
...
Most of the logic related to type and kind retrieval belongs in the
codec, not in the various classes. Make it explicit that the codec
should handle these details.
Factory now returns a universal Decoder and a JSONEncoder to assist code
in kubectl that needs to specifically deal with JSON serialization
(apply, merge, patch, edit, jsonpath). Add comments to indicate the
serialization is explicit in those places. These methods decode to
internal and encode to the preferred API version as previous, although
in the future they may be changed.
React to removing Codec from version interfaces and RESTMapping by
passing it in to all the places that it is needed.
2016-01-22 13:27:26 -05:00
Clayton Coleman
181dc7c64c
Update thirdpartyresourcecodec with new Decoder
2016-01-22 13:27:25 -05:00
nikhiljindal
2ad642d370
Merge registered and latest and move to apimachinery
2016-01-21 14:42:21 -08:00
k8s-merge-robot
21c01c05e3
Merge pull request #18902 from deads2k/gv-partial
...
Auto commit by PR queue bot
2015-12-24 01:42:59 -08:00
deads2k
20f9c2c545
find partial resource matches
2015-12-21 09:26:06 -05:00
Wojciech Tyczynski
58336829be
Switch to versioned ListOptions in server.
2015-12-21 14:23:37 +01:00
Abhishek Shah
6f63875165
Reverting 18442
2015-12-17 16:57:29 -08:00
deads2k
41b78ad2b6
find partial resource matches
2015-12-16 10:19:31 -05:00
deads2k
d0aaf13920
use constants for group names
2015-12-14 10:04:10 -05:00
k8s-merge-robot
266ab4a796
Merge pull request #18487 from smarterclayton/guard_encode_decode
...
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
k8s-merge-robot
c458cd7bb7
Merge pull request #18379 from deads2k/gv-newobject
...
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot
815fcc3334
Merge pull request #18131 from brendandburns/3rdparty
...
Auto commit by PR queue bot
2015-12-10 04:10:44 -08:00
Clayton Coleman
1e21054134
Hide common codec methods under helpers
...
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
deads2k
519b4e80d1
update NewObject for groupversionkind
2015-12-09 08:13:15 -05:00
Brendan Burns
9574a4b782
Switch to KindToResource for ThirdPartyResourceData
2015-12-07 12:54:41 -08:00
Chao Xu
6e192760e3
refactoring latest.go GroupVersion;
...
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
deads2k
8679925847
update RESTMapping API to be properly typed
2015-11-25 14:02:37 -05:00
deads2k
5c4fb5bcbe
make RESTMapper.KindFor
2015-11-25 14:02:37 -05:00
deads2k
6231404682
update decoder to use GroupVersion
2015-11-25 12:14:06 -05:00
Wojciech Tyczynski
d7b098b0e9
Add DecodeParametersInto method to Codec.
2015-11-18 09:56:04 +01:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -07:00
Brian Grant
313918f561
Merge pull request #14148 from brendandburns/perf
...
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brendan Burns
8998219686
Add a method for encoding directly to a io.Writer and use it for HTTPx
2015-09-24 15:52:09 -07:00
Chao Xu
ae1293418b
move experimental/v1 to experimental/v1alpha1;
...
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Chao Xu
f1de364a0e
Make latest.AllGroups public; fix thirdPartyResourceDataCreator.New
2015-09-21 22:32:24 -07:00
Brendan Burns
fb9efac68c
Complete initial third party API support in the master
2015-09-21 15:56:36 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
Chao Xu
f5023929d8
fix broken files after rebase
2015-09-12 15:45:12 -07:00
Chao Xu
dd6c121d7f
massive changes
2015-09-11 17:31:47 -07:00
Daniel Smith
4c2adabf42
move; sed replace
2015-09-11 16:03:22 -07:00
Brendan Burns
61f272c8cd
Update the third party data codec to automatically include everything
...
in api.ObjectMeta. Add more tests.
2015-09-08 21:13:06 -07:00
Brendan Burns
6aa7ce2689
addressed comments.
2015-09-01 12:00:56 -07:00
Brendan Burns
d993b8891d
Addressed changes
2015-08-31 21:13:37 -07:00
Brendan Burns
855c7cedcc
Address comments.
2015-08-31 21:13:37 -07:00
Brendan Burns
b196d0f84b
Add support for installing custom object APIs
2015-08-31 21:13:36 -07:00