Update generated client with latest changes in k8s

This commit is contained in:
mbohlool 2016-11-21 13:21:06 -08:00
parent 1ffd2f78af
commit 4c71e299ac
15 changed files with 16 additions and 66 deletions

View File

@ -3,10 +3,10 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. |
**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. |
**message** | **str** | A human readable message indicating details about the transition. |
**reason** | **str** | The reason for the condition's last transition. |
**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. | [optional]
**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. | [optional]
**message** | **str** | A human readable message indicating details about the transition. | [optional]
**reason** | **str** | The reason for the condition's last transition. | [optional]
**status** | **str** | Status of the condition, one of True, False, Unknown. |
**type** | **str** | Type of deployment condition. |

View File

@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min_ready_seconds** | **int** | Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready) | [optional]
**paused** | **bool** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional]
**progress_deadline_seconds** | **int** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. |
**progress_deadline_seconds** | **int** | The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Once autoRollback is implemented, the deployment controller will automatically rollback failed deployments. Note that progress will not be estimated during the time a deployment is paused. This is not set by default. | [optional]
**replicas** | **int** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional]
**revision_history_limit** | **int** | The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. | [optional]
**rollback_to** | [**V1beta1RollbackConfig**](V1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional]

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**available_replicas** | **int** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional]
**conditions** | [**list[V1beta1DeploymentCondition]**](V1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. |
**conditions** | [**list[V1beta1DeploymentCondition]**](V1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional]
**observed_generation** | **int** | The generation observed by the deployment controller. | [optional]
**replicas** | **int** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional]
**unavailable_replicas** | **int** | Total number of unavailable pods targeted by this deployment. | [optional]

View File

@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided |
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. |
**delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided | [optional]
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -3,9 +3,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | |
**spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. |
**status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. |
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
**spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. | [optional]
**status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -4,7 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**list[V1beta1PodDisruptionBudget]**](V1beta1PodDisruptionBudget.md) | |
**metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | |
**metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -3,8 +3,8 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**min_available** | [**IntstrIntOrString**](IntstrIntOrString.md) | An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". |
**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. |
**min_available** | [**IntstrIntOrString**](IntstrIntOrString.md) | An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\". | [optional]
**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@ -87,8 +87,6 @@ class V1beta1DeploymentCondition(object):
:param last_transition_time: The last_transition_time of this V1beta1DeploymentCondition.
:type: UnversionedTime
"""
if last_transition_time is None:
raise ValueError("Invalid value for `last_transition_time`, must not be `None`")
self._last_transition_time = last_transition_time
@ -112,8 +110,6 @@ class V1beta1DeploymentCondition(object):
:param last_update_time: The last_update_time of this V1beta1DeploymentCondition.
:type: UnversionedTime
"""
if last_update_time is None:
raise ValueError("Invalid value for `last_update_time`, must not be `None`")
self._last_update_time = last_update_time
@ -137,8 +133,6 @@ class V1beta1DeploymentCondition(object):
:param message: The message of this V1beta1DeploymentCondition.
:type: str
"""
if message is None:
raise ValueError("Invalid value for `message`, must not be `None`")
self._message = message
@ -162,8 +156,6 @@ class V1beta1DeploymentCondition(object):
:param reason: The reason of this V1beta1DeploymentCondition.
:type: str
"""
if reason is None:
raise ValueError("Invalid value for `reason`, must not be `None`")
self._reason = reason

View File

@ -142,8 +142,6 @@ class V1beta1DeploymentSpec(object):
:param progress_deadline_seconds: The progress_deadline_seconds of this V1beta1DeploymentSpec.
:type: int
"""
if progress_deadline_seconds is None:
raise ValueError("Invalid value for `progress_deadline_seconds`, must not be `None`")
self._progress_deadline_seconds = progress_deadline_seconds

View File

@ -110,8 +110,6 @@ class V1beta1DeploymentStatus(object):
:param conditions: The conditions of this V1beta1DeploymentStatus.
:type: list[V1beta1DeploymentCondition]
"""
if conditions is None:
raise ValueError("Invalid value for `conditions`, must not be `None`")
self._conditions = conditions

View File

