Skip to content

Commit

Permalink
Update/move generated client
Browse files Browse the repository at this point in the history
  • Loading branch information
mbohlool committed Nov 23, 2016
1 parent aa671e2 commit c120630
Show file tree
Hide file tree
Showing 781 changed files with 4,449 additions and 3,650 deletions.
11 changes: 0 additions & 11 deletions docs/UnversionedAPIVersions.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ requirements.txt
test-requirements.txt
setup.py
.travis.yml
tox.ini
798 changes: 798 additions & 0 deletions kubernetes/README.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __init__(self):

# Logging Settings
self.logger = {}
self.logger["package_logger"] = logging.getLogger("k8sclient")
self.logger["package_logger"] = logging.getLogger("client")
self.logger["urllib3_logger"] = logging.getLogger("urllib3")
# Log format
self.logger_format = '%(asctime)s %(levelname)s %(message)s'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions docs/ApisApi.md → kubernetes/docs/ApisApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# k8sclient.ApisApi
# kubernetes.client.ApisApi

All URIs are relative to *https://localhost*

Expand All @@ -18,17 +18,17 @@ get available API versions
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.ApisApi()
api_instance = kubernetes.client.ApisApi()

try:
api_response = api_instance.get_api_versions()
Expand Down
12 changes: 6 additions & 6 deletions docs/AppsApi.md → kubernetes/docs/AppsApi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# k8sclient.AppsApi
# kubernetes.client.AppsApi

All URIs are relative to *https://localhost*

Expand All @@ -18,17 +18,17 @@ get information of a group
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsApi()
api_instance = kubernetes.client.AppsApi()

try:
api_response = api_instance.get_api_group()
Expand Down
134 changes: 67 additions & 67 deletions docs/AppsV1beta1Api.md → kubernetes/docs/AppsV1beta1Api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# k8sclient.AppsV1beta1Api
# kubernetes.client.AppsV1beta1Api

All URIs are relative to *https://localhost*

Expand Down Expand Up @@ -29,19 +29,19 @@ create a StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.V1beta1StatefulSet() # V1beta1StatefulSet |
body = kubernetes.client.V1beta1StatefulSet() # V1beta1StatefulSet |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)

try:
Expand Down Expand Up @@ -85,17 +85,17 @@ delete collection of StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
Expand Down Expand Up @@ -149,20 +149,20 @@ delete a StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.V1DeleteOptions() # V1DeleteOptions |
body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. (optional)
orphan_dependents = true # bool | Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. (optional)
Expand Down Expand Up @@ -211,17 +211,17 @@ get available resources
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()

try:
api_response = api_instance.get_api_resources()
Expand Down Expand Up @@ -259,17 +259,17 @@ list or watch objects of kind StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
Expand Down Expand Up @@ -323,17 +323,17 @@ list or watch objects of kind StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional)
label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional)
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
Expand Down Expand Up @@ -385,20 +385,20 @@ partially update the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.UnversionedPatch() # UnversionedPatch |
body = kubernetes.client.UnversionedPatch() # UnversionedPatch |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)

try:
Expand Down Expand Up @@ -443,20 +443,20 @@ partially update status of the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.UnversionedPatch() # UnversionedPatch |
body = kubernetes.client.UnversionedPatch() # UnversionedPatch |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)

try:
Expand Down Expand Up @@ -501,17 +501,17 @@ read the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
Expand Down Expand Up @@ -561,17 +561,17 @@ read status of the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)
Expand Down Expand Up @@ -617,20 +617,20 @@ replace the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.V1beta1StatefulSet() # V1beta1StatefulSet |
body = kubernetes.client.V1beta1StatefulSet() # V1beta1StatefulSet |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)

try:
Expand Down Expand Up @@ -675,20 +675,20 @@ replace status of the specified StatefulSet
```python
from __future__ import print_statement
import time
import k8sclient
from k8sclient.rest import ApiException
import kubernetes.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# Configure API key authorization: BearerToken
k8sclient.configuration.api_key['authorization'] = 'YOUR_API_KEY'
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# k8sclient.configuration.api_key_prefix['authorization'] = 'Bearer'
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'

# create an instance of the API class
api_instance = k8sclient.AppsV1beta1Api()
api_instance = kubernetes.client.AppsV1beta1Api()
name = 'name_example' # str | name of the StatefulSet
namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects
body = k8sclient.V1beta1StatefulSet() # V1beta1StatefulSet |
body = kubernetes.client.V1beta1StatefulSet() # V1beta1StatefulSet |
pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional)

try:
Expand Down
Loading

0 comments on commit c120630

Please sign in to comment.