Clayton Coleman
abaa46c115
Support Table and PartialObjectMetadata on watch
...
Clean up the code paths that lead to objects being transformed and output with negotiation.
Remove some duplicate code that was not consistent. Now, watch will respond correctly to
Table and PartialObjectMetadata requests. Add unit and integration tests.
When transforming responses to Tables, only the first watch event for a given type will
include the columns. Columns will not change unless the watch is restarted.
Add a volume attachment printer and tighten up table validation error cases.
Disable protobuf from table conversion because Tables don't have protobuf because they
use `interface{}`
Kubernetes-commit: 3230a0b4fd14a6166f8362d4732e199e8779c426
2018-11-28 23:50:12 -05:00
Steve Kriss
f0c6576981
client-fake object tracker: support merge patch
...
Signed-off-by: Steve Kriss <krisss@vmware.com >
Kubernetes-commit: d425fe29bd808db54c59e3e0ecdedbe735b8f68b
2019-02-21 13:47:16 -07:00
luhualin
7f4dae86e2
fix dynamic informer tweakListOptions
...
Kubernetes-commit: 94b0bd897d04e1668d96db8d9b5e353b15f2f2da
2019-02-21 19:33:04 +08:00
Antoine Pelisse
35efedd302
API Machinery, Kubectl and tests
...
Kubernetes-commit: 0e1d50e70fdc9ed838d75a7a1abbe5fa607d22a1
2019-01-16 21:14:42 -08:00
Jordan Liggitt
4f3f813d72
Find current resourceVersion for waiting for deletion/conditions
...
Kubernetes-commit: c12d8a56f8397b6d1dfcb853eb36de0fc06cbd9f
2019-01-11 10:38:18 -05:00
Ville Aikas
41406bf985
Add support for JSON patch in fake client
...
Kubernetes-commit: a363b153851326ece7f81f4c1ae0a1ab8700a209
2018-10-02 13:30:52 +00:00
p0lyn0mial
bfcfd82283
adds dynamic informer factory
...
Kubernetes-commit: 4d479aff37edfcdb17ac5a5f89b1e3f95d118f30
2018-09-17 19:07:00 +02:00
Chao Xu
97dc22a90a
Populates the fake dynamic client scheme
...
Kubernetes-commit: db20e16b87b38ace132c375f9ae414a98b451d7b
2018-09-26 18:32:49 -07:00
p0lyn0mial
cf575eb079
adds dynamic lister
...
Kubernetes-commit: 8b43a0005a5bd3c2e415d55efb6c9d77c1c655b1
2018-09-17 19:07:00 +02:00
Antoine Pelisse
29424b90cb
dry-run: Update DynamicClient to pass Create/Update options
...
Kubernetes-commit: 71970d6475f6570d933fa9f22be2ebc20a9ace6f
2018-08-01 10:35:43 -07:00
David Eads
875f881c7c
add missing OrDie variant for dynamic client construction
...
Kubernetes-commit: 75e28b0dd48a3a2d90d1bbb8133114134c6d0528
2018-07-23 16:29:35 -04:00
David Eads
4b43750b96
fix dynamic client listing bug
...
Kubernetes-commit: 60afd0ba81aeccb04169716c815348ceb424730d
2018-07-11 13:05:54 -04:00
David Eads
f6af22edb3
fix dynamic client name
...
Kubernetes-commit: fd044d152ee13a6cb812e4c3e7504ee8e24b5b8c
2018-05-09 12:58:12 -04:00
David Eads
1c46f3b96c
move old dynamic client to deprecated-client
...
Kubernetes-commit: d8924bc1c914c63fd7e93f7e562edfddd911d9d7
2018-05-09 12:54:24 -04:00
David Eads
77541e5cb7
add subresource support for the dynamic client
...
Kubernetes-commit: 82e32d2a3260807237a69bc40fb371db640d26fc
2018-05-09 12:52:12 -04:00
David Eads
1f41b75933
add fake dynamic client
...
Kubernetes-commit: 121b698492fcf546c9264b27d086b18d915c607f
2018-04-26 15:36:07 -04:00
David Eads
7757aaeb14
make dynamic client slightly easier to use
...
Kubernetes-commit: 5ff923c7f931a34632df1f5a5400adbec33d49bf
2018-04-27 11:29:05 -04:00
David Eads
7205c0679a
remove versioning interface
...
Kubernetes-commit: e2fc5cf259463f896213afdef15d58ef9a91eb35
2018-04-25 10:55:17 -04:00
xuzhonghu
2b0acf6f5a
fix bug in dynamicResourceClient.UpdateStatus should encode
...
Kubernetes-commit: 9e8ce9535d9ce46791304e4ea3d1694e09b9ae9f
2018-04-27 14:07:11 +08:00
David Eads
2e1683e1a1
add easy to use dynamic client
...
Kubernetes-commit: 3632037e600d82a954c05ecd4f9cb6f1ca93d41c
2018-04-24 13:41:40 -04:00
David Eads
c726896549
remove confusing flexibility for metadata interpretation
...
Kubernetes-commit: 0710f72c65ad23e7a3726b345898ef4aaaac26fa
2018-04-23 10:23:01 -04:00
Kubernetes Publisher
fff8c3d73e
sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel
2018-03-15 09:19:38 +00:00
Nikhita Raghunath
5cf3fd5ef1
add subresources for custom resources
...
Kubernetes-commit: 6fbe8157e39f6bd7ad885a8a6f8614e2fe45dc5e
2017-11-06 18:19:15 +05:30
Jeff Grafton
fca8bb2928
Autogenerated: hack/update-bazel.sh
...
Kubernetes-commit: ef56a8d6bb3800ab7803713eafc4191e8202ad6e
2018-02-16 13:43:01 -08:00
Haowei Cai
93a87a9af9
Dynamic client support subresource create/get/update/patch verbs
...
Kubernetes-commit: e10cdb3b0f42bafcdf1d1a95e6fb14cbfe2b4ab7
2018-02-07 16:04:02 -08:00
halfcrazy
b6a34c5a00
fix typo in client-go
...
Kubernetes-commit: 86801dee64215e76080fe8df83ffd1fb7df9e093
2018-02-01 02:33:45 +08:00
bin liu
526671fd79
Fix typos
...
Kubernetes-commit: 4260bf2a2bbc7301072860567537d30ea413c395
2018-02-01 19:53:51 +08:00
Jeff Grafton
fe985a55a2
Autogenerate BUILD files
...
Kubernetes-commit: efee0704c60a2ee3049268a41535aaee7f661f6c
2017-12-23 13:06:26 -08:00
Clayton Coleman
9fa87b55f6
Add a lazy discovery interface for Unstructured
...
Delays the error until the first call and then preserves it for others.
More closely matches the intent of the Object() calls. Loaders are now
lazy and don't need to return errors directly.
Sets the stage for collapsing unstructured and structured builders
together.
Kubernetes-commit: e298aa39c3de8ad1059861b7f78d62005ca87f88
2017-11-14 22:16:10 -05:00
supereagle
c489f97d4e
fix typos: remove duplicated word in comments
...
Kubernetes-commit: 87c29a08e1f51b2989ff15fc3e5857bc287e401f
2017-06-17 17:17:22 +08:00
Jeff Grafton
c92755ea3b
update BUILD files
...
Kubernetes-commit: aee5f457dbfd70c2d15c33e392dce6a3ca710116
2017-10-12 13:52:10 -07:00
zouyee
1d75f4f0f1
update comment code mistake
...
Kubernetes-commit: 58687b891fc8ae2fd226ffd67f8e1c2e06db1a1b
2017-09-20 17:50:17 +08:00
Jeff Grafton
5da217e5c4
Use buildozer to delete licenses() rules except under third_party/
...
Kubernetes-commit: a7f49c906df816123e7d4ccbd4cebab411519465
2017-08-29 12:51:55 +00:00
Jeff Grafton
fa2ceb7462
Use buildozer to remove deprecated automanaged tags
...
Kubernetes-commit: 33276f06be5e872bf53ca62a095fcf0a6b6c11a8
2017-08-29 12:51:55 +00:00
Jeff Grafton
f921a73942
Run hack/update-bazel.sh to generate BUILD files
...
Kubernetes-commit: 3579017b865ddbc5449d6bba87346f086e4b93ff
2017-08-29 12:50:17 +00:00
Solly Ross
d9c32d7ac4
[client-go] Add fake dynamic Client/ClientPool
...
This introduces fake implementations of dynamic.Client and
dynamic.ClientPool. They function similarly to the fake generated
clientsets, since they're also based in testing.Fake.
Kubernetes-commit: 3e6bf24e08645512a7b40d91bd61f0f2ea175026
2017-07-28 13:45:49 +00:00
Solly Ross
cb42486a30
[client-go] Add dynamic.Interface
...
This adds an interface form of dynamic.Client and
dynamic.ResourceClient, making those two follow the general client
conventions: `Interface` is an interface, and `Client` is the concrete
implementation. `ClientPool` retains it's interface status.
This allows us to create a fake implemenation of dyanmic.Interface,
dynamic.ResourceInterface, and dynamic.ClientPool for testing.
Kubernetes-commit: f78d61e7c263392f31560b90c08c57765ceae482
2017-07-28 13:45:49 +00:00
deads2k
4d6d8e1ac1
remove dead code
...
Kubernetes-commit: 0801ded4252684c47d8a50700f9f5ff8ff88b964
2017-07-16 03:58:41 +00:00
Chao Xu
8fa00ce039
run hack/update-all
...
Kubernetes-commit: 60604f8818aecbc9c3736fbc32747cc0a535bc80
2017-06-28 00:06:44 +00:00
Chao Xu
d82cfb70dd
run hack/update-staging-client-go, somehow we copied listers/<authn,authz,imagepolicy>
...
Kubernetes-commit: ffe74d1fe749b5887711f70af24e1375856f2520
2017-06-28 00:06:44 +00:00
Chao Xu
1e9caa8e14
run root-rewrite-import-client-go-api-types
...
Kubernetes-commit: f2d3220a11111f86b2f481e70e3c1ca4f5896f44
2017-06-28 00:06:44 +00:00
Dr. Stefan Schimanski
92eadecb13
client-go: GetOptions for dynamic client
...
Kubernetes-commit: 30668b24fbd92e7ab532471f9518ba7b7ef66dcf
2017-06-13 20:38:48 +00:00
Dr. Stefan Schimanski
6434e2e4bb
NotRegisteredErr for known kinds not registered in target GV
...
The dynamic client uses NotRegisteredErr to fall back to core v1 if ListOptions is not known
in the given GV. This commit fixes the case that ListOptions is known in some group, but not
in the given one.
Kubernetes-commit: 2ece9e4dec483c9712d09dc7c1fd5be1fe68ea62
2017-05-12 17:21:59 +00:00
Chao Xu
384737846d
bazel
...
Kubernetes-commit: 958903509c29fdfe216c0bbf0abce1ce0abd59a6
2017-04-28 20:28:26 +00:00
Chao Xu
cf012f20d0
easy changes
...
Kubernetes-commit: 3fa7b7824abbf3daec1189b118b91b5bb726958f
2017-04-28 20:28:25 +00:00
Mike Danese
9a45999fa0
autogenerated
...
Kubernetes-commit: a05c3c0efdc5822049e34b1a5a1ee259c5fb1906
2017-04-15 20:28:18 +00:00
deads2k
5d5193044b
make unstructured items correspond to other items for storage
...
Kubernetes-commit: 706823aaa8b34ac197230ff7952c095fc0a7a614
2017-04-11 20:28:18 +00:00
Chao Xu
088dc4a30d
manually sync with k8s.io/kubernetest at 17375fc59fff39135af63bd1750bb07c36ef873b, k8s.io/apimachinery at d90aa2c8531f13b0ca734845934c10dcb6a56ca7
2017-02-23 12:27:32 -08:00
Kubernetes Publisher
f427d46f91
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is 122bf004bf5d03f96d9f205d4008b6ea8b47d209
2017-01-26 15:19:41 +00:00
Kubernetes Publisher
fcdf37233b
published by bot
...
(https://github.com/kubernetes/contrib/tree/master/mungegithub )
copied from https://github.com/kubernetes/kubernetes.git , branch master,
last commit is baaaf26609565b4299008018486ec75fb30903eb
2017-01-25 15:19:43 +00:00