@ -75,8 +75,6 @@ class V1beta1Eviction(object):
:param delete_options: The delete_options of this V1beta1Eviction.
:type: V1DeleteOptions
"""
if delete_options is None:
raise ValueError("Invalid value for `delete_options`, must not be `None`")
self._delete_options = delete_options
@ -100,8 +98,6 @@ class V1beta1Eviction(object):
:param metadata: The metadata of this V1beta1Eviction.
:type: V1ObjectMeta
"""
if metadata is None:
raise ValueError("Invalid value for `metadata`, must not be `None`")
self._metadata = metadata

View File

@ -78,8 +78,6 @@ class V1beta1PodDisruptionBudget(object):
:param metadata: The metadata of this V1beta1PodDisruptionBudget.
:type: V1ObjectMeta
"""
if metadata is None:
raise ValueError("Invalid value for `metadata`, must not be `None`")
self._metadata = metadata
@ -103,8 +101,6 @@ class V1beta1PodDisruptionBudget(object):
:param spec: The spec of this V1beta1PodDisruptionBudget.
:type: V1beta1PodDisruptionBudgetSpec
"""
if spec is None:
raise ValueError("Invalid value for `spec`, must not be `None`")
self._spec = spec
@ -128,8 +124,6 @@ class V1beta1PodDisruptionBudget(object):
:param status: The status of this V1beta1PodDisruptionBudget.
:type: V1beta1PodDisruptionBudgetStatus
"""
if status is None:
raise ValueError("Invalid value for `status`, must not be `None`")
self._status = status

View File

@ -100,8 +100,6 @@ class V1beta1PodDisruptionBudgetList(object):
:param metadata: The metadata of this V1beta1PodDisruptionBudgetList.
:type: UnversionedListMeta
"""
if metadata is None:
raise ValueError("Invalid value for `metadata`, must not be `None`")
self._metadata = metadata

View File

@ -75,8 +75,6 @@ class V1beta1PodDisruptionBudgetSpec(object):
:param min_available: The min_available of this V1beta1PodDisruptionBudgetSpec.
:type: IntstrIntOrString
"""
if min_available is None:
raise ValueError("Invalid value for `min_available`, must not be `None`")
self._min_available = min_available
@ -100,8 +98,6 @@ class V1beta1PodDisruptionBudgetSpec(object):
:param selector: The selector of this V1beta1PodDisruptionBudgetSpec.
:type: UnversionedLabelSelector
"""
if selector is None:
raise ValueError("Invalid value for `selector`, must not be `None`")
self._selector = selector

View File

@ -35745,11 +35745,7 @@
"description": "DeploymentCondition describes the state of a deployment at a certain point.",
"required": [
"type",
"status",
"lastUpdateTime",
"lastTransitionTime",
"reason",
"message"
"status"
],
"properties": {
"lastTransitionTime": {
@ -35824,8 +35820,7 @@
"v1beta1.DeploymentSpec": {
"description": "DeploymentSpec is the specification of the desired behavior of the Deployment.",
"required": [
"template",
"progressDeadlineSeconds"
"template"
],
"properties": {
"minReadySeconds": {
@ -35872,9 +35867,6 @@
},
"v1beta1.DeploymentStatus": {
"description": "DeploymentStatus is the most recently observed status of the Deployment.",
"required": [
"conditions"
],
"properties": {
"availableReplicas": {
"description": "Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.",
@ -35925,10 +35917,6 @@
},
"v1beta1.Eviction": {
"description": "Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by POSTing to .../pods/<pod name>/evictions.",
"required": [
"metadata",
"deleteOptions"
],
"properties": {
"deleteOptions": {
"description": "DeleteOptions may be provided",
@ -36411,11 +36399,6 @@
},
"v1beta1.PodDisruptionBudget": {
"description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods",
"required": [
"metadata",
"spec",
"status"
],
"properties": {
"metadata": {
"$ref": "#/definitions/v1.ObjectMeta"
@ -36433,7 +36416,6 @@
"v1beta1.PodDisruptionBudgetList": {
"description": "PodDisruptionBudgetList is a collection of PodDisruptionBudgets.",
"required": [
"metadata",
"items"
],
"properties": {
@ -36450,10 +36432,6 @@
},
"v1beta1.PodDisruptionBudgetSpec": {
"description": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.",
"required": [
"minAvailable",
"selector"
],
"properties": {
"minAvailable": {
"description": "An eviction is allowed if at least \"minAvailable\" pods selected by \"selector\" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying \"100%\".",