Skip to content

Commit 9e2e8e4

Browse files
authored
Merge pull request #29 from kubernetes-incubator/gen
Update generated client with latest changes in k8s
2 parents 1ffd2f7 + 4c71e29 commit 9e2e8e4

15 files changed

+16
-66
lines changed

docs/V1beta1DeploymentCondition.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. |
7-
**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. |
8-
**message** | **str** | A human readable message indicating details about the transition. |
9-
**reason** | **str** | The reason for the condition's last transition. |
6+
**last_transition_time** | [**UnversionedTime**](UnversionedTime.md) | Last time the condition transitioned from one status to another. | [optional]
7+
**last_update_time** | [**UnversionedTime**](UnversionedTime.md) | The last time this condition was updated. | [optional]
8+
**message** | **str** | A human readable message indicating details about the transition. | [optional]
9+
**reason** | **str** | The reason for the condition's last transition. | [optional]
1010
**status** | **str** | Status of the condition, one of True, False, Unknown. |
1111
**type** | **str** | Type of deployment condition. |
1212

docs/V1beta1DeploymentSpec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**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]
77
**paused** | **bool** | Indicates that the deployment is paused and will not be processed by the deployment controller. | [optional]
8-
**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. |
8+
**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]
99
**replicas** | **int** | Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1. | [optional]
1010
**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]
1111
**rollback_to** | [**V1beta1RollbackConfig**](V1beta1RollbackConfig.md) | The config this deployment is rolling back to. Will be cleared after rollback is done. | [optional]

docs/V1beta1DeploymentStatus.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**available_replicas** | **int** | Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. | [optional]
7-
**conditions** | [**list[V1beta1DeploymentCondition]**](V1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. |
7+
**conditions** | [**list[V1beta1DeploymentCondition]**](V1beta1DeploymentCondition.md) | Represents the latest available observations of a deployment's current state. | [optional]
88
**observed_generation** | **int** | The generation observed by the deployment controller. | [optional]
99
**replicas** | **int** | Total number of non-terminated pods targeted by this deployment (their labels match the selector). | [optional]
1010
**unavailable_replicas** | **int** | Total number of unavailable pods targeted by this deployment. | [optional]

docs/V1beta1Eviction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided |
7-
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. |
6+
**delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided | [optional]
7+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | ObjectMeta describes the pod that is being evicted. | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/V1beta1PodDisruptionBudget.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | |
7-
**spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. |
8-
**status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. |
6+
**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional]
7+
**spec** | [**V1beta1PodDisruptionBudgetSpec**](V1beta1PodDisruptionBudgetSpec.md) | Specification of the desired behavior of the PodDisruptionBudget. | [optional]
8+
**status** | [**V1beta1PodDisruptionBudgetStatus**](V1beta1PodDisruptionBudgetStatus.md) | Most recently observed status of the PodDisruptionBudget. | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1111

docs/V1beta1PodDisruptionBudgetList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**items** | [**list[V1beta1PodDisruptionBudget]**](V1beta1PodDisruptionBudget.md) | |
7-
**metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | |
7+
**metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

docs/V1beta1PodDisruptionBudgetSpec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**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%\". |
7-
**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. |
6+
**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]
7+
**selector** | [**UnversionedLabelSelector**](UnversionedLabelSelector.md) | Label query over pods whose evictions are managed by the disruption budget. | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

k8sclient/models/v1beta1_deployment_condition.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ def last_transition_time(self, last_transition_time):
8787
:param last_transition_time: The last_transition_time of this V1beta1DeploymentCondition.
8888
:type: UnversionedTime
8989
"""
90-
if last_transition_time is None:
91-
raise ValueError("Invalid value for `last_transition_time`, must not be `None`")
9290

9391
self._last_transition_time = last_transition_time
9492

@@ -112,8 +110,6 @@ def last_update_time(self, last_update_time):
112110
:param last_update_time: The last_update_time of this V1beta1DeploymentCondition.
113111
:type: UnversionedTime
114112
"""
115-
if last_update_time is None:
116-
raise ValueError("Invalid value for `last_update_time`, must not be `None`")
117113

118114
self._last_update_time = last_update_time
119115

@@ -137,8 +133,6 @@ def message(self, message):
137133
:param message: The message of this V1beta1DeploymentCondition.
138134
:type: str
139135
"""
140-
if message is None:
141-
raise ValueError("Invalid value for `message`, must not be `None`")
142136

143137
self._message = message
144138

@@ -162,8 +156,6 @@ def reason(self, reason):
162156
:param reason: The reason of this V1beta1DeploymentCondition.
163157
:type: str
164158
"""
165-
if reason is None:
166-
raise ValueError("Invalid value for `reason`, must not be `None`")
167159

168160
self._reason = reason
169161

k8sclient/models/v1beta1_deployment_spec.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ def progress_deadline_seconds(self, progress_deadline_seconds):
142142
:param progress_deadline_seconds: The progress_deadline_seconds of this V1beta1DeploymentSpec.
143143
:type: int
144144
"""
145-
if progress_deadline_seconds is None:
146-
raise ValueError("Invalid value for `progress_deadline_seconds`, must not be `None`")
147145

148146
self._progress_deadline_seconds = progress_deadline_seconds
149147

k8sclient/models/v1beta1_deployment_status.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ def conditions(self, conditions):
110110
:param conditions: The conditions of this V1beta1DeploymentStatus.
111111
:type: list[V1beta1DeploymentCondition]
112112
"""
113-
if conditions is None:
114-
raise ValueError("Invalid value for `conditions`, must not be `None`")
115113

116114
self._conditions = conditions
117115

0 commit comments

Comments
 (0)