8000 Merge pull request #353 from mbohlool/b1 · abhinavcoder/python@7e4b809 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7e4b809

Browse files
authored
Merge pull request kubernetes-client#353 from mbohlool/b1
Use swagger-codegen HEAD to generate the client
2 parents 53e882c + 1935921 commit 7e4b809

File tree

859 files changed

+35597
-33494
lines changed
  • scripts
  • Some content is hidden

    Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

    859 files changed

    +35597
    -33494
    lines changed

    CHANGELOG.md

    Lines changed: 3 additions & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,5 +1,8 @@
    11
    # Master
    22
    - Adding stream package to support calls like exec. The old way of calling them is deprecated. See [Troubleshooting](README.md#why-execattach-calls-doesnt-work)).
    3+
    - config.http_proxy_url is deprecated. use configuration.proxy instead.
    4+
    - Configuration is not a singleton object anymore. Please use Configuraion.set_default to change default configuration.
    5+
    - Configuration class does not support `ws_streaming_protocol` anymore. In ApiClient.set_default_header set `sec-websocket-protocol` to the preferred websocket protocol.
    36

    47
    # v3.0.0
    58
    - Fix Operation names for subresources kubernetes/kubernetes#49357

    examples/exec.py

    Lines changed: 4 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,13 +1,15 @@
    11
    import time
    22

    33
    from kubernetes import config
    4-
    from kubernetes.client import configuration
    4+
    from kubernetes.client import Configuration
    55
    from kubernetes.client.apis import core_v1_api
    66
    from kubernetes.client.rest import ApiException
    77
    from kubernetes.stream import stream
    88

    99
    config.load_kube_config()
    10-
    configuration.assert_hostname = False
    10+
    c = Configuration()
    11+
    c.assert_hostname = False
    12+
    Configuration.set_default(c)
    1113
    api = core_v1_api.CoreV1Api()
    1214
    name = 'busybox-test'
    1315

    kubernetes/.swagger-codegen-ignore

    Lines changed: 0 additions & 3 deletions
    Original file line numberDiff line numberDiff line change
    @@ -5,6 +5,3 @@ test-requirements.txt
    55
    setup.py
    66
    .travis.yml
    77
    tox.ini
    8-
    client/api_client.py
    9-
    client/configuration.py
    10-
    client/rest.py

    kubernetes/.swagger-codegen/COMMIT

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -1,2 +1,2 @@
    1-
    Requested Commit: v2.2.2
    2-
    Actual Commit: ff209ada223dcc7f6c6afc59bb02ec96b85c7e39
    1+
    Requested Commit: d2b91073e1fc499fea67141ff4c17740d25f8e83
    2+
    Actual Commit: d2b91073e1fc499fea67141ff4c17740d25f8e83

    kubernetes/.swagger-codegen/VERSION

    Lines changed: 1 addition & 0 deletions
    Original file line numberDiff line numberDiff line change
    @@ -0,0 +1 @@
    1+
    2.3.0-SNAPSHOT

    kubernetes/README.md

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -3,7 +3,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
    33

    44
    This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
    55

    6-
    - API version: v1.7.4
    6+
    - API version: v1.7.9
    77
    - Package version: 3.0.0-snapshot
    88
    - Build package: io.swagger.codegen.languages.PythonClientCodegen
    99

    kubernetes/client/__init__.py

    Lines changed: 2 additions & 2 deletions
    Original file line numberDiff line numberDiff line change
    @@ -5,7 +5,7 @@
    55
    66
    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
    77
    8-
    OpenAPI spec version: v1.7.4
    8+
    OpenAPI spec version: v1.7.9
    99
    1010
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    1111
    """
    @@ -418,4 +418,4 @@
    418418
    # import ApiClient
    419419
    from .api_client import ApiClient
    420420

    421-
    from .configuration import Configuration, ConfigurationObject, configuration
    421+
    from .configuration import Configuration

    kubernetes/client/api_client.py

    Lines changed: 0 additions & 1 deletion
    This file was deleted.

    0 commit comments

    Comments
     (0)
    0