Commit Graph

6 Commits

Author SHA1 Message Date
Bob Haddleton
cb2aa4ef80 Fix dynamic client watch of named resource
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
2023-06-16 10:46:05 -05:00
Felix Matouschek
2630bfaba7 Add to_dict method to ResourceField
This allows to recursively convert ResourceFields to dicts.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
2022-10-17 09:01:20 +02:00
Mitsuru Kariya
5529dedcb3
Fix DynamicClient.server_side_apply
DynamicClient.server_side_apply is designed to accept a dict or a
ResourceInstance as body.  However, if a dict or a ResourceInstance is
passed actually, an error occurs because RESTClientObject.rest cannot
interpret the Content-Type application/apply-patch+yaml.

So, modify RESTClientObject.rest to treat application/apply-patch+yaml
as other json-based Content-Types.
2022-07-06 01:16:57 +09:00
abikouo
3117c533b3 ResourceField class should allow defining any keyword
add unit tests
2022-03-07 10:00:03 +01:00
Venu Karnati
70ae7a8da8 Async fix for Dynamic Client 2022-02-09 15:52:02 -08:00
Yu Liao
9d176918a9 removed submodule 2022-01-07 16:17:39 -08:00