Commit Graph

43 Commits

Author SHA1 Message Date
Yu Liao
b1deb1477d generated client change 2022-06-13 17:26:02 +00:00
Yu Liao
0597511e64 generated client change 2022-06-06 21:53:44 +00:00
Yu Liao
8e643c9cb1 generated client change 2022-06-06 21:11:30 +00:00
Haowei Cai
72b03a81f9 generated client change 2022-05-02 11:59:00 -07:00
Yu Liao
ffceaa87d2 generated client change 2022-02-14 14:12:03 -08:00
Yu Liao
443f4a5d07 generated client change 2022-01-04 09:43:10 -08:00
Yu Liao
9c3891d40e generated client change 2021-11-29 11:00:29 -08:00
Yu Liao
6d785aabd5 generated client change 2021-10-25 14:41:05 -07:00
Haowei Cai
ba844599ab generated client change 2021-09-13 12:59:17 -07:00
Nabarun Pal
c55930bb50
Generate updated client 18.0.0-snapshot
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30
Nabarun Pal
598d41ba5f
Generate client 17.0.0
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-07 16:10:08 +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
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
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
3abfdf9ebd Update master to kubernetes 1.9 2018-01-26 13:44:27 -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
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
1ebceb6460 Move manual code to a base folder to prepare for repo splitting. 2017-05-09 16:26:27 -07:00
Mehdy Bohlool
c8374eb409 Merge branch 'master' into inline 2017-04-18 11:15:00 -07:00
mbohlool
cbc4a6d467 Fix datatime parsing bug in api_client 2017-04-18 10:58:59 -07:00
Miguel Angel Rasero
5a590f8b55 add support for attach api call using websockets. 2017-04-18 19:08:05 +02:00
mbohlool
4e593a7530 Improvements on ws_client. Now the client can returns an object to interact with websocket server and reach each channel separately 2017-02-21 12:55:37 -08:00
Davanum Srinivas
353e8ccdc8 Switch to minikube/localkube
* Drop the old Kubernetes on docker containers method as it
  did not have a SSL enabled port
* Use localkube component from minikube instead. This enables
  us to drop the hitch TLS proxy as well.
* E2E tests should be easy to run locally and pick up configuration
  from ~/.kube/config
* Consolidate the urls in one spot (base.py), also consolidate the
  SkipTest in one spot.
* For local testing, just run minikube and run the py27 or py34 tox
  target, that should run all the tests including the e2e tests.
* Fix the connect_post_namespaced_pod_exec and add a e2e test for it

Fixes #122
2017-02-09 15:49:04 -05:00
Davanum Srinivas
066bba1802 Implementation for /exec using websocket
inspired by the POC from @chekolyn

* Adds a new requirement on websocket-client
* Add a new class WSClient that uses WebSocketApp from
  the websocket-client.
* Make sure we pass Authorization header
* Make sure we honor the SSL settings in configuration
* Some of the code will get overwritten when we generate
  fresh classes from swagger definition. To remind us
  added a e2e test so we don't lose the changes
* Added a new configuration option to enable/disable failures
  when hostnames in certificates don't match

Fixes #58
2017-02-07 16:48:26 -05:00
Davanum Srinivas
1e48433b15 Fix ValueError in list_namespaced_config_map
Make sure we set an empty dict/list if we don't get
any data from the server

Fixes #104
2017-01-23 11:41:48 -05:00
mbohlool
8c26b4b75b Support connecting to multiple clusters 2016-12-16 01:50:07 -08:00
mbohlool
69d0d5c5bb Update generated client 2016-12-12 23:37:17 -08:00
mbohlool
000c873f75 Update version to alpha.2 as alpha.1 is used for a failed release 2016-11-23 14:07:43 -08:00
mbohlool
bc301e25cf Set package version in generated code 2016-11-23 13:59:44 -08:00
mbohlool
c120630aa3 Update/move generated client 2016-11-22 17:23:41 -08:00