Skip to content

Commit 3b247f5

Browse files
committed
generated client change for v18.17.0a1 release
removed the generated test directory following the hot issue (https://github.com/kubernetes-client/python/blob/master/devel/release.md#hot-issues): 4. Remove the tests directory
1 parent e43ab1e commit 3b247f5

15 files changed

+108
-94
lines changed

kubernetes/.gitlab-ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ref: https://docs.gitlab.com/ee/ci/README.html
2+
3+
stages:
4+
- test
5+
6+
.nosetest:
7+
stage: test
8+
script:
9+
- pip install -r requirements.txt
10+
- pip install -r test-requirements.txt
11+
- pytest --cov=client
12+
13+
nosetest-2.7:
14+
extends: .nosetest
15+
image: python:2.7-alpine
16+
nosetest-3.3:
17+
extends: .nosetest
18+
image: python:3.3-alpine
19+
nosetest-3.4:
20+
extends: .nosetest
21+
image: python:3.4-alpine
22+
nosetest-3.5:
23+
extends: .nosetest
24+
image: python:3.5-alpine
25+
nosetest-3.6:
26+
extends: .nosetest
27+
image: python:3.6-alpine
28+
nosetest-3.7:
29+
extends: .nosetest
30+
image: python:3.7-alpine
31+
nosetest-3.8:
32+
extends: .nosetest
33+
image: python:3.8-alpine
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
34917ac9d54d8de86d5a7dd1a299f2025a107c83e986bcc196b4fa451927918e
1+
41ab0a9642178691aaed89bbcc78c2f94bc1169e5adac931630ad2758e98294d

kubernetes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: release-1.18
7-
- Package version: 18.0.0-snapshot
7+
- Package version: 18.17.0a1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

kubernetes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
__project__ = 'kubernetes'
1616
# The version is auto-updated. Please do not edit.
17-
__version__ = "18.0.0-snapshot"
17+
__version__ = "18.17.0a1"
1818

1919
import kubernetes.client
2020
import kubernetes.config

kubernetes/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "18.0.0-snapshot"
17+
__version__ = "18.17.0a1"
1818

1919
# import apis into sdk package
2020
from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi

kubernetes/client/api/custom_objects_api.py

Lines changed: 26 additions & 6 deletions
Large diffs are not rendered by default.

kubernetes/client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/18.0.0-snapshot/python'
81+
self.user_agent = 'OpenAPI-Generator/18.17.0a1/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

kubernetes/client/apis/__init__.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

kubernetes/client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def to_debug_report(self):
347347
"OS: {env}\n"\
348348
"Python Version: {pyversion}\n"\
349349
"Version of the API: release-1.18\n"\
350-
"SDK Package Version: 18.0.0-snapshot".\
350+
"SDK Package Version: 18.17.0a1".\
351351
format(env=sys.platform, pyversion=sys.version)
352352

353353
def get_host_settings(self):

kubernetes/docs/CustomObjectsApi.md

Lines changed: 12 additions & 4 deletions
Large diffs are not rendered by default.

kubernetes/setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length=99

kubernetes/test/test_api_client.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

kubernetes/test/test_configuration.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

scripts/swagger.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91987,6 +91987,13 @@
9198791987
],
9198891988
"description": "list or watch namespace scoped custom objects",
9198991989
"parameters": [
91990+
{
91991+
"uniqueItems": true,
91992+
"type": "boolean",
91993+
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
91994+
"name": "allowWatchBookmarks",
91995+
"in": "query"
91996+
},
9199091997
{
9199191998
"uniqueItems": true,
9199291999
"in": "query",
@@ -92022,6 +92029,13 @@
9202292029
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
9202392030
"name": "resourceVersion"
9202492031
},
92032+
{
92033+
"uniqueItems": true,
92034+
"type": "string",
92035+
"description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
92036+
"name": "resourceVersionMatch",
92037+
"in": "query"
92038+
},
9202592039
{
9202692040
"uniqueItems": true,
9202792041
"in": "query",
@@ -92213,6 +92227,13 @@
9221392227
],
9221492228
"description": "list or watch cluster scoped custom objects",
9221592229
"parameters": [
92230+
{
92231+
"uniqueItems": true,
92232+
"type": "boolean",
92233+
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
92234+
"name": "allowWatchBookmarks",
92235+
"in": "query"
92236+
},
9221692237
{
9221792238
"uniqueItems": true,
9221892239
"in": "query",
@@ -92248,6 +92269,13 @@
9224892269
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
9224992270
"name": "resourceVersion"
9225092271
},
92272+
{
92273+
"uniqueItems": true,
92274+
"type": "string",
92275+
"description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
92276+
"name": "resourceVersionMatch",
92277+
"in": "query"
92278+
},
9225192279
{
9225292280
"uniqueItems": true,
9225392281
"in": "query",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# Do not edit these constants. They will be updated automatically
1818
# by scripts/update-client.sh.
19-
CLIENT_VERSION = "18.0.0-snapshot"
19+
CLIENT_VERSION = "18.17.0a1"
2020
PACKAGE_NAME = "kubernetes"
2121
DEVELOPMENT_STATUS = "3 - Alpha"
2222

0 commit comments

Comments
 (0)