Nabarun Pal
146119213c
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
b78f5cfd6e
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
b4d11b02a3
Update client with OpenAPI generator v4.3.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:39 +05:30
Nabarun Pal
739665e677
Apply hotfixes
2020-04-03 01:47:30 +05:30
Nabarun Pal
c206745dcd
Generate updated client
2020-04-03 01:46:00 +05:30
Fabian von Feilitzsch
18d21df367
Cleanup ThreadPool with atexit rather than __del__
...
This removes the __del__ function from the generated Python client,
and replaces it with a cleanup function. When a ThreadPool is created,
the cleanup function is registered with the atexit module.
This PR also allows the client to be used as a context manager, which
will automatically clean up after itself rather than having to wait til
process exit.
This fixes issue #1037 , where the API client could hang indefinitely at
garbage collection.
2020-02-06 12:08:51 -05:00
Haowei Cai
b3164930dd
turn on warning filter to print deprecation warning by default
2019-11-12 12:51:22 -08:00
Haowei Cai
9959273625
hotfix for patching custom objects issue#866
2019-11-11 12:02:41 -08:00
Haowei Cai
dee078639b
Add alias package kubernetes.client.apis with deprecation warning
2019-11-11 12:02:41 -08:00
Haowei Cai
5cddbde0bf
generated client change for 11.0.0-snapshot
2019-11-11 12:02:41 -08:00
Haowei Cai
8622ac4be4
generated client update for 10.0.0-snapshot
2019-07-01 15:20:01 -07:00
Haowei Cai
b603b4a9c4
generated client change for 10.0.0-snapshot
2019-04-03 13:53:46 -07:00
chowmean
8c9494ecf9
adding proxy headers settings for proxy_manager
2019-03-16 00:20:12 +05:30
Haowei Cai
e35611ca62
remove patch backup
2019-02-06 17:20:12 -08:00
Haowei Cai
1496a21b5e
generated client change for 9.0.0b1 release
2019-02-06 15:20:25 -08:00
Haowei Cai
cd411d2707
generated client change for 9.0.0-snapshot version constant update
2018-12-07 16:43:15 -08:00
Haowei Cai
9484a106f2
generated snapshot client for 8.0.0b1 release
...
against kubernetes 1.12.1 release (temp 1.12.2 openapi spec)
2018-10-15 14:58:13 -07:00
Haowei Cai
316509b32a
generated client change for 8.0.0 snapshot on master branch
...
against kubernetes release-1.12 branch
2018-09-28 14:16:18 -07:00
Haowei Cai
17db994abc
generated client update
...
pick up change in kubernetes-client/gen: add custom object status
and scale api.
2018-08-13 18:16:44 -07:00
Haowei Cai
b10c7b6a17
Rename parameter async into async_req to support Python 3.7
...
as Python 3.7 treats async as a reserved keyword.
2018-07-11 14:28:45 -07:00
Haowei Cai
5f81a65909
Generated client change for Kubernetes 1.11
2018-07-11 13:31:26 -07:00
Haowei Cai
71b5abce5a
Generated API change for kubernetes 1.10
2018-03-12 11:11:47 -07:00
Haowei Cai
f603fd6fad
Generated API change for v6.0.0b1
...
add PATCH to custom_objects_api
documentation update: never let cluster-scoped resources skip webhooks
2018-03-09 11:09:40 -08:00
Haowei Cai
3abfdf9ebd
Update master to kubernetes 1.9
2018-01-26 13:44:27 -08:00
Haowei Cai
284e9d05bf
Api change v1beta2 adding required controller spec selector fields
2018-01-25 15:29:54 -08:00
Yu Liao
e5ea1cf223
api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource
2017-11-17 17:19:45 -08:00
mbohlool
7c1819373f
Change IntOrString field types from string to object
2017-10-17 07:52:35 -07:00
mbohlool
6b1a80c67f
Updte master to kubernetes 1.8
2017-10-09 17:56:32 -07:00
mbohlool
19359213b5
Update CHANGELOGS and final touch ups
2017-10-09 17:32:19 -07:00
mbohlool
789e37464b
Fix (hack) rest client for patch
2017-10-09 17:15:34 -07:00
mbohlool
4782543825
Remove config, apiClient, and restClient from ignore list of swagger-codegen and regenerate client using HEAD of the generator
2017-10-09 17:15:05 -07:00
mbohlool
63d667a45e
Update generated client first
2017-10-09 17:15:04 -07:00
mbohlool
b4f852a9d9
update generated client to get https://github.com/kubernetes/kubernetes/pull/49357
2017-08-10 17:33:39 -07:00
Jean Raby
c3d3ea82d2
Support for v4 stream protocol
...
- Set Sec-WebSocket-Protocol header from cfg param
- Add ERROR and RESIZE websocket channels
As defined in pkg/kubelet/server/remotecommand/websocket.go
- Adjust tests to show v4 behavior wtr to status message
- Tweak read_all() to return only data from stdout and stderr.
2017-07-26 15:31:25 -04:00
Mehdy Bohlool
f6d80b06cf
Merge pull request #287 from dims/use-latest-localkube
...
Test with latest localkube version
2017-07-07 11:35:01 -07:00
Davanum Srinivas
ebb23b7ca1
Test with latest localkube version
...
Oops! we are using a really old version, let's switch over to v1.7.0
2017-07-07 13:41:12 -04:00
Mehdy Bohlool
917ec63d51
Support both TPR and CRD with custom objects spec ( #283 )
...
* Add ability to use local gen repo for testing
* Update generated client
2017-07-07 10:26:25 -07:00
mbohlool
ef558a5ce4
Update generated client
2017-06-29 01:34:59 -07:00
Ebbe Elsborg
b0bc0beac4
Generate client with 'name' and 'namespace' swapped for TPRs
2017-06-23 09:17:58 +02:00
Ebbe Elsborg
1849b1fe56
Generate client with 'version' parameter
2017-06-21 13:42:34 +02:00
Ebbe Elsborg
2e67319b97
Run update-client.sh
2017-06-21 13:42:34 +02:00
Sergi Almacellas Abellana
9cd0b3dc9a
Use urlparse to generate websocket url
...
Fixes #246
2017-06-15 09:30:37 +02:00
mbohlool
8a3b2bae14
Update generated client for TPR fix
2017-05-21 22:58:45 -07:00
mbohlool
e7a257a9ee
Update client (only version changes)
2017-05-21 22:36:27 -07:00
mbohlool
23b0f8c008
Update generated client
2017-05-19 15:27:35 -07:00
mbohlool
1ebceb6460
Move manual code to a base folder to prepare for repo splitting.
2017-05-09 16:26:27 -07:00
mbohlool
c1ad663ca0
Update generated client
2017-05-04 10:56:04 -07:00
Benjamin Sherman
eaf781c787
fix for #187 failure when using RFC 6902 json-patch operation
2017-05-03 17:08:24 -07:00
mbohlool
f5ec773830
Update generated client
2017-04-25 14:11:04 -07:00
Mehdy Bohlool
c8374eb409
Merge branch 'master' into inline
2017-04-18 11:15:00 -07:00