Ben Luddy
1745dfdd15
Fall back to JSON request encoding after CBOR 415.
...
If a client is configured to encode request bodies to CBOR, but the server does not support CBOR,
the server will respond with HTTP 415 (Unsupported Media Type). By feeding this response back to the
RESTClient, subsequent requests can fall back to JSON, which is assumed to be acceptable.
2024-11-01 12:54:04 -04:00
Ben Luddy
37ed906a33
Support application/apply-patch+cbor in patch requests.
2024-10-30 12:21:15 -04:00
Ben Luddy
ea13190d8b
Add test-only client feature gates for CBOR.
...
As with the apiserver feature gate for CBOR as a serving and storage encoding, the client feature
gates for CBOR are being initially added through a test-only feature gate instance that is not wired
to environment variables or to command-line flags and is intended only to be enabled
programmatically from integration tests. The test-only instance will be removed as part of alpha
graduation and replaced by conventional client feature gating.
2024-10-24 13:27:39 -04:00
Antonio Ojea
6552f2710f
use default flags for apiserver on integration tests
2024-06-04 22:09:35 +00:00
Kevin Delgado
7bfc420351
simplify test to only test the new logic of extractUnstructured
2021-07-27 01:28:44 +00:00
Kevin Delgado
c9e97de46b
Address PR feedback around gvk parser generation ergonomics
2021-07-27 01:28:43 +00:00
Kevin Delgado
604db6eb2a
rename cache, add to integration test
2021-07-27 01:28:43 +00:00
Kevin Delgado
7b9757faa4
basic caching working
2021-07-27 01:28:42 +00:00
Kevin Delgado
9f4a4d812d
Write TestUnstructuredExtract
2021-07-27 01:28:04 +00:00
Jordan Liggitt
b7c2faf26c
client-go dynamic client: add context to callers
2020-03-06 10:56:23 -05:00
Jordan Liggitt
b19dc3a474
client-go dynamic client: update DeleteOptions callers
2020-03-06 10:21:23 -05:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
xuzhonghu
b7f645a5ef
replace framework.RunAMaster with kubeapiservertesting.StartTestServer
2018-07-28 10:33:39 +08:00
xuzhonghu
b4a73d50c0
add watch integration test for dynamic client
2018-07-26 16:17:38 +08:00
David Eads
d8924bc1c9
move old dynamic client to deprecated-client
2018-05-11 08:00:46 -04:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
David Eads
3632037e60
add easy to use dynamic client
2018-04-25 08:55:26 -04:00
Jacob Simpson
8bcbbd4d08
Migrate api.Registry to testapi.Groups in tests.
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Dr. Stefan Schimanski
30668b24fb
client-go: GetOptions for dynamic client
2017-06-09 18:04:17 +02:00
deads2k
be39283923
plumb stopch to post start hook index since many of them are starting go funcs
2017-05-11 09:16:13 -04:00
Mike Danese
21617a60ae
don't use build tags to mark integration tests
2017-04-28 14:19:39 -07:00
deads2k
706823aaa8
make unstructured items correspond to other items for storage
2017-04-11 08:44:16 -04:00
Jordan Liggitt
e6dbe5f57e
Pass typed options to dynamic client
2017-02-22 08:53:57 -05:00
Wojciech Tyczynski
a21b08d00f
Revert "Use watch param instead of deprecated /watch/ prefix"
2017-02-21 08:37:51 +01:00
Jordan Liggitt
308fdcd13f
Pass typed options to dynamic client
2017-02-19 22:12:55 -05:00
deads2k
2734f8f892
move dynamic and discovery clients
2017-01-26 08:37:06 -05:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
deads2k
ee6752ef20
find and replace
2017-01-20 08:04:53 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Clayton Coleman
42d410fdde
Switch to use pkg/apis/meta/v1/unstructured and the new interfaces
...
Avoid directly accessing an unstructured type if it is not required.
2016-12-10 18:05:28 -05:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
f3b5d514ab
test/integration
2016-11-23 15:53:09 -08:00
Jan Chaloupka
4fde09d308
Replace client with clientset in code
2016-10-23 22:00:35 +02:00
deads2k
518d5500c7
remove testapi.Default.GroupVersion
2016-10-07 10:10:54 -04:00
Chao Xu
4d2350632c
only store typeMeta and objectMeta in the gc store
2016-08-08 17:23:13 -07:00
Mike Danese
f3de21bdf0
move integration tests into individual pacakges
...
Signed-off-by: Mike Danese <mikedanese@google.com >
2016-07-07 00:54:15 -07:00