diff --git a/kubernetes/README.md b/kubernetes/README.md index 28f4a912fb..dbf311a70a 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,7 +3,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project: -- API version: v1.5.0-snapshot +- API version: v1.5.1-660c2a2 - Package version: 1.0.0-snapshot - Build package: class io.swagger.codegen.languages.PythonClientCodegen @@ -566,15 +566,21 @@ Class | Method | HTTP request | Description - [UnversionedStatusCause](docs/UnversionedStatusCause.md) - [UnversionedStatusDetails](docs/UnversionedStatusDetails.md) - [UnversionedTime](docs/UnversionedTime.md) + - [V1AWSElasticBlockStoreVolumeSource](docs/V1AWSElasticBlockStoreVolumeSource.md) - [V1AttachedVolume](docs/V1AttachedVolume.md) + - [V1AzureDiskVolumeSource](docs/V1AzureDiskVolumeSource.md) + - [V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md) - [V1Binding](docs/V1Binding.md) - [V1Capabilities](docs/V1Capabilities.md) + - [V1CephFSVolumeSource](docs/V1CephFSVolumeSource.md) + - [V1CinderVolumeSource](docs/V1CinderVolumeSource.md) - [V1ComponentCondition](docs/V1ComponentCondition.md) - [V1ComponentStatus](docs/V1ComponentStatus.md) - [V1ComponentStatusList](docs/V1ComponentStatusList.md) - [V1ConfigMap](docs/V1ConfigMap.md) - [V1ConfigMapKeySelector](docs/V1ConfigMapKeySelector.md) - [V1ConfigMapList](docs/V1ConfigMapList.md) + - [V1ConfigMapVolumeSource](docs/V1ConfigMapVolumeSource.md) - [V1Container](docs/V1Container.md) - [V1ContainerImage](docs/V1ContainerImage.md) - [V1ContainerPort](docs/V1ContainerPort.md) @@ -586,6 +592,9 @@ Class | Method | HTTP request | Description - [V1CrossVersionObjectReference](docs/V1CrossVersionObjectReference.md) - [V1DaemonEndpoint](docs/V1DaemonEndpoint.md) - [V1DeleteOptions](docs/V1DeleteOptions.md) + - [V1DownwardAPIVolumeFile](docs/V1DownwardAPIVolumeFile.md) + - [V1DownwardAPIVolumeSource](docs/V1DownwardAPIVolumeSource.md) + - [V1EmptyDirVolumeSource](docs/V1EmptyDirVolumeSource.md) - [V1EndpointAddress](docs/V1EndpointAddress.md) - [V1EndpointPort](docs/V1EndpointPort.md) - [V1EndpointSubset](docs/V1EndpointSubset.md) @@ -597,6 +606,12 @@ Class | Method | HTTP request | Description - [V1EventList](docs/V1EventList.md) - [V1EventSource](docs/V1EventSource.md) - [V1ExecAction](docs/V1ExecAction.md) + - [V1FCVolumeSource](docs/V1FCVolumeSource.md) + - [V1FlexVolumeSource](docs/V1FlexVolumeSource.md) + - [V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) + - [V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md) + - [V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) + - [V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) - [V1HTTPGetAction](docs/V1HTTPGetAction.md) - [V1HTTPHeader](docs/V1HTTPHeader.md) - [V1Handler](docs/V1Handler.md) @@ -604,11 +619,14 @@ Class | Method | HTTP request | Description - [V1HorizontalPodAutoscalerList](docs/V1HorizontalPodAutoscalerList.md) - [V1HorizontalPodAutoscalerSpec](docs/V1HorizontalPodAutoscalerSpec.md) - [V1HorizontalPodAutoscalerStatus](docs/V1HorizontalPodAutoscalerStatus.md) + - [V1HostPathVolumeSource](docs/V1HostPathVolumeSource.md) + - [V1ISCSIVolumeSource](docs/V1ISCSIVolumeSource.md) - [V1Job](docs/V1Job.md) - [V1JobCondition](docs/V1JobCondition.md) - [V1JobList](docs/V1JobList.md) - [V1JobSpec](docs/V1JobSpec.md) - [V1JobStatus](docs/V1JobStatus.md) + - [V1KeyToPath](docs/V1KeyToPath.md) - [V1Lifecycle](docs/V1Lifecycle.md) - [V1LimitRange](docs/V1LimitRange.md) - [V1LimitRangeItem](docs/V1LimitRangeItem.md) @@ -617,6 +635,7 @@ Class | Method | HTTP request | Description - [V1LoadBalancerIngress](docs/V1LoadBalancerIngress.md) - [V1LoadBalancerStatus](docs/V1LoadBalancerStatus.md) - [V1LocalObjectReference](docs/V1LocalObjectReference.md) + - [V1NFSVolumeSource](docs/V1NFSVolumeSource.md) - [V1Namespace](docs/V1Namespace.md) - [V1NamespaceList](docs/V1NamespaceList.md) - [V1NamespaceSpec](docs/V1NamespaceSpec.md) @@ -638,9 +657,11 @@ Class | Method | HTTP request | Description - [V1PersistentVolumeClaimList](docs/V1PersistentVolumeClaimList.md) - [V1PersistentVolumeClaimSpec](docs/V1PersistentVolumeClaimSpec.md) - [V1PersistentVolumeClaimStatus](docs/V1PersistentVolumeClaimStatus.md) + - [V1PersistentVolumeClaimVolumeSource](docs/V1PersistentVolumeClaimVolumeSource.md) - [V1PersistentVolumeList](docs/V1PersistentVolumeList.md) - [V1PersistentVolumeSpec](docs/V1PersistentVolumeSpec.md) - [V1PersistentVolumeStatus](docs/V1PersistentVolumeStatus.md) + - [V1PhotonPersistentDiskVolumeSource](docs/V1PhotonPersistentDiskVolumeSource.md) - [V1Pod](docs/V1Pod.md) - [V1PodCondition](docs/V1PodCondition.md) - [V1PodList](docs/V1PodList.md) @@ -652,6 +673,8 @@ Class | Method | HTTP request | Description - [V1PodTemplateSpec](docs/V1PodTemplateSpec.md) - [V1Preconditions](docs/V1Preconditions.md) - [V1Probe](docs/V1Probe.md) + - [V1QuobyteVolumeSource](docs/V1QuobyteVolumeSource.md) + - [V1RBDVolumeSource](docs/V1RBDVolumeSource.md) - [V1ReplicationController](docs/V1ReplicationController.md) - [V1ReplicationControllerCondition](docs/V1ReplicationControllerCondition.md) - [V1ReplicationControllerList](docs/V1ReplicationControllerList.md) @@ -670,6 +693,7 @@ Class | Method | HTTP request | Description - [V1Secret](docs/V1Secret.md) - [V1SecretKeySelector](docs/V1SecretKeySelector.md) - [V1SecretList](docs/V1SecretList.md) + - [V1SecretVolumeSource](docs/V1SecretVolumeSource.md) - [V1SecurityContext](docs/V1SecurityContext.md) - [V1Service](docs/V1Service.md) - [V1ServiceAccount](docs/V1ServiceAccount.md) @@ -681,6 +705,7 @@ Class | Method | HTTP request | Description - [V1TCPSocketAction](docs/V1TCPSocketAction.md) - [V1Volume](docs/V1Volume.md) - [V1VolumeMount](docs/V1VolumeMount.md) + - [V1VsphereVirtualDiskVolumeSource](docs/V1VsphereVirtualDiskVolumeSource.md) - [V1alpha1CertificateSigningRequest](docs/V1alpha1CertificateSigningRequest.md) - [V1alpha1CertificateSigningRequestCondition](docs/V1alpha1CertificateSigningRequestCondition.md) - [V1alpha1CertificateSigningRequestList](docs/V1alpha1CertificateSigningRequestList.md) @@ -711,6 +736,8 @@ Class | Method | HTTP request | Description - [V1beta1DeploymentStatus](docs/V1beta1DeploymentStatus.md) - [V1beta1DeploymentStrategy](docs/V1beta1DeploymentStrategy.md) - [V1beta1Eviction](docs/V1beta1Eviction.md) + - [V1beta1HTTPIngressPath](docs/V1beta1HTTPIngressPath.md) + - [V1beta1HTTPIngressRuleValue](docs/V1beta1HTTPIngressRuleValue.md) - [V1beta1HorizontalPodAutoscaler](docs/V1beta1HorizontalPodAutoscaler.md) - [V1beta1HorizontalPodAutoscalerList](docs/V1beta1HorizontalPodAutoscalerList.md) - [V1beta1HorizontalPodAutoscalerSpec](docs/V1beta1HorizontalPodAutoscalerSpec.md) diff --git a/kubernetes/client/apis/apis_api.py b/kubernetes/client/apis/apis_api.py index 196a56e10c..47ddbc1152 100644 --- a/kubernetes/client/apis/apis_api.py +++ b/kubernetes/client/apis/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/apps_api.py b/kubernetes/client/apis/apps_api.py index 07d5866c65..326c8c4f3f 100644 --- a/kubernetes/client/apis/apps_api.py +++ b/kubernetes/client/apis/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/apps_v1beta1_api.py b/kubernetes/client/apis/apps_v1beta1_api.py index e1e99b9fdf..13646c375e 100644 --- a/kubernetes/client/apis/apps_v1beta1_api.py +++ b/kubernetes/client/apis/apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/authentication_api.py b/kubernetes/client/apis/authentication_api.py index 77c28f12d1..d3e396163f 100644 --- a/kubernetes/client/apis/authentication_api.py +++ b/kubernetes/client/apis/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/authentication_v1beta1_api.py b/kubernetes/client/apis/authentication_v1beta1_api.py index 9207073c6f..7b039b5e8f 100644 --- a/kubernetes/client/apis/authentication_v1beta1_api.py +++ b/kubernetes/client/apis/authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/authorization_api.py b/kubernetes/client/apis/authorization_api.py index 430947caf5..afb97861aa 100644 --- a/kubernetes/client/apis/authorization_api.py +++ b/kubernetes/client/apis/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/authorization_v1beta1_api.py b/kubernetes/client/apis/authorization_v1beta1_api.py index e897126f7b..094bcea2ca 100644 --- a/kubernetes/client/apis/authorization_v1beta1_api.py +++ b/kubernetes/client/apis/authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/autoscaling_api.py b/kubernetes/client/apis/autoscaling_api.py index 7dc5d6307f..1d961e5089 100644 --- a/kubernetes/client/apis/autoscaling_api.py +++ b/kubernetes/client/apis/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/autoscaling_v1_api.py b/kubernetes/client/apis/autoscaling_v1_api.py index de8b17be5d..554311f7c3 100644 --- a/kubernetes/client/apis/autoscaling_v1_api.py +++ b/kubernetes/client/apis/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/batch_api.py b/kubernetes/client/apis/batch_api.py index 14c49454dd..47ea968bef 100644 --- a/kubernetes/client/apis/batch_api.py +++ b/kubernetes/client/apis/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/batch_v1_api.py b/kubernetes/client/apis/batch_v1_api.py index bd7525531d..ce59fc6734 100644 --- a/kubernetes/client/apis/batch_v1_api.py +++ b/kubernetes/client/apis/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/batch_v2alpha1_api.py b/kubernetes/client/apis/batch_v2alpha1_api.py index 55781644f2..f7188bee22 100644 --- a/kubernetes/client/apis/batch_v2alpha1_api.py +++ b/kubernetes/client/apis/batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/certificates_api.py b/kubernetes/client/apis/certificates_api.py index 260e671c98..826e06aae7 100644 --- a/kubernetes/client/apis/certificates_api.py +++ b/kubernetes/client/apis/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/certificates_v1alpha1_api.py b/kubernetes/client/apis/certificates_v1alpha1_api.py index 99dac433bc..239fd28751 100644 --- a/kubernetes/client/apis/certificates_v1alpha1_api.py +++ b/kubernetes/client/apis/certificates_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/core_api.py b/kubernetes/client/apis/core_api.py index 52d2d56944..569401dea4 100644 --- a/kubernetes/client/apis/core_api.py +++ b/kubernetes/client/apis/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/core_v1_api.py b/kubernetes/client/apis/core_v1_api.py index d08dd9dc43..7fa85f1288 100644 --- a/kubernetes/client/apis/core_v1_api.py +++ b/kubernetes/client/apis/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/extensions_api.py b/kubernetes/client/apis/extensions_api.py index d3a86a485b..cc6add7557 100644 --- a/kubernetes/client/apis/extensions_api.py +++ b/kubernetes/client/apis/extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/extensions_v1beta1_api.py b/kubernetes/client/apis/extensions_v1beta1_api.py index 8df0bf8133..9548e1ecc2 100644 --- a/kubernetes/client/apis/extensions_v1beta1_api.py +++ b/kubernetes/client/apis/extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/logs_api.py b/kubernetes/client/apis/logs_api.py index 7c10e31c65..f5e677569a 100644 --- a/kubernetes/client/apis/logs_api.py +++ b/kubernetes/client/apis/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/policy_api.py b/kubernetes/client/apis/policy_api.py index 1042227bfa..4e056d5b76 100644 --- a/kubernetes/client/apis/policy_api.py +++ b/kubernetes/client/apis/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/policy_v1beta1_api.py b/kubernetes/client/apis/policy_v1beta1_api.py index 1c521b6acc..440c5645fa 100644 --- a/kubernetes/client/apis/policy_v1beta1_api.py +++ b/kubernetes/client/apis/policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/rbac_authorization_api.py b/kubernetes/client/apis/rbac_authorization_api.py index e3e226013c..61a9a9c5ec 100644 --- a/kubernetes/client/apis/rbac_authorization_api.py +++ b/kubernetes/client/apis/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py index 5ec944db24..50e39e2f13 100644 --- a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/storage_api.py b/kubernetes/client/apis/storage_api.py index 2f3f9ae849..e937514133 100644 --- a/kubernetes/client/apis/storage_api.py +++ b/kubernetes/client/apis/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/storage_v1beta1_api.py b/kubernetes/client/apis/storage_v1beta1_api.py index 142de02ea2..f02140b5e7 100644 --- a/kubernetes/client/apis/storage_v1beta1_api.py +++ b/kubernetes/client/apis/storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/apis/version_api.py b/kubernetes/client/apis/version_api.py index a0cf2edd81..fbca18b22f 100644 --- a/kubernetes/client/apis/version_api.py +++ b/kubernetes/client/apis/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index da6b6b4333..0d9582b89f 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -42,15 +42,21 @@ from .unversioned_status_cause import UnversionedStatusCause from .unversioned_status_details import UnversionedStatusDetails from .unversioned_time import UnversionedTime +from .v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource from .v1_attached_volume import V1AttachedVolume +from .v1_azure_disk_volume_source import V1AzureDiskVolumeSource +from .v1_azure_file_volume_source import V1AzureFileVolumeSource from .v1_binding import V1Binding from .v1_capabilities import V1Capabilities +from .v1_ceph_fs_volume_source import V1CephFSVolumeSource +from .v1_cinder_volume_source import V1CinderVolumeSource from .v1_component_condition import V1ComponentCondition from .v1_component_status import V1ComponentStatus from .v1_component_status_list import V1ComponentStatusList from .v1_config_map import V1ConfigMap from .v1_config_map_key_selector import V1ConfigMapKeySelector from .v1_config_map_list import V1ConfigMapList +from .v1_config_map_volume_source import V1ConfigMapVolumeSource from .v1_container import V1Container from .v1_container_image import V1ContainerImage from .v1_container_port import V1ContainerPort @@ -62,6 +68,9 @@ from .v1_cross_version_object_reference import V1CrossVersionObjectReference from .v1_daemon_endpoint import V1DaemonEndpoint from .v1_delete_options import V1DeleteOptions +from .v1_downward_api_volume_file import V1DownwardAPIVolumeFile +from .v1_downward_api_volume_source import V1DownwardAPIVolumeSource +from .v1_empty_dir_volume_source import V1EmptyDirVolumeSource from .v1_endpoint_address import V1EndpointAddress from .v1_endpoint_port import V1EndpointPort from .v1_endpoint_subset import V1EndpointSubset @@ -73,6 +82,12 @@ from .v1_event_list import V1EventList from .v1_event_source import V1EventSource from .v1_exec_action import V1ExecAction +from .v1_fc_volume_source import V1FCVolumeSource +from .v1_flex_volume_source import V1FlexVolumeSource +from .v1_flocker_volume_source import V1FlockerVolumeSource +from .v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from .v1_git_repo_volume_source import V1GitRepoVolumeSource +from .v1_glusterfs_volume_source import V1GlusterfsVolumeSource from .v1_http_get_action import V1HTTPGetAction from .v1_http_header import V1HTTPHeader from .v1_handler import V1Handler @@ -80,11 +95,14 @@ from .v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList from .v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec from .v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus +from .v1_host_path_volume_source import V1HostPathVolumeSource +from .v1_iscsi_volume_source import V1ISCSIVolumeSource from .v1_job import V1Job from .v1_job_condition import V1JobCondition from .v1_job_list import V1JobList from .v1_job_spec import V1JobSpec from .v1_job_status import V1JobStatus +from .v1_key_to_path import V1KeyToPath from .v1_lifecycle import V1Lifecycle from .v1_limit_range import V1LimitRange from .v1_limit_range_item import V1LimitRangeItem @@ -93,6 +111,7 @@ from .v1_load_balancer_ingress import V1LoadBalancerIngress from .v1_load_balancer_status import V1LoadBalancerStatus from .v1_local_object_reference import V1LocalObjectReference +from .v1_nfs_volume_source import V1NFSVolumeSource from .v1_namespace import V1Namespace from .v1_namespace_list import V1NamespaceList from .v1_namespace_spec import V1NamespaceSpec @@ -114,9 +133,11 @@ from .v1_persistent_volume_claim_list import V1PersistentVolumeClaimList from .v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec from .v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus +from .v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource from .v1_persistent_volume_list import V1PersistentVolumeList from .v1_persistent_volume_spec import V1PersistentVolumeSpec from .v1_persistent_volume_status import V1PersistentVolumeStatus +from .v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource from .v1_pod import V1Pod from .v1_pod_condition import V1PodCondition from .v1_pod_list import V1PodList @@ -128,6 +149,8 @@ from .v1_pod_template_spec import V1PodTemplateSpec from .v1_preconditions import V1Preconditions from .v1_probe import V1Probe +from .v1_quobyte_volume_source import V1QuobyteVolumeSource +from .v1_rbd_volume_source import V1RBDVolumeSource from .v1_replication_controller import V1ReplicationController from .v1_replication_controller_condition import V1ReplicationControllerCondition from .v1_replication_controller_list import V1ReplicationControllerList @@ -146,6 +169,7 @@ from .v1_secret import V1Secret from .v1_secret_key_selector import V1SecretKeySelector from .v1_secret_list import V1SecretList +from .v1_secret_volume_source import V1SecretVolumeSource from .v1_security_context import V1SecurityContext from .v1_service import V1Service from .v1_service_account import V1ServiceAccount @@ -157,6 +181,7 @@ from .v1_tcp_socket_action import V1TCPSocketAction from .v1_volume import V1Volume from .v1_volume_mount import V1VolumeMount +from .v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource from .v1alpha1_certificate_signing_request import V1alpha1CertificateSigningRequest from .v1alpha1_certificate_signing_request_condition import V1alpha1CertificateSigningRequestCondition from .v1alpha1_certificate_signing_request_list import V1alpha1CertificateSigningRequestList @@ -187,6 +212,8 @@ from .v1beta1_deployment_status import V1beta1DeploymentStatus from .v1beta1_deployment_strategy import V1beta1DeploymentStrategy from .v1beta1_eviction import V1beta1Eviction +from .v1beta1_http_ingress_path import V1beta1HTTPIngressPath +from .v1beta1_http_ingress_rule_value import V1beta1HTTPIngressRuleValue from .v1beta1_horizontal_pod_autoscaler import V1beta1HorizontalPodAutoscaler from .v1beta1_horizontal_pod_autoscaler_list import V1beta1HorizontalPodAutoscalerList from .v1beta1_horizontal_pod_autoscaler_spec import V1beta1HorizontalPodAutoscalerSpec diff --git a/kubernetes/client/models/intstr_int_or_string.py b/kubernetes/client/models/intstr_int_or_string.py index c3de5ffd28..97ea32adfa 100644 --- a/kubernetes/client/models/intstr_int_or_string.py +++ b/kubernetes/client/models/intstr_int_or_string.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/resource_quantity.py b/kubernetes/client/models/resource_quantity.py index 66cf0fac3b..a64872e47b 100644 --- a/kubernetes/client/models/resource_quantity.py +++ b/kubernetes/client/models/resource_quantity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/runtime_raw_extension.py b/kubernetes/client/models/runtime_raw_extension.py index fab8b64fb1..48831c0fd2 100644 --- a/kubernetes/client/models/runtime_raw_extension.py +++ b/kubernetes/client/models/runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_api_group.py b/kubernetes/client/models/unversioned_api_group.py index 51701e4dd1..be6162f6e8 100644 --- a/kubernetes/client/models/unversioned_api_group.py +++ b/kubernetes/client/models/unversioned_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class UnversionedAPIGroup(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, preferred_version=None, server_address_by_client_cid_rs=None, versions=None): + def __init__(self, api_version=None, kind=None, name=None, preferred_version=None, server_address_by_client_cid_rs=None, versions=None): """ UnversionedAPIGroup - a model defined in Swagger @@ -42,6 +42,8 @@ def __init__(self, name=None, preferred_version=None, server_address_by_client_c and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'name': 'str', 'preferred_version': 'UnversionedGroupVersionForDiscovery', 'server_address_by_client_cid_rs': 'list[UnversionedServerAddressByClientCIDR]', @@ -49,18 +51,68 @@ def __init__(self, name=None, preferred_version=None, server_address_by_client_c } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'name': 'name', 'preferred_version': 'preferredVersion', 'server_address_by_client_cid_rs': 'serverAddressByClientCIDRs', 'versions': 'versions' } + self._api_version = api_version + self._kind = kind self._name = name self._preferred_version = preferred_version self._server_address_by_client_cid_rs = server_address_by_client_cid_rs self._versions = versions + @property + def api_version(self): + """ + Gets the api_version of this UnversionedAPIGroup. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this UnversionedAPIGroup. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this UnversionedAPIGroup. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this UnversionedAPIGroup. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this UnversionedAPIGroup. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this UnversionedAPIGroup. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this UnversionedAPIGroup. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this UnversionedAPIGroup. + :type: str + """ + + self._kind = kind + @property def name(self): """ diff --git a/kubernetes/client/models/unversioned_api_group_list.py b/kubernetes/client/models/unversioned_api_group_list.py index 2c4cc47a01..18f3bc8e6e 100644 --- a/kubernetes/client/models/unversioned_api_group_list.py +++ b/kubernetes/client/models/unversioned_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class UnversionedAPIGroupList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, groups=None): + def __init__(self, api_version=None, groups=None, kind=None): """ UnversionedAPIGroupList - a model defined in Swagger @@ -42,16 +42,45 @@ def __init__(self, groups=None): and the value is json key in definition. """ self.swagger_types = { - 'groups': 'list[UnversionedAPIGroup]' + 'api_version': 'str', + 'groups': 'list[UnversionedAPIGroup]', + 'kind': 'str' } self.attribute_map = { - 'groups': 'groups' + 'api_version': 'apiVersion', + 'groups': 'groups', + 'kind': 'kind' } + self._api_version = api_version self._groups = groups + self._kind = kind + @property + def api_version(self): + """ + Gets the api_version of this UnversionedAPIGroupList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this UnversionedAPIGroupList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this UnversionedAPIGroupList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this UnversionedAPIGroupList. + :type: str + """ + + self._api_version = api_version + @property def groups(self): """ @@ -77,6 +106,29 @@ def groups(self, groups): self._groups = groups + @property + def kind(self): + """ + Gets the kind of this UnversionedAPIGroupList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this UnversionedAPIGroupList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this UnversionedAPIGroupList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this UnversionedAPIGroupList. + :type: str + """ + + self._kind = kind + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/unversioned_api_resource.py b/kubernetes/client/models/unversioned_api_resource.py index 632f2b1212..cf79a8f878 100644 --- a/kubernetes/client/models/unversioned_api_resource.py +++ b/kubernetes/client/models/unversioned_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_api_resource_list.py b/kubernetes/client/models/unversioned_api_resource_list.py index d515a8f486..228fb58207 100644 --- a/kubernetes/client/models/unversioned_api_resource_list.py +++ b/kubernetes/client/models/unversioned_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class UnversionedAPIResourceList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, group_version=None, resources=None): + def __init__(self, api_version=None, group_version=None, kind=None, resources=None): """ UnversionedAPIResourceList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, group_version=None, resources=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'group_version': 'str', + 'kind': 'str', 'resources': 'list[UnversionedAPIResource]' } self.attribute_map = { + 'api_version': 'apiVersion', 'group_version': 'groupVersion', + 'kind': 'kind', 'resources': 'resources' } + self._api_version = api_version self._group_version = group_version + self._kind = kind self._resources = resources + @property + def api_version(self): + """ + Gets the api_version of this UnversionedAPIResourceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this UnversionedAPIResourceList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this UnversionedAPIResourceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this UnversionedAPIResourceList. + :type: str + """ + + self._api_version = api_version + @property def group_version(self): """ @@ -80,6 +109,29 @@ def group_version(self, group_version): self._group_version = group_version + @property + def kind(self): + """ + Gets the kind of this UnversionedAPIResourceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this UnversionedAPIResourceList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this UnversionedAPIResourceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this UnversionedAPIResourceList. + :type: str + """ + + self._kind = kind + @property def resources(self): """ diff --git a/kubernetes/client/models/unversioned_api_versions.py b/kubernetes/client/models/unversioned_api_versions.py index be8175cc8b..3fa3033f02 100644 --- a/kubernetes/client/models/unversioned_api_versions.py +++ b/kubernetes/client/models/unversioned_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class UnversionedAPIVersions(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, server_address_by_client_cid_rs=None, versions=None): + def __init__(self, api_version=None, kind=None, server_address_by_client_cid_rs=None, versions=None): """ UnversionedAPIVersions - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, server_address_by_client_cid_rs=None, versions=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'server_address_by_client_cid_rs': 'list[UnversionedServerAddressByClientCIDR]', 'versions': 'list[str]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'server_address_by_client_cid_rs': 'serverAddressByClientCIDRs', 'versions': 'versions' } + self._api_version = api_version + self._kind = kind self._server_address_by_client_cid_rs = server_address_by_client_cid_rs self._versions = versions + @property + def api_version(self): + """ + Gets the api_version of this UnversionedAPIVersions. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this UnversionedAPIVersions. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this UnversionedAPIVersions. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this UnversionedAPIVersions. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this UnversionedAPIVersions. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this UnversionedAPIVersions. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this UnversionedAPIVersions. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this UnversionedAPIVersions. + :type: str + """ + + self._kind = kind + @property def server_address_by_client_cid_rs(self): """ diff --git a/kubernetes/client/models/unversioned_group_version_for_discovery.py b/kubernetes/client/models/unversioned_group_version_for_discovery.py index 6030cb7b99..d7f5e8f20f 100644 --- a/kubernetes/client/models/unversioned_group_version_for_discovery.py +++ b/kubernetes/client/models/unversioned_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_label_selector.py b/kubernetes/client/models/unversioned_label_selector.py index 903c68f394..a9e5b95277 100644 --- a/kubernetes/client/models/unversioned_label_selector.py +++ b/kubernetes/client/models/unversioned_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_label_selector_requirement.py b/kubernetes/client/models/unversioned_label_selector_requirement.py index 602860ffec..d4ae325ad2 100644 --- a/kubernetes/client/models/unversioned_label_selector_requirement.py +++ b/kubernetes/client/models/unversioned_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_list_meta.py b/kubernetes/client/models/unversioned_list_meta.py index 2f31e23843..0cf321ae5b 100644 --- a/kubernetes/client/models/unversioned_list_meta.py +++ b/kubernetes/client/models/unversioned_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_server_address_by_client_cidr.py b/kubernetes/client/models/unversioned_server_address_by_client_cidr.py index 064ce509a3..7136896f60 100644 --- a/kubernetes/client/models/unversioned_server_address_by_client_cidr.py +++ b/kubernetes/client/models/unversioned_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_status.py b/kubernetes/client/models/unversioned_status.py index 2e4ad39fa5..c0a280952e 100644 --- a/kubernetes/client/models/unversioned_status.py +++ b/kubernetes/client/models/unversioned_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class UnversionedStatus(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, code=None, details=None, message=None, metadata=None, reason=None, status=None): + def __init__(self, api_version=None, code=None, details=None, kind=None, message=None, metadata=None, reason=None, status=None): """ UnversionedStatus - a model defined in Swagger @@ -42,8 +42,10 @@ def __init__(self, code=None, details=None, message=None, metadata=None, reason= and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'code': 'int', 'details': 'UnversionedStatusDetails', + 'kind': 'str', 'message': 'str', 'metadata': 'UnversionedListMeta', 'reason': 'str', @@ -51,22 +53,49 @@ def __init__(self, code=None, details=None, message=None, metadata=None, reason= } self.attribute_map = { + 'api_version': 'apiVersion', 'code': 'code', 'details': 'details', + 'kind': 'kind', 'message': 'message', 'metadata': 'metadata', 'reason': 'reason', 'status': 'status' } + self._api_version = api_version self._code = code self._details = details + self._kind = kind self._message = message self._metadata = metadata self._reason = reason self._status = status + @property + def api_version(self): + """ + Gets the api_version of this UnversionedStatus. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this UnversionedStatus. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this UnversionedStatus. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this UnversionedStatus. + :type: str + """ + + self._api_version = api_version + @property def code(self): """ @@ -113,6 +142,29 @@ def details(self, details): self._details = details + @property + def kind(self): + """ + Gets the kind of this UnversionedStatus. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this UnversionedStatus. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this UnversionedStatus. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this UnversionedStatus. + :type: str + """ + + self._kind = kind + @property def message(self): """ diff --git a/kubernetes/client/models/unversioned_status_cause.py b/kubernetes/client/models/unversioned_status_cause.py index 2ea09388d3..d8fe0e59f0 100644 --- a/kubernetes/client/models/unversioned_status_cause.py +++ b/kubernetes/client/models/unversioned_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_status_details.py b/kubernetes/client/models/unversioned_status_details.py index eb1494e62d..ccd72f0579 100644 --- a/kubernetes/client/models/unversioned_status_details.py +++ b/kubernetes/client/models/unversioned_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/unversioned_time.py b/kubernetes/client/models/unversioned_time.py index 9185664cbf..d0a3016523 100644 --- a/kubernetes/client/models/unversioned_time.py +++ b/kubernetes/client/models/unversioned_time.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index b9ee95dd62..d6da0a5021 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py new file mode 100644 index 0000000000..3c7c25cc6d --- /dev/null +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1AWSElasticBlockStoreVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, partition=None, read_only=None, volume_id=None): + """ + V1AWSElasticBlockStoreVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'partition': 'int', + 'read_only': 'bool', + 'volume_id': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'partition': 'partition', + 'read_only': 'readOnly', + 'volume_id': 'volumeID' + } + + self._fs_type = fs_type + self._partition = partition + self._read_only = read_only + self._volume_id = volume_id + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1AWSElasticBlockStoreVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :return: The fs_type of this V1AWSElasticBlockStoreVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1AWSElasticBlockStoreVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :param fs_type: The fs_type of this V1AWSElasticBlockStoreVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def partition(self): + """ + Gets the partition of this V1AWSElasticBlockStoreVolumeSource. + The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). + + :return: The partition of this V1AWSElasticBlockStoreVolumeSource. + :rtype: int + """ + return self._partition + + @partition.setter + def partition(self, partition): + """ + Sets the partition of this V1AWSElasticBlockStoreVolumeSource. + The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). + + :param partition: The partition of this V1AWSElasticBlockStoreVolumeSource. + :type: int + """ + + self._partition = partition + + @property + def read_only(self): + """ + Gets the read_only of this V1AWSElasticBlockStoreVolumeSource. + Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :return: The read_only of this V1AWSElasticBlockStoreVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1AWSElasticBlockStoreVolumeSource. + Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :param read_only: The read_only of this V1AWSElasticBlockStoreVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def volume_id(self): + """ + Gets the volume_id of this V1AWSElasticBlockStoreVolumeSource. + Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :return: The volume_id of this V1AWSElasticBlockStoreVolumeSource. + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """ + Sets the volume_id of this V1AWSElasticBlockStoreVolumeSource. + Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :param volume_id: The volume_id of this V1AWSElasticBlockStoreVolumeSource. + :type: str + """ + if volume_id is None: + raise ValueError("Invalid value for `volume_id`, must not be `None`") + + self._volume_id = volume_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py new file mode 100644 index 0000000000..e6238cefdf --- /dev/null +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1AzureDiskVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, caching_mode=None, disk_name=None, disk_uri=None, fs_type=None, read_only=None): + """ + V1AzureDiskVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'caching_mode': 'str', + 'disk_name': 'str', + 'disk_uri': 'str', + 'fs_type': 'str', + 'read_only': 'bool' + } + + self.attribute_map = { + 'caching_mode': 'cachingMode', + 'disk_name': 'diskName', + 'disk_uri': 'diskURI', + 'fs_type': 'fsType', + 'read_only': 'readOnly' + } + + self._caching_mode = caching_mode + self._disk_name = disk_name + self._disk_uri = disk_uri + self._fs_type = fs_type + self._read_only = read_only + + + @property + def caching_mode(self): + """ + Gets the caching_mode of this V1AzureDiskVolumeSource. + Host Caching mode: None, Read Only, Read Write. + + :return: The caching_mode of this V1AzureDiskVolumeSource. + :rtype: str + """ + return self._caching_mode + + @caching_mode.setter + def caching_mode(self, caching_mode): + """ + Sets the caching_mode of this V1AzureDiskVolumeSource. + Host Caching mode: None, Read Only, Read Write. + + :param caching_mode: The caching_mode of this V1AzureDiskVolumeSource. + :type: str + """ + + self._caching_mode = caching_mode + + @property + def disk_name(self): + """ + Gets the disk_name of this V1AzureDiskVolumeSource. + The Name of the data disk in the blob storage + + :return: The disk_name of this V1AzureDiskVolumeSource. + :rtype: str + """ + return self._disk_name + + @disk_name.setter + def disk_name(self, disk_name): + """ + Sets the disk_name of this V1AzureDiskVolumeSource. + The Name of the data disk in the blob storage + + :param disk_name: The disk_name of this V1AzureDiskVolumeSource. + :type: str + """ + if disk_name is None: + raise ValueError("Invalid value for `disk_name`, must not be `None`") + + self._disk_name = disk_name + + @property + def disk_uri(self): + """ + Gets the disk_uri of this V1AzureDiskVolumeSource. + The URI the data disk in the blob storage + + :return: The disk_uri of this V1AzureDiskVolumeSource. + :rtype: str + """ + return self._disk_uri + + @disk_uri.setter + def disk_uri(self, disk_uri): + """ + Sets the disk_uri of this V1AzureDiskVolumeSource. + The URI the data disk in the blob storage + + :param disk_uri: The disk_uri of this V1AzureDiskVolumeSource. + :type: str + """ + if disk_uri is None: + raise ValueError("Invalid value for `disk_uri`, must not be `None`") + + self._disk_uri = disk_uri + + @property + def fs_type(self): + """ + Gets the fs_type of this V1AzureDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :return: The fs_type of this V1AzureDiskVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1AzureDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :param fs_type: The fs_type of this V1AzureDiskVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def read_only(self): + """ + Gets the read_only of this V1AzureDiskVolumeSource. + Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :return: The read_only of this V1AzureDiskVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1AzureDiskVolumeSource. + Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :param read_only: The read_only of this V1AzureDiskVolumeSource. + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py new file mode 100644 index 0000000000..a6cacd3839 --- /dev/null +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1AzureFileVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, read_only=None, secret_name=None, share_name=None): + """ + V1AzureFileVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'read_only': 'bool', + 'secret_name': 'str', + 'share_name': 'str' + } + + self.attribute_map = { + 'read_only': 'readOnly', + 'secret_name': 'secretName', + 'share_name': 'shareName' + } + + self._read_only = read_only + self._secret_name = secret_name + self._share_name = share_name + + + @property + def read_only(self): + """ + Gets the read_only of this V1AzureFileVolumeSource. + Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :return: The read_only of this V1AzureFileVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1AzureFileVolumeSource. + Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :param read_only: The read_only of this V1AzureFileVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def secret_name(self): + """ + Gets the secret_name of this V1AzureFileVolumeSource. + the name of secret that contains Azure Storage Account Name and Key + + :return: The secret_name of this V1AzureFileVolumeSource. + :rtype: str + """ + return self._secret_name + + @secret_name.setter + def secret_name(self, secret_name): + """ + Sets the secret_name of this V1AzureFileVolumeSource. + the name of secret that contains Azure Storage Account Name and Key + + :param secret_name: The secret_name of this V1AzureFileVolumeSource. + :type: str + """ + if secret_name is None: + raise ValueError("Invalid value for `secret_name`, must not be `None`") + + self._secret_name = secret_name + + @property + def share_name(self): + """ + Gets the share_name of this V1AzureFileVolumeSource. + Share Name + + :return: The share_name of this V1AzureFileVolumeSource. + :rtype: str + """ + return self._share_name + + @share_name.setter + def share_name(self, share_name): + """ + Sets the share_name of this V1AzureFileVolumeSource. + Share Name + + :param share_name: The share_name of this V1AzureFileVolumeSource. + :type: str + """ + if share_name is None: + raise ValueError("Invalid value for `share_name`, must not be `None`") + + self._share_name = share_name + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 8ba05e2119..7e12262593 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Binding(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, target=None): + def __init__(self, api_version=None, kind=None, metadata=None, target=None): """ V1Binding - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, target=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'target': 'V1ObjectReference' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'target': 'target' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._target = target + @property + def api_version(self): + """ + Gets the api_version of this V1Binding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Binding. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Binding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Binding. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Binding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Binding. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Binding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Binding. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index e2b749181c..dee8d90646 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py new file mode 100644 index 0000000000..4b042e7710 --- /dev/null +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -0,0 +1,258 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1CephFSVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, monitors=None, path=None, read_only=None, secret_file=None, secret_ref=None, user=None): + """ + V1CephFSVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'monitors': 'list[str]', + 'path': 'str', + 'read_only': 'bool', + 'secret_file': 'str', + 'secret_ref': 'V1LocalObjectReference', + 'user': 'str' + } + + self.attribute_map = { + 'monitors': 'monitors', + 'path': 'path', + 'read_only': 'readOnly', + 'secret_file': 'secretFile', + 'secret_ref': 'secretRef', + 'user': 'user' + } + + self._monitors = monitors + self._path = path + self._read_only = read_only + self._secret_file = secret_file + self._secret_ref = secret_ref + self._user = user + + + @property + def monitors(self): + """ + Gets the monitors of this V1CephFSVolumeSource. + Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :return: The monitors of this V1CephFSVolumeSource. + :rtype: list[str] + """ + return self._monitors + + @monitors.setter + def monitors(self, monitors): + """ + Sets the monitors of this V1CephFSVolumeSource. + Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :param monitors: The monitors of this V1CephFSVolumeSource. + :type: list[str] + """ + if monitors is None: + raise ValueError("Invalid value for `monitors`, must not be `None`") + + self._monitors = monitors + + @property + def path(self): + """ + Gets the path of this V1CephFSVolumeSource. + Optional: Used as the mounted root, rather than the full Ceph tree, default is / + + :return: The path of this V1CephFSVolumeSource. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1CephFSVolumeSource. + Optional: Used as the mounted root, rather than the full Ceph tree, default is / + + :param path: The path of this V1CephFSVolumeSource. + :type: str + """ + + self._path = path + + @property + def read_only(self): + """ + Gets the read_only of this V1CephFSVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :return: The read_only of this V1CephFSVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1CephFSVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :param read_only: The read_only of this V1CephFSVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def secret_file(self): + """ + Gets the secret_file of this V1CephFSVolumeSource. + Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :return: The secret_file of this V1CephFSVolumeSource. + :rtype: str + """ + return self._secret_file + + @secret_file.setter + def secret_file(self, secret_file): + """ + Sets the secret_file of this V1CephFSVolumeSource. + Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :param secret_file: The secret_file of this V1CephFSVolumeSource. + :type: str + """ + + self._secret_file = secret_file + + @property + def secret_ref(self): + """ + Gets the secret_ref of this V1CephFSVolumeSource. + Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :return: The secret_ref of this V1CephFSVolumeSource. + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """ + Sets the secret_ref of this V1CephFSVolumeSource. + Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :param secret_ref: The secret_ref of this V1CephFSVolumeSource. + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + + @property + def user(self): + """ + Gets the user of this V1CephFSVolumeSource. + Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :return: The user of this V1CephFSVolumeSource. + :rtype: str + """ + return self._user + + @user.setter + def user(self, user): + """ + Sets the user of this V1CephFSVolumeSource. + Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it + + :param user: The user of this V1CephFSVolumeSource. + :type: str + """ + + self._user = user + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py new file mode 100644 index 0000000000..e9ff545296 --- /dev/null +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1CinderVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, read_only=None, volume_id=None): + """ + V1CinderVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'read_only': 'bool', + 'volume_id': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'read_only': 'readOnly', + 'volume_id': 'volumeID' + } + + self._fs_type = fs_type + self._read_only = read_only + self._volume_id = volume_id + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1CinderVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The fs_type of this V1CinderVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1CinderVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param fs_type: The fs_type of this V1CinderVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def read_only(self): + """ + Gets the read_only of this V1CinderVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The read_only of this V1CinderVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1CinderVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param read_only: The read_only of this V1CinderVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def volume_id(self): + """ + Gets the volume_id of this V1CinderVolumeSource. + volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The volume_id of this V1CinderVolumeSource. + :rtype: str + """ + return self._volume_id + + @volume_id.setter + def volume_id(self, volume_id): + """ + Sets the volume_id of this V1CinderVolumeSource. + volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param volume_id: The volume_id of this V1CinderVolumeSource. + :type: str + """ + if volume_id is None: + raise ValueError("Invalid value for `volume_id`, must not be `None`") + + self._volume_id = volume_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index 82b107cbfd..21fb96a2a1 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 6a5b922bf2..303daf88d8 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ComponentStatus(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, conditions=None, metadata=None): + def __init__(self, api_version=None, conditions=None, kind=None, metadata=None): """ V1ComponentStatus - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, conditions=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'conditions': 'list[V1ComponentCondition]', + 'kind': 'str', 'metadata': 'V1ObjectMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'conditions': 'conditions', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._conditions = conditions + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ComponentStatus. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ComponentStatus. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ComponentStatus. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ComponentStatus. + :type: str + """ + + self._api_version = api_version + @property def conditions(self): """ @@ -78,6 +107,29 @@ def conditions(self, conditions): self._conditions = conditions + @property + def kind(self): + """ + Gets the kind of this V1ComponentStatus. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ComponentStatus. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ComponentStatus. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ComponentStatus. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index 562f4c8e2d..815f6669bc 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ComponentStatusList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ComponentStatusList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1ComponentStatus]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ComponentStatusList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ComponentStatusList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ComponentStatusList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ComponentStatusList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ComponentStatusList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ComponentStatusList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ComponentStatusList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ComponentStatusList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 5312f1fbd6..2c7420e61a 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ConfigMap(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, data=None, metadata=None): + def __init__(self, api_version=None, data=None, kind=None, metadata=None): """ V1ConfigMap - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, data=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'data': 'dict(str, str)', + 'kind': 'str', 'metadata': 'V1ObjectMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'data': 'data', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._data = data + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ConfigMap. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ConfigMap. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ConfigMap. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ConfigMap. + :type: str + """ + + self._api_version = api_version + @property def data(self): """ @@ -78,6 +107,29 @@ def data(self, data): self._data = data + @property + def kind(self): + """ + Gets the kind of this V1ConfigMap. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ConfigMap. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ConfigMap. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ConfigMap. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index bb1dd1d04a..dc131a268a 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ConfigMapKeySelector(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, key=None): + def __init__(self, key=None, name=None): """ V1ConfigMapKeySelector - a model defined in Swagger @@ -42,14 +42,17 @@ def __init__(self, key=None): and the value is json key in definition. """ self.swagger_types = { - 'key': 'str' + 'key': 'str', + 'name': 'str' } self.attribute_map = { - 'key': 'key' + 'key': 'key', + 'name': 'name' } self._key = key + self._name = name @property @@ -77,6 +80,29 @@ def key(self, key): self._key = key + @property + def name(self): + """ + Gets the name of this V1ConfigMapKeySelector. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :return: The name of this V1ConfigMapKeySelector. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1ConfigMapKeySelector. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :param name: The name of this V1ConfigMapKeySelector. + :type: str + """ + + self._name = name + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 663d44f31e..0a0a973e62 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ConfigMapList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ConfigMapList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1ConfigMap]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ConfigMapList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ConfigMapList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ConfigMapList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ConfigMapList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ConfigMapList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ConfigMapList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ConfigMapList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ConfigMapList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py new file mode 100644 index 0000000000..ec9476b95a --- /dev/null +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1ConfigMapVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, default_mode=None, items=None, name=None): + """ + V1ConfigMapVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'default_mode': 'int', + 'items': 'list[V1KeyToPath]', + 'name': 'str' + } + + self.attribute_map = { + 'default_mode': 'defaultMode', + 'items': 'items', + 'name': 'name' + } + + self._default_mode = default_mode + self._items = items + self._name = name + + + @property + def default_mode(self): + """ + Gets the default_mode of this V1ConfigMapVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :return: The default_mode of this V1ConfigMapVolumeSource. + :rtype: int + """ + return self._default_mode + + @default_mode.setter + def default_mode(self, default_mode): + """ + Sets the default_mode of this V1ConfigMapVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :param default_mode: The default_mode of this V1ConfigMapVolumeSource. + :type: int + """ + + self._default_mode = default_mode + + @property + def items(self): + """ + Gets the items of this V1ConfigMapVolumeSource. + If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. + + :return: The items of this V1ConfigMapVolumeSource. + :rtype: list[V1KeyToPath] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1ConfigMapVolumeSource. + If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. + + :param items: The items of this V1ConfigMapVolumeSource. + :type: list[V1KeyToPath] + """ + + self._items = items + + @property + def name(self): + """ + Gets the name of this V1ConfigMapVolumeSource. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :return: The name of this V1ConfigMapVolumeSource. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1ConfigMapVolumeSource. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :param name: The name of this V1ConfigMapVolumeSource. + :type: str + """ + + self._name = name + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index f1ae624420..4c677623a5 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 6a06403381..2fc9380ef8 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index e0c4d6039a..772d9e9a8e 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index ee2feeb78f..2e6395f3d4 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 07b6240869..125a94911c 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index 10c22d15c0..08c25c6117 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index 3f0b4c89de..bf9522531f 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index 92f3a61a73..dd747c9c98 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index 3c51976fb1..a75ddfbd6f 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index bbee207fd7..21be2927a1 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 6ca03b9910..18d25fa4ff 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1DeleteOptions(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, grace_period_seconds=None, orphan_dependents=None, preconditions=None): + def __init__(self, api_version=None, grace_period_seconds=None, kind=None, orphan_dependents=None, preconditions=None): """ V1DeleteOptions - a model defined in Swagger @@ -42,22 +42,51 @@ def __init__(self, grace_period_seconds=None, orphan_dependents=None, preconditi and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'grace_period_seconds': 'int', + 'kind': 'str', 'orphan_dependents': 'bool', 'preconditions': 'V1Preconditions' } self.attribute_map = { + 'api_version': 'apiVersion', 'grace_period_seconds': 'gracePeriodSeconds', + 'kind': 'kind', 'orphan_dependents': 'orphanDependents', 'preconditions': 'preconditions' } + self._api_version = api_version self._grace_period_seconds = grace_period_seconds + self._kind = kind self._orphan_dependents = orphan_dependents self._preconditions = preconditions + @property + def api_version(self): + """ + Gets the api_version of this V1DeleteOptions. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1DeleteOptions. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1DeleteOptions. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1DeleteOptions. + :type: str + """ + + self._api_version = api_version + @property def grace_period_seconds(self): """ @@ -81,6 +110,29 @@ def grace_period_seconds(self, grace_period_seconds): self._grace_period_seconds = grace_period_seconds + @property + def kind(self): + """ + Gets the kind of this V1DeleteOptions. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1DeleteOptions. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1DeleteOptions. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1DeleteOptions. + :type: str + """ + + self._kind = kind + @property def orphan_dependents(self): """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py new file mode 100644 index 0000000000..e08aff8aa9 --- /dev/null +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1DownwardAPIVolumeFile(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, field_ref=None, mode=None, path=None, resource_field_ref=None): + """ + V1DownwardAPIVolumeFile - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'field_ref': 'V1ObjectFieldSelector', + 'mode': 'int', + 'path': 'str', + 'resource_field_ref': 'V1ResourceFieldSelector' + } + + self.attribute_map = { + 'field_ref': 'fieldRef', + 'mode': 'mode', + 'path': 'path', + 'resource_field_ref': 'resourceFieldRef' + } + + self._field_ref = field_ref + self._mode = mode + self._path = path + self._resource_field_ref = resource_field_ref + + + @property + def field_ref(self): + """ + Gets the field_ref of this V1DownwardAPIVolumeFile. + Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + + :return: The field_ref of this V1DownwardAPIVolumeFile. + :rtype: V1ObjectFieldSelector + """ + return self._field_ref + + @field_ref.setter + def field_ref(self, field_ref): + """ + Sets the field_ref of this V1DownwardAPIVolumeFile. + Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. + + :param field_ref: The field_ref of this V1DownwardAPIVolumeFile. + :type: V1ObjectFieldSelector + """ + + self._field_ref = field_ref + + @property + def mode(self): + """ + Gets the mode of this V1DownwardAPIVolumeFile. + Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :return: The mode of this V1DownwardAPIVolumeFile. + :rtype: int + """ + return self._mode + + @mode.setter + def mode(self, mode): + """ + Sets the mode of this V1DownwardAPIVolumeFile. + Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :param mode: The mode of this V1DownwardAPIVolumeFile. + :type: int + """ + + self._mode = mode + + @property + def path(self): + """ + Gets the path of this V1DownwardAPIVolumeFile. + Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' + + :return: The path of this V1DownwardAPIVolumeFile. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1DownwardAPIVolumeFile. + Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' + + :param path: The path of this V1DownwardAPIVolumeFile. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + @property + def resource_field_ref(self): + """ + Gets the resource_field_ref of this V1DownwardAPIVolumeFile. + Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + + :return: The resource_field_ref of this V1DownwardAPIVolumeFile. + :rtype: V1ResourceFieldSelector + """ + return self._resource_field_ref + + @resource_field_ref.setter + def resource_field_ref(self, resource_field_ref): + """ + Sets the resource_field_ref of this V1DownwardAPIVolumeFile. + Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. + + :param resource_field_ref: The resource_field_ref of this V1DownwardAPIVolumeFile. + :type: V1ResourceFieldSelector + """ + + self._resource_field_ref = resource_field_ref + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py new file mode 100644 index 0000000000..35d12f72dc --- /dev/null +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1DownwardAPIVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, default_mode=None, items=None): + """ + V1DownwardAPIVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'default_mode': 'int', + 'items': 'list[V1DownwardAPIVolumeFile]' + } + + self.attribute_map = { + 'default_mode': 'defaultMode', + 'items': 'items' + } + + self._default_mode = default_mode + self._items = items + + + @property + def default_mode(self): + """ + Gets the default_mode of this V1DownwardAPIVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :return: The default_mode of this V1DownwardAPIVolumeSource. + :rtype: int + """ + return self._default_mode + + @default_mode.setter + def default_mode(self, default_mode): + """ + Sets the default_mode of this V1DownwardAPIVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :param default_mode: The default_mode of this V1DownwardAPIVolumeSource. + :type: int + """ + + self._default_mode = default_mode + + @property + def items(self): + """ + Gets the items of this V1DownwardAPIVolumeSource. + Items is a list of downward API volume file + + :return: The items of this V1DownwardAPIVolumeSource. + :rtype: list[V1DownwardAPIVolumeFile] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1DownwardAPIVolumeSource. + Items is a list of downward API volume file + + :param items: The items of this V1DownwardAPIVolumeSource. + :type: list[V1DownwardAPIVolumeFile] + """ + + self._items = items + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py new file mode 100644 index 0000000000..608d7b6d0c --- /dev/null +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1EmptyDirVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, medium=None): + """ + V1EmptyDirVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'medium': 'str' + } + + self.attribute_map = { + 'medium': 'medium' + } + + self._medium = medium + + + @property + def medium(self): + """ + Gets the medium of this V1EmptyDirVolumeSource. + What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + + :return: The medium of this V1EmptyDirVolumeSource. + :rtype: str + """ + return self._medium + + @medium.setter + def medium(self, medium): + """ + Sets the medium of this V1EmptyDirVolumeSource. + What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + + :param medium: The medium of this V1EmptyDirVolumeSource. + :type: str + """ + + self._medium = medium + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index 23779edef6..eb87f2e4b3 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_endpoint_port.py b/kubernetes/client/models/v1_endpoint_port.py index 050739dbb7..9579559f9d 100644 --- a/kubernetes/client/models/v1_endpoint_port.py +++ b/kubernetes/client/models/v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 970da58041..2df16981fa 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index bd19c41076..03e005b30d 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Endpoints(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, subsets=None): + def __init__(self, api_version=None, kind=None, metadata=None, subsets=None): """ V1Endpoints - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, subsets=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'subsets': 'list[V1EndpointSubset]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'subsets': 'subsets' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._subsets = subsets + @property + def api_version(self): + """ + Gets the api_version of this V1Endpoints. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Endpoints. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Endpoints. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Endpoints. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Endpoints. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Endpoints. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Endpoints. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Endpoints. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index 851f2b4628..4543fc7823 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1EndpointsList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1EndpointsList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Endpoints]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1EndpointsList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1EndpointsList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1EndpointsList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1EndpointsList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1EndpointsList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1EndpointsList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1EndpointsList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1EndpointsList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index 488e8602a9..7b7f0edcfb 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index a4e4a312d0..ed52d13eb3 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_event.py b/kubernetes/client/models/v1_event.py index c356cc6458..e8cb841a94 100644 --- a/kubernetes/client/models/v1_event.py +++ b/kubernetes/client/models/v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Event(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, count=None, first_timestamp=None, involved_object=None, last_timestamp=None, message=None, metadata=None, reason=None, source=None, type=None): + def __init__(self, api_version=None, count=None, first_timestamp=None, involved_object=None, kind=None, last_timestamp=None, message=None, metadata=None, reason=None, source=None, type=None): """ V1Event - a model defined in Swagger @@ -42,9 +42,11 @@ def __init__(self, count=None, first_timestamp=None, involved_object=None, last_ and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'count': 'int', 'first_timestamp': 'UnversionedTime', 'involved_object': 'V1ObjectReference', + 'kind': 'str', 'last_timestamp': 'UnversionedTime', 'message': 'str', 'metadata': 'V1ObjectMeta', @@ -54,9 +56,11 @@ def __init__(self, count=None, first_timestamp=None, involved_object=None, last_ } self.attribute_map = { + 'api_version': 'apiVersion', 'count': 'count', 'first_timestamp': 'firstTimestamp', 'involved_object': 'involvedObject', + 'kind': 'kind', 'last_timestamp': 'lastTimestamp', 'message': 'message', 'metadata': 'metadata', @@ -65,9 +69,11 @@ def __init__(self, count=None, first_timestamp=None, involved_object=None, last_ 'type': 'type' } + self._api_version = api_version self._count = count self._first_timestamp = first_timestamp self._involved_object = involved_object + self._kind = kind self._last_timestamp = last_timestamp self._message = message self._metadata = metadata @@ -76,6 +82,29 @@ def __init__(self, count=None, first_timestamp=None, involved_object=None, last_ self._type = type + @property + def api_version(self): + """ + Gets the api_version of this V1Event. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Event. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Event. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Event. + :type: str + """ + + self._api_version = api_version + @property def count(self): """ @@ -147,6 +176,29 @@ def involved_object(self, involved_object): self._involved_object = involved_object + @property + def kind(self): + """ + Gets the kind of this V1Event. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Event. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Event. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Event. + :type: str + """ + + self._kind = kind + @property def last_timestamp(self): """ diff --git a/kubernetes/client/models/v1_event_list.py b/kubernetes/client/models/v1_event_list.py index c66b1e17fe..217f37ec03 100644 --- a/kubernetes/client/models/v1_event_list.py +++ b/kubernetes/client/models/v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1EventList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1EventList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Event]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1EventList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1EventList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1EventList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1EventList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1EventList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1EventList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1EventList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1EventList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index ed19a7cef5..8f469652b9 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index ab7bc6c647..7ea2f1c22e 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py new file mode 100644 index 0000000000..fa1f62b5ff --- /dev/null +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -0,0 +1,208 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1FCVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, lun=None, read_only=None, target_ww_ns=None): + """ + V1FCVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'lun': 'int', + 'read_only': 'bool', + 'target_ww_ns': 'list[str]' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'lun': 'lun', + 'read_only': 'readOnly', + 'target_ww_ns': 'targetWWNs' + } + + self._fs_type = fs_type + self._lun = lun + self._read_only = read_only + self._target_ww_ns = target_ww_ns + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1FCVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :return: The fs_type of this V1FCVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1FCVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :param fs_type: The fs_type of this V1FCVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def lun(self): + """ + Gets the lun of this V1FCVolumeSource. + Required: FC target lun number + + :return: The lun of this V1FCVolumeSource. + :rtype: int + """ + return self._lun + + @lun.setter + def lun(self, lun): + """ + Sets the lun of this V1FCVolumeSource. + Required: FC target lun number + + :param lun: The lun of this V1FCVolumeSource. + :type: int + """ + if lun is None: + raise ValueError("Invalid value for `lun`, must not be `None`") + + self._lun = lun + + @property + def read_only(self): + """ + Gets the read_only of this V1FCVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :return: The read_only of this V1FCVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1FCVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :param read_only: The read_only of this V1FCVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def target_ww_ns(self): + """ + Gets the target_ww_ns of this V1FCVolumeSource. + Required: FC target worldwide names (WWNs) + + :return: The target_ww_ns of this V1FCVolumeSource. + :rtype: list[str] + """ + return self._target_ww_ns + + @target_ww_ns.setter + def target_ww_ns(self, target_ww_ns): + """ + Sets the target_ww_ns of this V1FCVolumeSource. + Required: FC target worldwide names (WWNs) + + :param target_ww_ns: The target_ww_ns of this V1FCVolumeSource. + :type: list[str] + """ + if target_ww_ns is None: + raise ValueError("Invalid value for `target_ww_ns`, must not be `None`") + + self._target_ww_ns = target_ww_ns + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py new file mode 100644 index 0000000000..eddf844e70 --- /dev/null +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -0,0 +1,232 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1FlexVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, driver=None, fs_type=None, options=None, read_only=None, secret_ref=None): + """ + V1FlexVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'driver': 'str', + 'fs_type': 'str', + 'options': 'dict(str, str)', + 'read_only': 'bool', + 'secret_ref': 'V1LocalObjectReference' + } + + self.attribute_map = { + 'driver': 'driver', + 'fs_type': 'fsType', + 'options': 'options', + 'read_only': 'readOnly', + 'secret_ref': 'secretRef' + } + + self._driver = driver + self._fs_type = fs_type + self._options = options + self._read_only = read_only + self._secret_ref = secret_ref + + + @property + def driver(self): + """ + Gets the driver of this V1FlexVolumeSource. + Driver is the name of the driver to use for this volume. + + :return: The driver of this V1FlexVolumeSource. + :rtype: str + """ + return self._driver + + @driver.setter + def driver(self, driver): + """ + Sets the driver of this V1FlexVolumeSource. + Driver is the name of the driver to use for this volume. + + :param driver: The driver of this V1FlexVolumeSource. + :type: str + """ + if driver is None: + raise ValueError("Invalid value for `driver`, must not be `None`") + + self._driver = driver + + @property + def fs_type(self): + """ + Gets the fs_type of this V1FlexVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + + :return: The fs_type of this V1FlexVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1FlexVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. + + :param fs_type: The fs_type of this V1FlexVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def options(self): + """ + Gets the options of this V1FlexVolumeSource. + Optional: Extra command options if any. + + :return: The options of this V1FlexVolumeSource. + :rtype: dict(str, str) + """ + return self._options + + @options.setter + def options(self, options): + """ + Sets the options of this V1FlexVolumeSource. + Optional: Extra command options if any. + + :param options: The options of this V1FlexVolumeSource. + :type: dict(str, str) + """ + + self._options = options + + @property + def read_only(self): + """ + Gets the read_only of this V1FlexVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :return: The read_only of this V1FlexVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1FlexVolumeSource. + Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. + + :param read_only: The read_only of this V1FlexVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def secret_ref(self): + """ + Gets the secret_ref of this V1FlexVolumeSource. + Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. + + :return: The secret_ref of this V1FlexVolumeSource. + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """ + Sets the secret_ref of this V1FlexVolumeSource. + Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. + + :param secret_ref: The secret_ref of this V1FlexVolumeSource. + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py new file mode 100644 index 0000000000..2e8bd44498 --- /dev/null +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1FlockerVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, dataset_name=None, dataset_uuid=None): + """ + V1FlockerVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'dataset_name': 'str', + 'dataset_uuid': 'str' + } + + self.attribute_map = { + 'dataset_name': 'datasetName', + 'dataset_uuid': 'datasetUUID' + } + + self._dataset_name = dataset_name + self._dataset_uuid = dataset_uuid + + + @property + def dataset_name(self): + """ + Gets the dataset_name of this V1FlockerVolumeSource. + Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated + + :return: The dataset_name of this V1FlockerVolumeSource. + :rtype: str + """ + return self._dataset_name + + @dataset_name.setter + def dataset_name(self, dataset_name): + """ + Sets the dataset_name of this V1FlockerVolumeSource. + Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated + + :param dataset_name: The dataset_name of this V1FlockerVolumeSource. + :type: str + """ + + self._dataset_name = dataset_name + + @property + def dataset_uuid(self): + """ + Gets the dataset_uuid of this V1FlockerVolumeSource. + UUID of the dataset. This is unique identifier of a Flocker dataset + + :return: The dataset_uuid of this V1FlockerVolumeSource. + :rtype: str + """ + return self._dataset_uuid + + @dataset_uuid.setter + def dataset_uuid(self, dataset_uuid): + """ + Sets the dataset_uuid of this V1FlockerVolumeSource. + UUID of the dataset. This is unique identifier of a Flocker dataset + + :param dataset_uuid: The dataset_uuid of this V1FlockerVolumeSource. + :type: str + """ + + self._dataset_uuid = dataset_uuid + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py new file mode 100644 index 0000000000..a0a2ba55ac --- /dev/null +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1GCEPersistentDiskVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, partition=None, pd_name=None, read_only=None): + """ + V1GCEPersistentDiskVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'partition': 'int', + 'pd_name': 'str', + 'read_only': 'bool' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'partition': 'partition', + 'pd_name': 'pdName', + 'read_only': 'readOnly' + } + + self._fs_type = fs_type + self._partition = partition + self._pd_name = pd_name + self._read_only = read_only + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1GCEPersistentDiskVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The fs_type of this V1GCEPersistentDiskVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1GCEPersistentDiskVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param fs_type: The fs_type of this V1GCEPersistentDiskVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def partition(self): + """ + Gets the partition of this V1GCEPersistentDiskVolumeSource. + The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The partition of this V1GCEPersistentDiskVolumeSource. + :rtype: int + """ + return self._partition + + @partition.setter + def partition(self, partition): + """ + Sets the partition of this V1GCEPersistentDiskVolumeSource. + The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param partition: The partition of this V1GCEPersistentDiskVolumeSource. + :type: int + """ + + self._partition = partition + + @property + def pd_name(self): + """ + Gets the pd_name of this V1GCEPersistentDiskVolumeSource. + Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The pd_name of this V1GCEPersistentDiskVolumeSource. + :rtype: str + """ + return self._pd_name + + @pd_name.setter + def pd_name(self, pd_name): + """ + Sets the pd_name of this V1GCEPersistentDiskVolumeSource. + Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param pd_name: The pd_name of this V1GCEPersistentDiskVolumeSource. + :type: str + """ + if pd_name is None: + raise ValueError("Invalid value for `pd_name`, must not be `None`") + + self._pd_name = pd_name + + @property + def read_only(self): + """ + Gets the read_only of this V1GCEPersistentDiskVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The read_only of this V1GCEPersistentDiskVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1GCEPersistentDiskVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param read_only: The read_only of this V1GCEPersistentDiskVolumeSource. + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py new file mode 100644 index 0000000000..4b794df934 --- /dev/null +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1GitRepoVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, directory=None, repository=None, revision=None): + """ + V1GitRepoVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'directory': 'str', + 'repository': 'str', + 'revision': 'str' + } + + self.attribute_map = { + 'directory': 'directory', + 'repository': 'repository', + 'revision': 'revision' + } + + self._directory = directory + self._repository = repository + self._revision = revision + + + @property + def directory(self): + """ + Gets the directory of this V1GitRepoVolumeSource. + Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. + + :return: The directory of this V1GitRepoVolumeSource. + :rtype: str + """ + return self._directory + + @directory.setter + def directory(self, directory): + """ + Sets the directory of this V1GitRepoVolumeSource. + Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. + + :param directory: The directory of this V1GitRepoVolumeSource. + :type: str + """ + + self._directory = directory + + @property + def repository(self): + """ + Gets the repository of this V1GitRepoVolumeSource. + Repository URL + + :return: The repository of this V1GitRepoVolumeSource. + :rtype: str + """ + return self._repository + + @repository.setter + def repository(self, repository): + """ + Sets the repository of this V1GitRepoVolumeSource. + Repository URL + + :param repository: The repository of this V1GitRepoVolumeSource. + :type: str + """ + if repository is None: + raise ValueError("Invalid value for `repository`, must not be `None`") + + self._repository = repository + + @property + def revision(self): + """ + Gets the revision of this V1GitRepoVolumeSource. + Commit hash for the specified revision. + + :return: The revision of this V1GitRepoVolumeSource. + :rtype: str + """ + return self._revision + + @revision.setter + def revision(self, revision): + """ + Sets the revision of this V1GitRepoVolumeSource. + Commit hash for the specified revision. + + :param revision: The revision of this V1GitRepoVolumeSource. + :type: str + """ + + self._revision = revision + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py new file mode 100644 index 0000000000..cbb54743bd --- /dev/null +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1GlusterfsVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, endpoints=None, path=None, read_only=None): + """ + V1GlusterfsVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'endpoints': 'str', + 'path': 'str', + 'read_only': 'bool' + } + + self.attribute_map = { + 'endpoints': 'endpoints', + 'path': 'path', + 'read_only': 'readOnly' + } + + self._endpoints = endpoints + self._path = path + self._read_only = read_only + + + @property + def endpoints(self): + """ + Gets the endpoints of this V1GlusterfsVolumeSource. + EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The endpoints of this V1GlusterfsVolumeSource. + :rtype: str + """ + return self._endpoints + + @endpoints.setter + def endpoints(self, endpoints): + """ + Sets the endpoints of this V1GlusterfsVolumeSource. + EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param endpoints: The endpoints of this V1GlusterfsVolumeSource. + :type: str + """ + if endpoints is None: + raise ValueError("Invalid value for `endpoints`, must not be `None`") + + self._endpoints = endpoints + + @property + def path(self): + """ + Gets the path of this V1GlusterfsVolumeSource. + Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The path of this V1GlusterfsVolumeSource. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1GlusterfsVolumeSource. + Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param path: The path of this V1GlusterfsVolumeSource. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + @property + def read_only(self): + """ + Gets the read_only of this V1GlusterfsVolumeSource. + ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :return: The read_only of this V1GlusterfsVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1GlusterfsVolumeSource. + ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod + + :param read_only: The read_only of this V1GlusterfsVolumeSource. + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_handler.py b/kubernetes/client/models/v1_handler.py index ba9522346c..6544fc793f 100644 --- a/kubernetes/client/models/v1_handler.py +++ b/kubernetes/client/models/v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index b8dd104092..13c733214d 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1HorizontalPodAutoscaler(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1HorizontalPodAutoscaler - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1HorizontalPodAutoscalerSpec', 'status': 'V1HorizontalPodAutoscalerStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1HorizontalPodAutoscaler. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1HorizontalPodAutoscaler. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1HorizontalPodAutoscaler. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1HorizontalPodAutoscaler. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1HorizontalPodAutoscaler. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1HorizontalPodAutoscaler. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1HorizontalPodAutoscaler. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1HorizontalPodAutoscaler. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 9fc966957a..924ca7386a 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1HorizontalPodAutoscalerList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1HorizontalPodAutoscalerList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1HorizontalPodAutoscaler]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1HorizontalPodAutoscalerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1HorizontalPodAutoscalerList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1HorizontalPodAutoscalerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1HorizontalPodAutoscalerList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1HorizontalPodAutoscalerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1HorizontalPodAutoscalerList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1HorizontalPodAutoscalerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1HorizontalPodAutoscalerList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 2f3f51faae..3fc55eb8ab 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index b7ce58cd7e..915d85dad1 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py new file mode 100644 index 0000000000..8202f242fe --- /dev/null +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1HostPathVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, path=None): + """ + V1HostPathVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'path': 'str' + } + + self.attribute_map = { + 'path': 'path' + } + + self._path = path + + + @property + def path(self): + """ + Gets the path of this V1HostPathVolumeSource. + Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :return: The path of this V1HostPathVolumeSource. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1HostPathVolumeSource. + Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :param path: The path of this V1HostPathVolumeSource. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index 74f7ab4935..6a87046d79 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index 3706302748..ebfb154445 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py new file mode 100644 index 0000000000..d7d0169fa0 --- /dev/null +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -0,0 +1,262 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1ISCSIVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, iqn=None, iscsi_interface=None, lun=None, read_only=None, target_portal=None): + """ + V1ISCSIVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'iqn': 'str', + 'iscsi_interface': 'str', + 'lun': 'int', + 'read_only': 'bool', + 'target_portal': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'iqn': 'iqn', + 'iscsi_interface': 'iscsiInterface', + 'lun': 'lun', + 'read_only': 'readOnly', + 'target_portal': 'targetPortal' + } + + self._fs_type = fs_type + self._iqn = iqn + self._iscsi_interface = iscsi_interface + self._lun = lun + self._read_only = read_only + self._target_portal = target_portal + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1ISCSIVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi + + :return: The fs_type of this V1ISCSIVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1ISCSIVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi + + :param fs_type: The fs_type of this V1ISCSIVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def iqn(self): + """ + Gets the iqn of this V1ISCSIVolumeSource. + Target iSCSI Qualified Name. + + :return: The iqn of this V1ISCSIVolumeSource. + :rtype: str + """ + return self._iqn + + @iqn.setter + def iqn(self, iqn): + """ + Sets the iqn of this V1ISCSIVolumeSource. + Target iSCSI Qualified Name. + + :param iqn: The iqn of this V1ISCSIVolumeSource. + :type: str + """ + if iqn is None: + raise ValueError("Invalid value for `iqn`, must not be `None`") + + self._iqn = iqn + + @property + def iscsi_interface(self): + """ + Gets the iscsi_interface of this V1ISCSIVolumeSource. + Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + + :return: The iscsi_interface of this V1ISCSIVolumeSource. + :rtype: str + """ + return self._iscsi_interface + + @iscsi_interface.setter + def iscsi_interface(self, iscsi_interface): + """ + Sets the iscsi_interface of this V1ISCSIVolumeSource. + Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. + + :param iscsi_interface: The iscsi_interface of this V1ISCSIVolumeSource. + :type: str + """ + + self._iscsi_interface = iscsi_interface + + @property + def lun(self): + """ + Gets the lun of this V1ISCSIVolumeSource. + iSCSI target lun number. + + :return: The lun of this V1ISCSIVolumeSource. + :rtype: int + """ + return self._lun + + @lun.setter + def lun(self, lun): + """ + Sets the lun of this V1ISCSIVolumeSource. + iSCSI target lun number. + + :param lun: The lun of this V1ISCSIVolumeSource. + :type: int + """ + if lun is None: + raise ValueError("Invalid value for `lun`, must not be `None`") + + self._lun = lun + + @property + def read_only(self): + """ + Gets the read_only of this V1ISCSIVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + + :return: The read_only of this V1ISCSIVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1ISCSIVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. + + :param read_only: The read_only of this V1ISCSIVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def target_portal(self): + """ + Gets the target_portal of this V1ISCSIVolumeSource. + iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + + :return: The target_portal of this V1ISCSIVolumeSource. + :rtype: str + """ + return self._target_portal + + @target_portal.setter + def target_portal(self, target_portal): + """ + Sets the target_portal of this V1ISCSIVolumeSource. + iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). + + :param target_portal: The target_portal of this V1ISCSIVolumeSource. + :type: str + """ + if target_portal is None: + raise ValueError("Invalid value for `target_portal`, must not be `None`") + + self._target_portal = target_portal + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index 7af6d8ccfd..f6c2d4d44b 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Job(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Job - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1JobSpec', 'status': 'V1JobStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Job. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Job. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Job. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Job. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index da90715623..9482b29e57 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 4c27f86f78..16d957a0e1 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1JobList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1JobList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Job]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1JobList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1JobList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1JobList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1JobList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 617ae96c3f..91fe2bbb3b 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index af0a5aab3f..dc8f9402c3 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py new file mode 100644 index 0000000000..d17e266cdf --- /dev/null +++ b/kubernetes/client/models/v1_key_to_path.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1KeyToPath(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, key=None, mode=None, path=None): + """ + V1KeyToPath - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'key': 'str', + 'mode': 'int', + 'path': 'str' + } + + self.attribute_map = { + 'key': 'key', + 'mode': 'mode', + 'path': 'path' + } + + self._key = key + self._mode = mode + self._path = path + + + @property + def key(self): + """ + Gets the key of this V1KeyToPath. + The key to project. + + :return: The key of this V1KeyToPath. + :rtype: str + """ + return self._key + + @key.setter + def key(self, key): + """ + Sets the key of this V1KeyToPath. + The key to project. + + :param key: The key of this V1KeyToPath. + :type: str + """ + if key is None: + raise ValueError("Invalid value for `key`, must not be `None`") + + self._key = key + + @property + def mode(self): + """ + Gets the mode of this V1KeyToPath. + Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :return: The mode of this V1KeyToPath. + :rtype: int + """ + return self._mode + + @mode.setter + def mode(self, mode): + """ + Sets the mode of this V1KeyToPath. + Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :param mode: The mode of this V1KeyToPath. + :type: int + """ + + self._mode = mode + + @property + def path(self): + """ + Gets the path of this V1KeyToPath. + The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. + + :return: The path of this V1KeyToPath. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1KeyToPath. + The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. + + :param path: The path of this V1KeyToPath. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 73abd44f4e..61e0a331d0 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index b11d55df59..66415f503c 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1LimitRange(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None): """ V1LimitRange - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, spec=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1LimitRangeSpec' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec + @property + def api_version(self): + """ + Gets the api_version of this V1LimitRange. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1LimitRange. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1LimitRange. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1LimitRange. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1LimitRange. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1LimitRange. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1LimitRange. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1LimitRange. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index b824328576..348f36853d 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index fd2a49c763..c23fafe9b3 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1LimitRangeList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1LimitRangeList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1LimitRange]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1LimitRangeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1LimitRangeList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1LimitRangeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1LimitRangeList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1LimitRangeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1LimitRangeList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1LimitRangeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1LimitRangeList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index 4263539b14..e891f9d4c6 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index ddf693a044..e9d0c61eb5 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index 2b21e9003b..dc9d84a33e 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index cf617e084d..b58a94b1e8 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 17a5c8e64c..6c693f596d 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Namespace(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Namespace - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1NamespaceSpec', 'status': 'V1NamespaceStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Namespace. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Namespace. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Namespace. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Namespace. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Namespace. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Namespace. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Namespace. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Namespace. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index a74a6f1584..87a51a6061 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1NamespaceList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1NamespaceList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Namespace]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1NamespaceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1NamespaceList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1NamespaceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1NamespaceList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1NamespaceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1NamespaceList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1NamespaceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1NamespaceList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index c65af963cb..04ec95e6de 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index c96212d77c..282de0da94 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py new file mode 100644 index 0000000000..6d9ad880a4 --- /dev/null +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1NFSVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, path=None, read_only=None, server=None): + """ + V1NFSVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'path': 'str', + 'read_only': 'bool', + 'server': 'str' + } + + self.attribute_map = { + 'path': 'path', + 'read_only': 'readOnly', + 'server': 'server' + } + + self._path = path + self._read_only = read_only + self._server = server + + + @property + def path(self): + """ + Gets the path of this V1NFSVolumeSource. + Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :return: The path of this V1NFSVolumeSource. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1NFSVolumeSource. + Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :param path: The path of this V1NFSVolumeSource. + :type: str + """ + if path is None: + raise ValueError("Invalid value for `path`, must not be `None`") + + self._path = path + + @property + def read_only(self): + """ + Gets the read_only of this V1NFSVolumeSource. + ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :return: The read_only of this V1NFSVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1NFSVolumeSource. + ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :param read_only: The read_only of this V1NFSVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def server(self): + """ + Gets the server of this V1NFSVolumeSource. + Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :return: The server of this V1NFSVolumeSource. + :rtype: str + """ + return self._server + + @server.setter + def server(self, server): + """ + Sets the server of this V1NFSVolumeSource. + Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :param server: The server of this V1NFSVolumeSource. + :type: str + """ + if server is None: + raise ValueError("Invalid value for `server`, must not be `None`") + + self._server = server + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index 000dba9d9d..a0b2a51856 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Node(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Node - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1NodeSpec', 'status': 'V1NodeStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Node. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Node. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Node. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Node. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Node. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Node. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Node. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Node. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index bf34197105..2374d7d51f 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index c16f4e6f21..cb61478b1d 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index bb1fa8cea9..254ad2eec4 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index f19f77d2d0..71224ea855 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1NodeList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1NodeList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Node]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1NodeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1NodeList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1NodeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1NodeList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1NodeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1NodeList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1NodeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1NodeList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index 8959e41cb8..8ce36b1725 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index 6d8c3f2bce..6e7857423a 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index 2997aa3676..7218f1c761 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index f96950623b..c2c2b041a8 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index aae349a024..ec4a060ef5 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 8f26effcd1..06cef32471 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index fa6fda0d39..deb6f1445a 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 1ca34e36f4..687c1ecda4 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PersistentVolume(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1PersistentVolume - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1PersistentVolumeSpec', 'status': 'V1PersistentVolumeStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1PersistentVolume. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PersistentVolume. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PersistentVolume. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PersistentVolume. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1PersistentVolume. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PersistentVolume. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PersistentVolume. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PersistentVolume. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index 0f98662ff4..1ba634619e 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PersistentVolumeClaim(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1PersistentVolumeClaim - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1PersistentVolumeClaimSpec', 'status': 'V1PersistentVolumeClaimStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1PersistentVolumeClaim. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PersistentVolumeClaim. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PersistentVolumeClaim. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PersistentVolumeClaim. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1PersistentVolumeClaim. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PersistentVolumeClaim. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PersistentVolumeClaim. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PersistentVolumeClaim. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index 10ba3277bf..f41353a637 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PersistentVolumeClaimList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1PersistentVolumeClaimList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1PersistentVolumeClaim]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1PersistentVolumeClaimList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PersistentVolumeClaimList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PersistentVolumeClaimList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PersistentVolumeClaimList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1PersistentVolumeClaimList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PersistentVolumeClaimList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PersistentVolumeClaimList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PersistentVolumeClaimList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index ae9180efd6..20b846d2a0 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index c36e3ea819..03abfc1ffa 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py new file mode 100644 index 0000000000..7f194ae6d3 --- /dev/null +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1PersistentVolumeClaimVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, claim_name=None, read_only=None): + """ + V1PersistentVolumeClaimVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'claim_name': 'str', + 'read_only': 'bool' + } + + self.attribute_map = { + 'claim_name': 'claimName', + 'read_only': 'readOnly' + } + + self._claim_name = claim_name + self._read_only = read_only + + + @property + def claim_name(self): + """ + Gets the claim_name of this V1PersistentVolumeClaimVolumeSource. + ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + + :return: The claim_name of this V1PersistentVolumeClaimVolumeSource. + :rtype: str + """ + return self._claim_name + + @claim_name.setter + def claim_name(self, claim_name): + """ + Sets the claim_name of this V1PersistentVolumeClaimVolumeSource. + ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + + :param claim_name: The claim_name of this V1PersistentVolumeClaimVolumeSource. + :type: str + """ + if claim_name is None: + raise ValueError("Invalid value for `claim_name`, must not be `None`") + + self._claim_name = claim_name + + @property + def read_only(self): + """ + Gets the read_only of this V1PersistentVolumeClaimVolumeSource. + Will force the ReadOnly setting in VolumeMounts. Default false. + + :return: The read_only of this V1PersistentVolumeClaimVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1PersistentVolumeClaimVolumeSource. + Will force the ReadOnly setting in VolumeMounts. Default false. + + :param read_only: The read_only of this V1PersistentVolumeClaimVolumeSource. + :type: bool + """ + + self._read_only = read_only + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index 69388933c5..ca4538306a 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PersistentVolumeList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1PersistentVolumeList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1PersistentVolume]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1PersistentVolumeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PersistentVolumeList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PersistentVolumeList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PersistentVolumeList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1PersistentVolumeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PersistentVolumeList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PersistentVolumeList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PersistentVolumeList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index 96a1c35896..3c2d84c751 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PersistentVolumeSpec(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, access_modes=None, capacity=None, claim_ref=None, persistent_volume_reclaim_policy=None): + def __init__(self, access_modes=None, aws_elastic_block_store=None, azure_disk=None, azure_file=None, capacity=None, cephfs=None, cinder=None, claim_ref=None, fc=None, flex_volume=None, flocker=None, gce_persistent_disk=None, glusterfs=None, host_path=None, iscsi=None, nfs=None, persistent_volume_reclaim_policy=None, photon_persistent_disk=None, quobyte=None, rbd=None, vsphere_volume=None): """ V1PersistentVolumeSpec - a model defined in Swagger @@ -43,22 +43,73 @@ def __init__(self, access_modes=None, capacity=None, claim_ref=None, persistent_ """ self.swagger_types = { 'access_modes': 'list[str]', + 'aws_elastic_block_store': 'V1AWSElasticBlockStoreVolumeSource', + 'azure_disk': 'V1AzureDiskVolumeSource', + 'azure_file': 'V1AzureFileVolumeSource', 'capacity': 'dict(str, ResourceQuantity)', + 'cephfs': 'V1CephFSVolumeSource', + 'cinder': 'V1CinderVolumeSource', 'claim_ref': 'V1ObjectReference', - 'persistent_volume_reclaim_policy': 'str' + 'fc': 'V1FCVolumeSource', + 'flex_volume': 'V1FlexVolumeSource', + 'flocker': 'V1FlockerVolumeSource', + 'gce_persistent_disk': 'V1GCEPersistentDiskVolumeSource', + 'glusterfs': 'V1GlusterfsVolumeSource', + 'host_path': 'V1HostPathVolumeSource', + 'iscsi': 'V1ISCSIVolumeSource', + 'nfs': 'V1NFSVolumeSource', + 'persistent_volume_reclaim_policy': 'str', + 'photon_persistent_disk': 'V1PhotonPersistentDiskVolumeSource', + 'quobyte': 'V1QuobyteVolumeSource', + 'rbd': 'V1RBDVolumeSource', + 'vsphere_volume': 'V1VsphereVirtualDiskVolumeSource' } self.attribute_map = { 'access_modes': 'accessModes', + 'aws_elastic_block_store': 'awsElasticBlockStore', + 'azure_disk': 'azureDisk', + 'azure_file': 'azureFile', 'capacity': 'capacity', + 'cephfs': 'cephfs', + 'cinder': 'cinder', 'claim_ref': 'claimRef', - 'persistent_volume_reclaim_policy': 'persistentVolumeReclaimPolicy' + 'fc': 'fc', + 'flex_volume': 'flexVolume', + 'flocker': 'flocker', + 'gce_persistent_disk': 'gcePersistentDisk', + 'glusterfs': 'glusterfs', + 'host_path': 'hostPath', + 'iscsi': 'iscsi', + 'nfs': 'nfs', + 'persistent_volume_reclaim_policy': 'persistentVolumeReclaimPolicy', + 'photon_persistent_disk': 'photonPersistentDisk', + 'quobyte': 'quobyte', + 'rbd': 'rbd', + 'vsphere_volume': 'vsphereVolume' } self._access_modes = access_modes + self._aws_elastic_block_store = aws_elastic_block_store + self._azure_disk = azure_disk + self._azure_file = azure_file self._capacity = capacity + self._cephfs = cephfs + self._cinder = cinder self._claim_ref = claim_ref + self._fc = fc + self._flex_volume = flex_volume + self._flocker = flocker + self._gce_persistent_disk = gce_persistent_disk + self._glusterfs = glusterfs + self._host_path = host_path + self._iscsi = iscsi + self._nfs = nfs self._persistent_volume_reclaim_policy = persistent_volume_reclaim_policy + self._photon_persistent_disk = photon_persistent_disk + self._quobyte = quobyte + self._rbd = rbd + self._vsphere_volume = vsphere_volume @property @@ -84,6 +135,75 @@ def access_modes(self, access_modes): self._access_modes = access_modes + @property + def aws_elastic_block_store(self): + """ + Gets the aws_elastic_block_store of this V1PersistentVolumeSpec. + AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :return: The aws_elastic_block_store of this V1PersistentVolumeSpec. + :rtype: V1AWSElasticBlockStoreVolumeSource + """ + return self._aws_elastic_block_store + + @aws_elastic_block_store.setter + def aws_elastic_block_store(self, aws_elastic_block_store): + """ + Sets the aws_elastic_block_store of this V1PersistentVolumeSpec. + AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :param aws_elastic_block_store: The aws_elastic_block_store of this V1PersistentVolumeSpec. + :type: V1AWSElasticBlockStoreVolumeSource + """ + + self._aws_elastic_block_store = aws_elastic_block_store + + @property + def azure_disk(self): + """ + Gets the azure_disk of this V1PersistentVolumeSpec. + AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + + :return: The azure_disk of this V1PersistentVolumeSpec. + :rtype: V1AzureDiskVolumeSource + """ + return self._azure_disk + + @azure_disk.setter + def azure_disk(self, azure_disk): + """ + Sets the azure_disk of this V1PersistentVolumeSpec. + AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + + :param azure_disk: The azure_disk of this V1PersistentVolumeSpec. + :type: V1AzureDiskVolumeSource + """ + + self._azure_disk = azure_disk + + @property + def azure_file(self): + """ + Gets the azure_file of this V1PersistentVolumeSpec. + AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + :return: The azure_file of this V1PersistentVolumeSpec. + :rtype: V1AzureFileVolumeSource + """ + return self._azure_file + + @azure_file.setter + def azure_file(self, azure_file): + """ + Sets the azure_file of this V1PersistentVolumeSpec. + AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + :param azure_file: The azure_file of this V1PersistentVolumeSpec. + :type: V1AzureFileVolumeSource + """ + + self._azure_file = azure_file + @property def capacity(self): """ @@ -107,6 +227,52 @@ def capacity(self, capacity): self._capacity = capacity + @property + def cephfs(self): + """ + Gets the cephfs of this V1PersistentVolumeSpec. + CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + + :return: The cephfs of this V1PersistentVolumeSpec. + :rtype: V1CephFSVolumeSource + """ + return self._cephfs + + @cephfs.setter + def cephfs(self, cephfs): + """ + Sets the cephfs of this V1PersistentVolumeSpec. + CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + + :param cephfs: The cephfs of this V1PersistentVolumeSpec. + :type: V1CephFSVolumeSource + """ + + self._cephfs = cephfs + + @property + def cinder(self): + """ + Gets the cinder of this V1PersistentVolumeSpec. + Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The cinder of this V1PersistentVolumeSpec. + :rtype: V1CinderVolumeSource + """ + return self._cinder + + @cinder.setter + def cinder(self, cinder): + """ + Sets the cinder of this V1PersistentVolumeSpec. + Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param cinder: The cinder of this V1PersistentVolumeSpec. + :type: V1CinderVolumeSource + """ + + self._cinder = cinder + @property def claim_ref(self): """ @@ -130,6 +296,190 @@ def claim_ref(self, claim_ref): self._claim_ref = claim_ref + @property + def fc(self): + """ + Gets the fc of this V1PersistentVolumeSpec. + FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + + :return: The fc of this V1PersistentVolumeSpec. + :rtype: V1FCVolumeSource + """ + return self._fc + + @fc.setter + def fc(self, fc): + """ + Sets the fc of this V1PersistentVolumeSpec. + FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + + :param fc: The fc of this V1PersistentVolumeSpec. + :type: V1FCVolumeSource + """ + + self._fc = fc + + @property + def flex_volume(self): + """ + Gets the flex_volume of this V1PersistentVolumeSpec. + FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + + :return: The flex_volume of this V1PersistentVolumeSpec. + :rtype: V1FlexVolumeSource + """ + return self._flex_volume + + @flex_volume.setter + def flex_volume(self, flex_volume): + """ + Sets the flex_volume of this V1PersistentVolumeSpec. + FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + + :param flex_volume: The flex_volume of this V1PersistentVolumeSpec. + :type: V1FlexVolumeSource + """ + + self._flex_volume = flex_volume + + @property + def flocker(self): + """ + Gets the flocker of this V1PersistentVolumeSpec. + Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + + :return: The flocker of this V1PersistentVolumeSpec. + :rtype: V1FlockerVolumeSource + """ + return self._flocker + + @flocker.setter + def flocker(self, flocker): + """ + Sets the flocker of this V1PersistentVolumeSpec. + Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running + + :param flocker: The flocker of this V1PersistentVolumeSpec. + :type: V1FlockerVolumeSource + """ + + self._flocker = flocker + + @property + def gce_persistent_disk(self): + """ + Gets the gce_persistent_disk of this V1PersistentVolumeSpec. + GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The gce_persistent_disk of this V1PersistentVolumeSpec. + :rtype: V1GCEPersistentDiskVolumeSource + """ + return self._gce_persistent_disk + + @gce_persistent_disk.setter + def gce_persistent_disk(self, gce_persistent_disk): + """ + Sets the gce_persistent_disk of this V1PersistentVolumeSpec. + GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param gce_persistent_disk: The gce_persistent_disk of this V1PersistentVolumeSpec. + :type: V1GCEPersistentDiskVolumeSource + """ + + self._gce_persistent_disk = gce_persistent_disk + + @property + def glusterfs(self): + """ + Gets the glusterfs of this V1PersistentVolumeSpec. + Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + + :return: The glusterfs of this V1PersistentVolumeSpec. + :rtype: V1GlusterfsVolumeSource + """ + return self._glusterfs + + @glusterfs.setter + def glusterfs(self, glusterfs): + """ + Sets the glusterfs of this V1PersistentVolumeSpec. + Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + + :param glusterfs: The glusterfs of this V1PersistentVolumeSpec. + :type: V1GlusterfsVolumeSource + """ + + self._glusterfs = glusterfs + + @property + def host_path(self): + """ + Gets the host_path of this V1PersistentVolumeSpec. + HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :return: The host_path of this V1PersistentVolumeSpec. + :rtype: V1HostPathVolumeSource + """ + return self._host_path + + @host_path.setter + def host_path(self, host_path): + """ + Sets the host_path of this V1PersistentVolumeSpec. + HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :param host_path: The host_path of this V1PersistentVolumeSpec. + :type: V1HostPathVolumeSource + """ + + self._host_path = host_path + + @property + def iscsi(self): + """ + Gets the iscsi of this V1PersistentVolumeSpec. + ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. + + :return: The iscsi of this V1PersistentVolumeSpec. + :rtype: V1ISCSIVolumeSource + """ + return self._iscsi + + @iscsi.setter + def iscsi(self, iscsi): + """ + Sets the iscsi of this V1PersistentVolumeSpec. + ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. + + :param iscsi: The iscsi of this V1PersistentVolumeSpec. + :type: V1ISCSIVolumeSource + """ + + self._iscsi = iscsi + + @property + def nfs(self): + """ + Gets the nfs of this V1PersistentVolumeSpec. + NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :return: The nfs of this V1PersistentVolumeSpec. + :rtype: V1NFSVolumeSource + """ + return self._nfs + + @nfs.setter + def nfs(self, nfs): + """ + Sets the nfs of this V1PersistentVolumeSpec. + NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :param nfs: The nfs of this V1PersistentVolumeSpec. + :type: V1NFSVolumeSource + """ + + self._nfs = nfs + @property def persistent_volume_reclaim_policy(self): """ @@ -153,6 +503,98 @@ def persistent_volume_reclaim_policy(self, persistent_volume_reclaim_policy): self._persistent_volume_reclaim_policy = persistent_volume_reclaim_policy + @property + def photon_persistent_disk(self): + """ + Gets the photon_persistent_disk of this V1PersistentVolumeSpec. + PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + + :return: The photon_persistent_disk of this V1PersistentVolumeSpec. + :rtype: V1PhotonPersistentDiskVolumeSource + """ + return self._photon_persistent_disk + + @photon_persistent_disk.setter + def photon_persistent_disk(self, photon_persistent_disk): + """ + Sets the photon_persistent_disk of this V1PersistentVolumeSpec. + PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + + :param photon_persistent_disk: The photon_persistent_disk of this V1PersistentVolumeSpec. + :type: V1PhotonPersistentDiskVolumeSource + """ + + self._photon_persistent_disk = photon_persistent_disk + + @property + def quobyte(self): + """ + Gets the quobyte of this V1PersistentVolumeSpec. + Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + + :return: The quobyte of this V1PersistentVolumeSpec. + :rtype: V1QuobyteVolumeSource + """ + return self._quobyte + + @quobyte.setter + def quobyte(self, quobyte): + """ + Sets the quobyte of this V1PersistentVolumeSpec. + Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + + :param quobyte: The quobyte of this V1PersistentVolumeSpec. + :type: V1QuobyteVolumeSource + """ + + self._quobyte = quobyte + + @property + def rbd(self): + """ + Gets the rbd of this V1PersistentVolumeSpec. + RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + + :return: The rbd of this V1PersistentVolumeSpec. + :rtype: V1RBDVolumeSource + """ + return self._rbd + + @rbd.setter + def rbd(self, rbd): + """ + Sets the rbd of this V1PersistentVolumeSpec. + RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + + :param rbd: The rbd of this V1PersistentVolumeSpec. + :type: V1RBDVolumeSource + """ + + self._rbd = rbd + + @property + def vsphere_volume(self): + """ + Gets the vsphere_volume of this V1PersistentVolumeSpec. + VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + + :return: The vsphere_volume of this V1PersistentVolumeSpec. + :rtype: V1VsphereVirtualDiskVolumeSource + """ + return self._vsphere_volume + + @vsphere_volume.setter + def vsphere_volume(self, vsphere_volume): + """ + Sets the vsphere_volume of this V1PersistentVolumeSpec. + VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + + :param vsphere_volume: The vsphere_volume of this V1PersistentVolumeSpec. + :type: V1VsphereVirtualDiskVolumeSource + """ + + self._vsphere_volume = vsphere_volume + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index 5ed7af7094..05d9750de8 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py new file mode 100644 index 0000000000..7e60805432 --- /dev/null +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1PhotonPersistentDiskVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, pd_id=None): + """ + V1PhotonPersistentDiskVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'pd_id': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'pd_id': 'pdID' + } + + self._fs_type = fs_type + self._pd_id = pd_id + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1PhotonPersistentDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :return: The fs_type of this V1PhotonPersistentDiskVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1PhotonPersistentDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :param fs_type: The fs_type of this V1PhotonPersistentDiskVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def pd_id(self): + """ + Gets the pd_id of this V1PhotonPersistentDiskVolumeSource. + ID that identifies Photon Controller persistent disk + + :return: The pd_id of this V1PhotonPersistentDiskVolumeSource. + :rtype: str + """ + return self._pd_id + + @pd_id.setter + def pd_id(self, pd_id): + """ + Sets the pd_id of this V1PhotonPersistentDiskVolumeSource. + ID that identifies Photon Controller persistent disk + + :param pd_id: The pd_id of this V1PhotonPersistentDiskVolumeSource. + :type: str + """ + if pd_id is None: + raise ValueError("Invalid value for `pd_id`, must not be `None`") + + self._pd_id = pd_id + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index ef7b1a1144..4d7d91835c 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Pod(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Pod - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1PodSpec', 'status': 'V1PodStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Pod. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Pod. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Pod. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Pod. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Pod. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Pod. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Pod. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Pod. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index f4dd5266eb..5233cc4d36 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index cc95ecf7b0..9f7a3b4838 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PodList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1PodList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Pod]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1PodList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PodList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PodList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PodList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1PodList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PodList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PodList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PodList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index 26c55f4ff1..8cc364122c 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index fbeb5eb837..a2ca08ec15 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index 20da0bbb13..7a35b23e00 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index b7c7060d7a..0e03b09384 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PodTemplate(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, template=None): + def __init__(self, api_version=None, kind=None, metadata=None, template=None): """ V1PodTemplate - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, template=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'template': 'V1PodTemplateSpec' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'template': 'template' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._template = template + @property + def api_version(self): + """ + Gets the api_version of this V1PodTemplate. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PodTemplate. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PodTemplate. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PodTemplate. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1PodTemplate. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PodTemplate. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PodTemplate. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PodTemplate. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index d926188973..00e7ea71d8 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1PodTemplateList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1PodTemplateList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1PodTemplate]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1PodTemplateList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1PodTemplateList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1PodTemplateList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1PodTemplateList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1PodTemplateList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1PodTemplateList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1PodTemplateList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1PodTemplateList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index ab311c89a2..e8f1744d2c 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index 1e6d96d2ba..b20f31e34f 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index fbb24ad608..ffc0d0c80d 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Probe(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, failure_threshold=None, initial_delay_seconds=None, period_seconds=None, success_threshold=None, timeout_seconds=None): + def __init__(self, _exec=None, failure_threshold=None, http_get=None, initial_delay_seconds=None, period_seconds=None, success_threshold=None, tcp_socket=None, timeout_seconds=None): """ V1Probe - a model defined in Swagger @@ -42,28 +42,60 @@ def __init__(self, failure_threshold=None, initial_delay_seconds=None, period_se and the value is json key in definition. """ self.swagger_types = { + '_exec': 'V1ExecAction', 'failure_threshold': 'int', + 'http_get': 'V1HTTPGetAction', 'initial_delay_seconds': 'int', 'period_seconds': 'int', 'success_threshold': 'int', + 'tcp_socket': 'V1TCPSocketAction', 'timeout_seconds': 'int' } self.attribute_map = { + '_exec': 'exec', 'failure_threshold': 'failureThreshold', + 'http_get': 'httpGet', 'initial_delay_seconds': 'initialDelaySeconds', 'period_seconds': 'periodSeconds', 'success_threshold': 'successThreshold', + 'tcp_socket': 'tcpSocket', 'timeout_seconds': 'timeoutSeconds' } + self.__exec = _exec self._failure_threshold = failure_threshold + self._http_get = http_get self._initial_delay_seconds = initial_delay_seconds self._period_seconds = period_seconds self._success_threshold = success_threshold + self._tcp_socket = tcp_socket self._timeout_seconds = timeout_seconds + @property + def _exec(self): + """ + Gets the _exec of this V1Probe. + One and only one of the following should be specified. Exec specifies the action to take. + + :return: The _exec of this V1Probe. + :rtype: V1ExecAction + """ + return self.__exec + + @_exec.setter + def _exec(self, _exec): + """ + Sets the _exec of this V1Probe. + One and only one of the following should be specified. Exec specifies the action to take. + + :param _exec: The _exec of this V1Probe. + :type: V1ExecAction + """ + + self.__exec = _exec + @property def failure_threshold(self): """ @@ -87,6 +119,29 @@ def failure_threshold(self, failure_threshold): self._failure_threshold = failure_threshold + @property + def http_get(self): + """ + Gets the http_get of this V1Probe. + HTTPGet specifies the http request to perform. + + :return: The http_get of this V1Probe. + :rtype: V1HTTPGetAction + """ + return self._http_get + + @http_get.setter + def http_get(self, http_get): + """ + Sets the http_get of this V1Probe. + HTTPGet specifies the http request to perform. + + :param http_get: The http_get of this V1Probe. + :type: V1HTTPGetAction + """ + + self._http_get = http_get + @property def initial_delay_seconds(self): """ @@ -156,6 +211,29 @@ def success_threshold(self, success_threshold): self._success_threshold = success_threshold + @property + def tcp_socket(self): + """ + Gets the tcp_socket of this V1Probe. + TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported + + :return: The tcp_socket of this V1Probe. + :rtype: V1TCPSocketAction + """ + return self._tcp_socket + + @tcp_socket.setter + def tcp_socket(self, tcp_socket): + """ + Sets the tcp_socket of this V1Probe. + TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported + + :param tcp_socket: The tcp_socket of this V1Probe. + :type: V1TCPSocketAction + """ + + self._tcp_socket = tcp_socket + @property def timeout_seconds(self): """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py new file mode 100644 index 0000000000..fc7410c347 --- /dev/null +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1QuobyteVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, group=None, read_only=None, registry=None, user=None, volume=None): + """ + V1QuobyteVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'group': 'str', + 'read_only': 'bool', + 'registry': 'str', + 'user': 'str', + 'volume': 'str' + } + + self.attribute_map = { + 'group': 'group', + 'read_only': 'readOnly', + 'registry': 'registry', + 'user': 'user', + 'volume': 'volume' + } + + self._group = group + self._read_only = read_only + self._registry = registry + self._user = user + self._volume = volume + + + @property + def group(self): + """ + Gets the group of this V1QuobyteVolumeSource. + Group to map volume access to Default is no group + + :return: The group of this V1QuobyteVolumeSource. + :rtype: str + """ + return self._group + + @group.setter + def group(self, group): + """ + Sets the group of this V1QuobyteVolumeSource. + Group to map volume access to Default is no group + + :param group: The group of this V1QuobyteVolumeSource. + :type: str + """ + + self._group = group + + @property + def read_only(self): + """ + Gets the read_only of this V1QuobyteVolumeSource. + ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. + + :return: The read_only of this V1QuobyteVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1QuobyteVolumeSource. + ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. + + :param read_only: The read_only of this V1QuobyteVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def registry(self): + """ + Gets the registry of this V1QuobyteVolumeSource. + Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes + + :return: The registry of this V1QuobyteVolumeSource. + :rtype: str + """ + return self._registry + + @registry.setter + def registry(self, registry): + """ + Sets the registry of this V1QuobyteVolumeSource. + Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes + + :param registry: The registry of this V1QuobyteVolumeSource. + :type: str + """ + if registry is None: + raise ValueError("Invalid value for `registry`, must not be `None`") + + self._registry = registry + + @property + def user(self): + """ + Gets the user of this V1QuobyteVolumeSource. + User to map volume access to Defaults to serivceaccount user + + :return: The user of this V1QuobyteVolumeSource. + :rtype: str + """ + return self._user + + @user.setter + def user(self, user): + """ + Sets the user of this V1QuobyteVolumeSource. + User to map volume access to Defaults to serivceaccount user + + :param user: The user of this V1QuobyteVolumeSource. + :type: str + """ + + self._user = user + + @property + def volume(self): + """ + Gets the volume of this V1QuobyteVolumeSource. + Volume is a string that references an already created Quobyte volume by name. + + :return: The volume of this V1QuobyteVolumeSource. + :rtype: str + """ + return self._volume + + @volume.setter + def volume(self, volume): + """ + Sets the volume of this V1QuobyteVolumeSource. + Volume is a string that references an already created Quobyte volume by name. + + :param volume: The volume of this V1QuobyteVolumeSource. + :type: str + """ + if volume is None: + raise ValueError("Invalid value for `volume`, must not be `None`") + + self._volume = volume + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py new file mode 100644 index 0000000000..51e0a782a5 --- /dev/null +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -0,0 +1,312 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1RBDVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, image=None, keyring=None, monitors=None, pool=None, read_only=None, secret_ref=None, user=None): + """ + V1RBDVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'image': 'str', + 'keyring': 'str', + 'monitors': 'list[str]', + 'pool': 'str', + 'read_only': 'bool', + 'secret_ref': 'V1LocalObjectReference', + 'user': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'image': 'image', + 'keyring': 'keyring', + 'monitors': 'monitors', + 'pool': 'pool', + 'read_only': 'readOnly', + 'secret_ref': 'secretRef', + 'user': 'user' + } + + self._fs_type = fs_type + self._image = image + self._keyring = keyring + self._monitors = monitors + self._pool = pool + self._read_only = read_only + self._secret_ref = secret_ref + self._user = user + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1RBDVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd + + :return: The fs_type of this V1RBDVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1RBDVolumeSource. + Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd + + :param fs_type: The fs_type of this V1RBDVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def image(self): + """ + Gets the image of this V1RBDVolumeSource. + The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The image of this V1RBDVolumeSource. + :rtype: str + """ + return self._image + + @image.setter + def image(self, image): + """ + Sets the image of this V1RBDVolumeSource. + The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param image: The image of this V1RBDVolumeSource. + :type: str + """ + if image is None: + raise ValueError("Invalid value for `image`, must not be `None`") + + self._image = image + + @property + def keyring(self): + """ + Gets the keyring of this V1RBDVolumeSource. + Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The keyring of this V1RBDVolumeSource. + :rtype: str + """ + return self._keyring + + @keyring.setter + def keyring(self, keyring): + """ + Sets the keyring of this V1RBDVolumeSource. + Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param keyring: The keyring of this V1RBDVolumeSource. + :type: str + """ + + self._keyring = keyring + + @property + def monitors(self): + """ + Gets the monitors of this V1RBDVolumeSource. + A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The monitors of this V1RBDVolumeSource. + :rtype: list[str] + """ + return self._monitors + + @monitors.setter + def monitors(self, monitors): + """ + Sets the monitors of this V1RBDVolumeSource. + A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param monitors: The monitors of this V1RBDVolumeSource. + :type: list[str] + """ + if monitors is None: + raise ValueError("Invalid value for `monitors`, must not be `None`") + + self._monitors = monitors + + @property + def pool(self): + """ + Gets the pool of this V1RBDVolumeSource. + The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. + + :return: The pool of this V1RBDVolumeSource. + :rtype: str + """ + return self._pool + + @pool.setter + def pool(self, pool): + """ + Sets the pool of this V1RBDVolumeSource. + The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. + + :param pool: The pool of this V1RBDVolumeSource. + :type: str + """ + + self._pool = pool + + @property + def read_only(self): + """ + Gets the read_only of this V1RBDVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The read_only of this V1RBDVolumeSource. + :rtype: bool + """ + return self._read_only + + @read_only.setter + def read_only(self, read_only): + """ + Sets the read_only of this V1RBDVolumeSource. + ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param read_only: The read_only of this V1RBDVolumeSource. + :type: bool + """ + + self._read_only = read_only + + @property + def secret_ref(self): + """ + Gets the secret_ref of this V1RBDVolumeSource. + SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The secret_ref of this V1RBDVolumeSource. + :rtype: V1LocalObjectReference + """ + return self._secret_ref + + @secret_ref.setter + def secret_ref(self, secret_ref): + """ + Sets the secret_ref of this V1RBDVolumeSource. + SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param secret_ref: The secret_ref of this V1RBDVolumeSource. + :type: V1LocalObjectReference + """ + + self._secret_ref = secret_ref + + @property + def user(self): + """ + Gets the user of this V1RBDVolumeSource. + The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :return: The user of this V1RBDVolumeSource. + :rtype: str + """ + return self._user + + @user.setter + def user(self, user): + """ + Sets the user of this V1RBDVolumeSource. + The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it + + :param user: The user of this V1RBDVolumeSource. + :type: str + """ + + self._user = user + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index 8b51889ed6..bc0ff66810 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ReplicationController(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1ReplicationController - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1ReplicationControllerSpec', 'status': 'V1ReplicationControllerStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1ReplicationController. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ReplicationController. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ReplicationController. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ReplicationController. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1ReplicationController. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ReplicationController. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ReplicationController. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ReplicationController. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index 8fd7e6fb01..b5970a1142 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index c0d5e3e66b..a46ee611f6 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ReplicationControllerList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ReplicationControllerList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1ReplicationController]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ReplicationControllerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ReplicationControllerList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ReplicationControllerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ReplicationControllerList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ReplicationControllerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ReplicationControllerList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ReplicationControllerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ReplicationControllerList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index 59b00cccf5..3fbde051a9 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index fd71fcd671..68c4fee8f7 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index 042c2b07a0..e2e3090392 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index 1d113aeb65..4bc69a142f 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ResourceQuota(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1ResourceQuota - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1ResourceQuotaSpec', 'status': 'V1ResourceQuotaStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1ResourceQuota. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ResourceQuota. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ResourceQuota. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ResourceQuota. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1ResourceQuota. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ResourceQuota. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ResourceQuota. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ResourceQuota. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index f8ad1b17e2..96a63baa21 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ResourceQuotaList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ResourceQuotaList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1ResourceQuota]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ResourceQuotaList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ResourceQuotaList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ResourceQuotaList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ResourceQuotaList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ResourceQuotaList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ResourceQuotaList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ResourceQuotaList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ResourceQuotaList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index fffcb4f685..2b8e8fdc75 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 355dfd8da5..06b3548efe 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index 6359060fad..0503bd67da 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index 605e7cf456..50573ec69f 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Scale(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Scale - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1ScaleSpec', 'status': 'V1ScaleStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Scale. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Scale. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Scale. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Scale. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Scale. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Scale. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Scale. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Scale. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index 27074bb817..2337b7b7c4 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 3d4178dc67..4691169c96 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index b3fb298507..732eb9fbed 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index 3b0708ed74..781aff789d 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Secret(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, data=None, metadata=None, string_data=None, type=None): + def __init__(self, api_version=None, data=None, kind=None, metadata=None, string_data=None, type=None): """ V1Secret - a model defined in Swagger @@ -42,25 +42,54 @@ def __init__(self, data=None, metadata=None, string_data=None, type=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'data': 'dict(str, str)', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'string_data': 'dict(str, str)', 'type': 'str' } self.attribute_map = { + 'api_version': 'apiVersion', 'data': 'data', + 'kind': 'kind', 'metadata': 'metadata', 'string_data': 'stringData', 'type': 'type' } + self._api_version = api_version self._data = data + self._kind = kind self._metadata = metadata self._string_data = string_data self._type = type + @property + def api_version(self): + """ + Gets the api_version of this V1Secret. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Secret. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Secret. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Secret. + :type: str + """ + + self._api_version = api_version + @property def data(self): """ @@ -84,6 +113,29 @@ def data(self, data): self._data = data + @property + def kind(self): + """ + Gets the kind of this V1Secret. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Secret. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Secret. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Secret. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index 31315e3592..d996d60df7 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1SecretKeySelector(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, key=None): + def __init__(self, key=None, name=None): """ V1SecretKeySelector - a model defined in Swagger @@ -42,14 +42,17 @@ def __init__(self, key=None): and the value is json key in definition. """ self.swagger_types = { - 'key': 'str' + 'key': 'str', + 'name': 'str' } self.attribute_map = { - 'key': 'key' + 'key': 'key', + 'name': 'name' } self._key = key + self._name = name @property @@ -77,6 +80,29 @@ def key(self, key): self._key = key + @property + def name(self): + """ + Gets the name of this V1SecretKeySelector. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :return: The name of this V1SecretKeySelector. + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """ + Sets the name of this V1SecretKeySelector. + Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names + + :param name: The name of this V1SecretKeySelector. + :type: str + """ + + self._name = name + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index 6233735ec0..469cb24ca8 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1SecretList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1SecretList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Secret]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1SecretList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1SecretList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1SecretList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1SecretList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1SecretList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1SecretList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1SecretList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1SecretList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py new file mode 100644 index 0000000000..42354f725d --- /dev/null +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1SecretVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, default_mode=None, items=None, secret_name=None): + """ + V1SecretVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'default_mode': 'int', + 'items': 'list[V1KeyToPath]', + 'secret_name': 'str' + } + + self.attribute_map = { + 'default_mode': 'defaultMode', + 'items': 'items', + 'secret_name': 'secretName' + } + + self._default_mode = default_mode + self._items = items + self._secret_name = secret_name + + + @property + def default_mode(self): + """ + Gets the default_mode of this V1SecretVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :return: The default_mode of this V1SecretVolumeSource. + :rtype: int + """ + return self._default_mode + + @default_mode.setter + def default_mode(self, default_mode): + """ + Sets the default_mode of this V1SecretVolumeSource. + Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. + + :param default_mode: The default_mode of this V1SecretVolumeSource. + :type: int + """ + + self._default_mode = default_mode + + @property + def items(self): + """ + Gets the items of this V1SecretVolumeSource. + If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. + + :return: The items of this V1SecretVolumeSource. + :rtype: list[V1KeyToPath] + """ + return self._items + + @items.setter + def items(self, items): + """ + Sets the items of this V1SecretVolumeSource. + If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. + + :param items: The items of this V1SecretVolumeSource. + :type: list[V1KeyToPath] + """ + + self._items = items + + @property + def secret_name(self): + """ + Gets the secret_name of this V1SecretVolumeSource. + Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + + :return: The secret_name of this V1SecretVolumeSource. + :rtype: str + """ + return self._secret_name + + @secret_name.setter + def secret_name(self, secret_name): + """ + Sets the secret_name of this V1SecretVolumeSource. + Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + + :param secret_name: The secret_name of this V1SecretVolumeSource. + :type: str + """ + + self._secret_name = secret_name + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index 1fede966b3..b8d8e2595c 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 06bb08c604..0f6fdbd3ea 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Service(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1Service - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1ServiceSpec', 'status': 'V1ServiceStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1Service. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1Service. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1Service. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1Service. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1Service. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1Service. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1Service. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1Service. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 6e12c53376..32dfe79032 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ServiceAccount(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, image_pull_secrets=None, metadata=None, secrets=None): + def __init__(self, api_version=None, image_pull_secrets=None, kind=None, metadata=None, secrets=None): """ V1ServiceAccount - a model defined in Swagger @@ -42,22 +42,51 @@ def __init__(self, image_pull_secrets=None, metadata=None, secrets=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'image_pull_secrets': 'list[V1LocalObjectReference]', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'secrets': 'list[V1ObjectReference]' } self.attribute_map = { + 'api_version': 'apiVersion', 'image_pull_secrets': 'imagePullSecrets', + 'kind': 'kind', 'metadata': 'metadata', 'secrets': 'secrets' } + self._api_version = api_version self._image_pull_secrets = image_pull_secrets + self._kind = kind self._metadata = metadata self._secrets = secrets + @property + def api_version(self): + """ + Gets the api_version of this V1ServiceAccount. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ServiceAccount. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ServiceAccount. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ServiceAccount. + :type: str + """ + + self._api_version = api_version + @property def image_pull_secrets(self): """ @@ -81,6 +110,29 @@ def image_pull_secrets(self, image_pull_secrets): self._image_pull_secrets = image_pull_secrets + @property + def kind(self): + """ + Gets the kind of this V1ServiceAccount. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ServiceAccount. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ServiceAccount. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ServiceAccount. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index 80810140f2..b24bf90301 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ServiceAccountList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ServiceAccountList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1ServiceAccount]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ServiceAccountList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ServiceAccountList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ServiceAccountList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ServiceAccountList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ServiceAccountList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ServiceAccountList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ServiceAccountList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ServiceAccountList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index 6f7c9c927e..4ec8ade829 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1ServiceList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1ServiceList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1Service]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1ServiceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1ServiceList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1ServiceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1ServiceList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1ServiceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1ServiceList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1ServiceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1ServiceList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 485deb81f3..7502b857ae 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index 6b5556fc60..abdda04f1b 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index f154babdbd..d0bb78593d 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index ced1d2e22d..080a6ff604 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index ce62df674c..160f50aa24 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1Volume(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None): + def __init__(self, aws_elastic_block_store=None, azure_disk=None, azure_file=None, cephfs=None, cinder=None, config_map=None, downward_api=None, empty_dir=None, fc=None, flex_volume=None, flocker=None, gce_persistent_disk=None, git_repo=None, glusterfs=None, host_path=None, iscsi=None, name=None, nfs=None, persistent_volume_claim=None, photon_persistent_disk=None, quobyte=None, rbd=None, secret=None, vsphere_volume=None): """ V1Volume - a model defined in Swagger @@ -42,16 +42,453 @@ def __init__(self, name=None): and the value is json key in definition. """ self.swagger_types = { - 'name': 'str' + 'aws_elastic_block_store': 'V1AWSElasticBlockStoreVolumeSource', + 'azure_disk': 'V1AzureDiskVolumeSource', + 'azure_file': 'V1AzureFileVolumeSource', + 'cephfs': 'V1CephFSVolumeSource', + 'cinder': 'V1CinderVolumeSource', + 'config_map': 'V1ConfigMapVolumeSource', + 'downward_api': 'V1DownwardAPIVolumeSource', + 'empty_dir': 'V1EmptyDirVolumeSource', + 'fc': 'V1FCVolumeSource', + 'flex_volume': 'V1FlexVolumeSource', + 'flocker': 'V1FlockerVolumeSource', + 'gce_persistent_disk': 'V1GCEPersistentDiskVolumeSource', + 'git_repo': 'V1GitRepoVolumeSource', + 'glusterfs': 'V1GlusterfsVolumeSource', + 'host_path': 'V1HostPathVolumeSource', + 'iscsi': 'V1ISCSIVolumeSource', + 'name': 'str', + 'nfs': 'V1NFSVolumeSource', + 'persistent_volume_claim': 'V1PersistentVolumeClaimVolumeSource', + 'photon_persistent_disk': 'V1PhotonPersistentDiskVolumeSource', + 'quobyte': 'V1QuobyteVolumeSource', + 'rbd': 'V1RBDVolumeSource', + 'secret': 'V1SecretVolumeSource', + 'vsphere_volume': 'V1VsphereVirtualDiskVolumeSource' } self.attribute_map = { - 'name': 'name' + 'aws_elastic_block_store': 'awsElasticBlockStore', + 'azure_disk': 'azureDisk', + 'azure_file': 'azureFile', + 'cephfs': 'cephfs', + 'cinder': 'cinder', + 'config_map': 'configMap', + 'downward_api': 'downwardAPI', + 'empty_dir': 'emptyDir', + 'fc': 'fc', + 'flex_volume': 'flexVolume', + 'flocker': 'flocker', + 'gce_persistent_disk': 'gcePersistentDisk', + 'git_repo': 'gitRepo', + 'glusterfs': 'glusterfs', + 'host_path': 'hostPath', + 'iscsi': 'iscsi', + 'name': 'name', + 'nfs': 'nfs', + 'persistent_volume_claim': 'persistentVolumeClaim', + 'photon_persistent_disk': 'photonPersistentDisk', + 'quobyte': 'quobyte', + 'rbd': 'rbd', + 'secret': 'secret', + 'vsphere_volume': 'vsphereVolume' } + self._aws_elastic_block_store = aws_elastic_block_store + self._azure_disk = azure_disk + self._azure_file = azure_file + self._cephfs = cephfs + self._cinder = cinder + self._config_map = config_map + self._downward_api = downward_api + self._empty_dir = empty_dir + self._fc = fc + self._flex_volume = flex_volume + self._flocker = flocker + self._gce_persistent_disk = gce_persistent_disk + self._git_repo = git_repo + self._glusterfs = glusterfs + self._host_path = host_path + self._iscsi = iscsi self._name = name + self._nfs = nfs + self._persistent_volume_claim = persistent_volume_claim + self._photon_persistent_disk = photon_persistent_disk + self._quobyte = quobyte + self._rbd = rbd + self._secret = secret + self._vsphere_volume = vsphere_volume + @property + def aws_elastic_block_store(self): + """ + Gets the aws_elastic_block_store of this V1Volume. + AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :return: The aws_elastic_block_store of this V1Volume. + :rtype: V1AWSElasticBlockStoreVolumeSource + """ + return self._aws_elastic_block_store + + @aws_elastic_block_store.setter + def aws_elastic_block_store(self, aws_elastic_block_store): + """ + Sets the aws_elastic_block_store of this V1Volume. + AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore + + :param aws_elastic_block_store: The aws_elastic_block_store of this V1Volume. + :type: V1AWSElasticBlockStoreVolumeSource + """ + + self._aws_elastic_block_store = aws_elastic_block_store + + @property + def azure_disk(self): + """ + Gets the azure_disk of this V1Volume. + AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + + :return: The azure_disk of this V1Volume. + :rtype: V1AzureDiskVolumeSource + """ + return self._azure_disk + + @azure_disk.setter + def azure_disk(self, azure_disk): + """ + Sets the azure_disk of this V1Volume. + AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + + :param azure_disk: The azure_disk of this V1Volume. + :type: V1AzureDiskVolumeSource + """ + + self._azure_disk = azure_disk + + @property + def azure_file(self): + """ + Gets the azure_file of this V1Volume. + AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + :return: The azure_file of this V1Volume. + :rtype: V1AzureFileVolumeSource + """ + return self._azure_file + + @azure_file.setter + def azure_file(self, azure_file): + """ + Sets the azure_file of this V1Volume. + AzureFile represents an Azure File Service mount on the host and bind mount to the pod. + + :param azure_file: The azure_file of this V1Volume. + :type: V1AzureFileVolumeSource + """ + + self._azure_file = azure_file + + @property + def cephfs(self): + """ + Gets the cephfs of this V1Volume. + CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + + :return: The cephfs of this V1Volume. + :rtype: V1CephFSVolumeSource + """ + return self._cephfs + + @cephfs.setter + def cephfs(self, cephfs): + """ + Sets the cephfs of this V1Volume. + CephFS represents a Ceph FS mount on the host that shares a pod's lifetime + + :param cephfs: The cephfs of this V1Volume. + :type: V1CephFSVolumeSource + """ + + self._cephfs = cephfs + + @property + def cinder(self): + """ + Gets the cinder of this V1Volume. + Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :return: The cinder of this V1Volume. + :rtype: V1CinderVolumeSource + """ + return self._cinder + + @cinder.setter + def cinder(self, cinder): + """ + Sets the cinder of this V1Volume. + Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md + + :param cinder: The cinder of this V1Volume. + :type: V1CinderVolumeSource + """ + + self._cinder = cinder + + @property + def config_map(self): + """ + Gets the config_map of this V1Volume. + ConfigMap represents a configMap that should populate this volume + + :return: The config_map of this V1Volume. + :rtype: V1ConfigMapVolumeSource + """ + return self._config_map + + @config_map.setter + def config_map(self, config_map): + """ + Sets the config_map of this V1Volume. + ConfigMap represents a configMap that should populate this volume + + :param config_map: The config_map of this V1Volume. + :type: V1ConfigMapVolumeSource + """ + + self._config_map = config_map + + @property + def downward_api(self): + """ + Gets the downward_api of this V1Volume. + DownwardAPI represents downward API about the pod that should populate this volume + + :return: The downward_api of this V1Volume. + :rtype: V1DownwardAPIVolumeSource + """ + return self._downward_api + + @downward_api.setter + def downward_api(self, downward_api): + """ + Sets the downward_api of this V1Volume. + DownwardAPI represents downward API about the pod that should populate this volume + + :param downward_api: The downward_api of this V1Volume. + :type: V1DownwardAPIVolumeSource + """ + + self._downward_api = downward_api + + @property + def empty_dir(self): + """ + Gets the empty_dir of this V1Volume. + EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + + :return: The empty_dir of this V1Volume. + :rtype: V1EmptyDirVolumeSource + """ + return self._empty_dir + + @empty_dir.setter + def empty_dir(self, empty_dir): + """ + Sets the empty_dir of this V1Volume. + EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir + + :param empty_dir: The empty_dir of this V1Volume. + :type: V1EmptyDirVolumeSource + """ + + self._empty_dir = empty_dir + + @property + def fc(self): + """ + Gets the fc of this V1Volume. + FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + + :return: The fc of this V1Volume. + :rtype: V1FCVolumeSource + """ + return self._fc + + @fc.setter + def fc(self, fc): + """ + Sets the fc of this V1Volume. + FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. + + :param fc: The fc of this V1Volume. + :type: V1FCVolumeSource + """ + + self._fc = fc + + @property + def flex_volume(self): + """ + Gets the flex_volume of this V1Volume. + FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + + :return: The flex_volume of this V1Volume. + :rtype: V1FlexVolumeSource + """ + return self._flex_volume + + @flex_volume.setter + def flex_volume(self, flex_volume): + """ + Sets the flex_volume of this V1Volume. + FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. + + :param flex_volume: The flex_volume of this V1Volume. + :type: V1FlexVolumeSource + """ + + self._flex_volume = flex_volume + + @property + def flocker(self): + """ + Gets the flocker of this V1Volume. + Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + + :return: The flocker of this V1Volume. + :rtype: V1FlockerVolumeSource + """ + return self._flocker + + @flocker.setter + def flocker(self, flocker): + """ + Sets the flocker of this V1Volume. + Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running + + :param flocker: The flocker of this V1Volume. + :type: V1FlockerVolumeSource + """ + + self._flocker = flocker + + @property + def gce_persistent_disk(self): + """ + Gets the gce_persistent_disk of this V1Volume. + GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :return: The gce_persistent_disk of this V1Volume. + :rtype: V1GCEPersistentDiskVolumeSource + """ + return self._gce_persistent_disk + + @gce_persistent_disk.setter + def gce_persistent_disk(self, gce_persistent_disk): + """ + Sets the gce_persistent_disk of this V1Volume. + GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk + + :param gce_persistent_disk: The gce_persistent_disk of this V1Volume. + :type: V1GCEPersistentDiskVolumeSource + """ + + self._gce_persistent_disk = gce_persistent_disk + + @property + def git_repo(self): + """ + Gets the git_repo of this V1Volume. + GitRepo represents a git repository at a particular revision. + + :return: The git_repo of this V1Volume. + :rtype: V1GitRepoVolumeSource + """ + return self._git_repo + + @git_repo.setter + def git_repo(self, git_repo): + """ + Sets the git_repo of this V1Volume. + GitRepo represents a git repository at a particular revision. + + :param git_repo: The git_repo of this V1Volume. + :type: V1GitRepoVolumeSource + """ + + self._git_repo = git_repo + + @property + def glusterfs(self): + """ + Gets the glusterfs of this V1Volume. + Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + + :return: The glusterfs of this V1Volume. + :rtype: V1GlusterfsVolumeSource + """ + return self._glusterfs + + @glusterfs.setter + def glusterfs(self, glusterfs): + """ + Sets the glusterfs of this V1Volume. + Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md + + :param glusterfs: The glusterfs of this V1Volume. + :type: V1GlusterfsVolumeSource + """ + + self._glusterfs = glusterfs + + @property + def host_path(self): + """ + Gets the host_path of this V1Volume. + HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :return: The host_path of this V1Volume. + :rtype: V1HostPathVolumeSource + """ + return self._host_path + + @host_path.setter + def host_path(self, host_path): + """ + Sets the host_path of this V1Volume. + HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath + + :param host_path: The host_path of this V1Volume. + :type: V1HostPathVolumeSource + """ + + self._host_path = host_path + + @property + def iscsi(self): + """ + Gets the iscsi of this V1Volume. + ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md + + :return: The iscsi of this V1Volume. + :rtype: V1ISCSIVolumeSource + """ + return self._iscsi + + @iscsi.setter + def iscsi(self, iscsi): + """ + Sets the iscsi of this V1Volume. + ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md + + :param iscsi: The iscsi of this V1Volume. + :type: V1ISCSIVolumeSource + """ + + self._iscsi = iscsi + @property def name(self): """ @@ -77,6 +514,167 @@ def name(self, name): self._name = name + @property + def nfs(self): + """ + Gets the nfs of this V1Volume. + NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :return: The nfs of this V1Volume. + :rtype: V1NFSVolumeSource + """ + return self._nfs + + @nfs.setter + def nfs(self, nfs): + """ + Sets the nfs of this V1Volume. + NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs + + :param nfs: The nfs of this V1Volume. + :type: V1NFSVolumeSource + """ + + self._nfs = nfs + + @property + def persistent_volume_claim(self): + """ + Gets the persistent_volume_claim of this V1Volume. + PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + + :return: The persistent_volume_claim of this V1Volume. + :rtype: V1PersistentVolumeClaimVolumeSource + """ + return self._persistent_volume_claim + + @persistent_volume_claim.setter + def persistent_volume_claim(self, persistent_volume_claim): + """ + Sets the persistent_volume_claim of this V1Volume. + PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims + + :param persistent_volume_claim: The persistent_volume_claim of this V1Volume. + :type: V1PersistentVolumeClaimVolumeSource + """ + + self._persistent_volume_claim = persistent_volume_claim + + @property + def photon_persistent_disk(self): + """ + Gets the photon_persistent_disk of this V1Volume. + PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + + :return: The photon_persistent_disk of this V1Volume. + :rtype: V1PhotonPersistentDiskVolumeSource + """ + return self._photon_persistent_disk + + @photon_persistent_disk.setter + def photon_persistent_disk(self, photon_persistent_disk): + """ + Sets the photon_persistent_disk of this V1Volume. + PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine + + :param photon_persistent_disk: The photon_persistent_disk of this V1Volume. + :type: V1PhotonPersistentDiskVolumeSource + """ + + self._photon_persistent_disk = photon_persistent_disk + + @property + def quobyte(self): + """ + Gets the quobyte of this V1Volume. + Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + + :return: The quobyte of this V1Volume. + :rtype: V1QuobyteVolumeSource + """ + return self._quobyte + + @quobyte.setter + def quobyte(self, quobyte): + """ + Sets the quobyte of this V1Volume. + Quobyte represents a Quobyte mount on the host that shares a pod's lifetime + + :param quobyte: The quobyte of this V1Volume. + :type: V1QuobyteVolumeSource + """ + + self._quobyte = quobyte + + @property + def rbd(self): + """ + Gets the rbd of this V1Volume. + RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + + :return: The rbd of this V1Volume. + :rtype: V1RBDVolumeSource + """ + return self._rbd + + @rbd.setter + def rbd(self, rbd): + """ + Sets the rbd of this V1Volume. + RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md + + :param rbd: The rbd of this V1Volume. + :type: V1RBDVolumeSource + """ + + self._rbd = rbd + + @property + def secret(self): + """ + Gets the secret of this V1Volume. + Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + + :return: The secret of this V1Volume. + :rtype: V1SecretVolumeSource + """ + return self._secret + + @secret.setter + def secret(self, secret): + """ + Sets the secret of this V1Volume. + Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets + + :param secret: The secret of this V1Volume. + :type: V1SecretVolumeSource + """ + + self._secret = secret + + @property + def vsphere_volume(self): + """ + Gets the vsphere_volume of this V1Volume. + VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + + :return: The vsphere_volume of this V1Volume. + :rtype: V1VsphereVirtualDiskVolumeSource + """ + return self._vsphere_volume + + @vsphere_volume.setter + def vsphere_volume(self, vsphere_volume): + """ + Sets the vsphere_volume of this V1Volume. + VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine + + :param vsphere_volume: The vsphere_volume of this V1Volume. + :type: V1VsphereVirtualDiskVolumeSource + """ + + self._vsphere_volume = vsphere_volume + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 17caa951d7..208874ffe2 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py new file mode 100644 index 0000000000..f2d37bc09b --- /dev/null +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1VsphereVirtualDiskVolumeSource(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, fs_type=None, volume_path=None): + """ + V1VsphereVirtualDiskVolumeSource - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'fs_type': 'str', + 'volume_path': 'str' + } + + self.attribute_map = { + 'fs_type': 'fsType', + 'volume_path': 'volumePath' + } + + self._fs_type = fs_type + self._volume_path = volume_path + + + @property + def fs_type(self): + """ + Gets the fs_type of this V1VsphereVirtualDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :return: The fs_type of this V1VsphereVirtualDiskVolumeSource. + :rtype: str + """ + return self._fs_type + + @fs_type.setter + def fs_type(self, fs_type): + """ + Sets the fs_type of this V1VsphereVirtualDiskVolumeSource. + Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. + + :param fs_type: The fs_type of this V1VsphereVirtualDiskVolumeSource. + :type: str + """ + + self._fs_type = fs_type + + @property + def volume_path(self): + """ + Gets the volume_path of this V1VsphereVirtualDiskVolumeSource. + Path that identifies vSphere volume vmdk + + :return: The volume_path of this V1VsphereVirtualDiskVolumeSource. + :rtype: str + """ + return self._volume_path + + @volume_path.setter + def volume_path(self, volume_path): + """ + Sets the volume_path of this V1VsphereVirtualDiskVolumeSource. + Path that identifies vSphere volume vmdk + + :param volume_path: The volume_path of this V1VsphereVirtualDiskVolumeSource. + :type: str + """ + if volume_path is None: + raise ValueError("Invalid value for `volume_path`, must not be `None`") + + self._volume_path = volume_path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request.py b/kubernetes/client/models/v1alpha1_certificate_signing_request.py index e2cbdd1dce..167e0d9ef0 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1CertificateSigningRequest(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1alpha1CertificateSigningRequest - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1alpha1CertificateSigningRequestSpec', 'status': 'V1alpha1CertificateSigningRequestStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1CertificateSigningRequest. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1CertificateSigningRequest. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1CertificateSigningRequest. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1CertificateSigningRequest. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1CertificateSigningRequest. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1CertificateSigningRequest. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1CertificateSigningRequest. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1CertificateSigningRequest. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py index 471ca8fc3f..eb1cb189db 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py index b8c85c7d42..b8c1d8c7e3 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1CertificateSigningRequestList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1alpha1CertificateSigningRequestList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1alpha1CertificateSigningRequest]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1CertificateSigningRequestList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1CertificateSigningRequestList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1CertificateSigningRequestList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1CertificateSigningRequestList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1alpha1CertificateSigningRequestList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1CertificateSigningRequestList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1CertificateSigningRequestList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1CertificateSigningRequestList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py index fc42139299..72b4539a44 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py index 7d4e56624b..0acf460bf9 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1alpha1_cluster_role.py b/kubernetes/client/models/v1alpha1_cluster_role.py index e08dea2085..f2d5c2f0fd 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role.py +++ b/kubernetes/client/models/v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1ClusterRole(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, rules=None): + def __init__(self, api_version=None, kind=None, metadata=None, rules=None): """ V1alpha1ClusterRole - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, rules=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'rules': 'list[V1alpha1PolicyRule]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'rules': 'rules' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._rules = rules + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1ClusterRole. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1ClusterRole. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1ClusterRole. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1ClusterRole. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1ClusterRole. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1ClusterRole. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1ClusterRole. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1ClusterRole. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding.py b/kubernetes/client/models/v1alpha1_cluster_role_binding.py index 750bd5a44e..d2527830b4 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1ClusterRoleBinding(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, role_ref=None, subjects=None): + def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, subjects=None): """ V1alpha1ClusterRoleBinding - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, role_ref=None, subjects=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'role_ref': 'V1alpha1RoleRef', 'subjects': 'list[V1alpha1Subject]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'role_ref': 'roleRef', 'subjects': 'subjects' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._role_ref = role_ref self._subjects = subjects + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1ClusterRoleBinding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1ClusterRoleBinding. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1ClusterRoleBinding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1ClusterRoleBinding. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1ClusterRoleBinding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1ClusterRoleBinding. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1ClusterRoleBinding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1ClusterRoleBinding. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py index 301281385d..d191579d45 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1ClusterRoleBindingList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1alpha1ClusterRoleBindingList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1alpha1ClusterRoleBinding]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1ClusterRoleBindingList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1ClusterRoleBindingList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1ClusterRoleBindingList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1ClusterRoleBindingList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1alpha1ClusterRoleBindingList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1ClusterRoleBindingList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1ClusterRoleBindingList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1ClusterRoleBindingList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_list.py b/kubernetes/client/models/v1alpha1_cluster_role_list.py index 21fc72a965..d6ca24e981 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1ClusterRoleList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1alpha1ClusterRoleList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1alpha1ClusterRole]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1ClusterRoleList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1ClusterRoleList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1ClusterRoleList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1ClusterRoleList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1alpha1ClusterRoleList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1ClusterRoleList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1ClusterRoleList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1ClusterRoleList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_policy_rule.py b/kubernetes/client/models/v1alpha1_policy_rule.py index 5e7dfd096c..6823995e6d 100644 --- a/kubernetes/client/models/v1alpha1_policy_rule.py +++ b/kubernetes/client/models/v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1alpha1_role.py b/kubernetes/client/models/v1alpha1_role.py index 6e5f88f7f7..ce2b5f1a9c 100644 --- a/kubernetes/client/models/v1alpha1_role.py +++ b/kubernetes/client/models/v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1Role(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, rules=None): + def __init__(self, api_version=None, kind=None, metadata=None, rules=None): """ V1alpha1Role - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, rules=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'rules': 'list[V1alpha1PolicyRule]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'rules': 'rules' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._rules = rules + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1Role. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1Role. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1Role. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1Role. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1Role. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1Role. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1Role. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1Role. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_binding.py b/kubernetes/client/models/v1alpha1_role_binding.py index 292f7767a2..09bb37b406 100644 --- a/kubernetes/client/models/v1alpha1_role_binding.py +++ b/kubernetes/client/models/v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1RoleBinding(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, role_ref=None, subjects=None): + def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, subjects=None): """ V1alpha1RoleBinding - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, role_ref=None, subjects=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'role_ref': 'V1alpha1RoleRef', 'subjects': 'list[V1alpha1Subject]' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'role_ref': 'roleRef', 'subjects': 'subjects' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._role_ref = role_ref self._subjects = subjects + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1RoleBinding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1RoleBinding. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1RoleBinding. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1RoleBinding. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1alpha1RoleBinding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1RoleBinding. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1RoleBinding. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1RoleBinding. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_binding_list.py b/kubernetes/client/models/v1alpha1_role_binding_list.py index eb9df7a69a..bf50099d15 100644 --- a/kubernetes/client/models/v1alpha1_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1RoleBindingList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1alpha1RoleBindingList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1alpha1RoleBinding]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1RoleBindingList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1RoleBindingList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1RoleBindingList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1RoleBindingList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1alpha1RoleBindingList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1RoleBindingList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1RoleBindingList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1RoleBindingList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_list.py b/kubernetes/client/models/v1alpha1_role_list.py index 3d8f80fa80..aa4b7c73e5 100644 --- a/kubernetes/client/models/v1alpha1_role_list.py +++ b/kubernetes/client/models/v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1alpha1RoleList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1alpha1RoleList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1alpha1Role]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1alpha1RoleList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1alpha1RoleList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1alpha1RoleList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1alpha1RoleList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1alpha1RoleList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1alpha1RoleList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1alpha1RoleList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1alpha1RoleList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_ref.py b/kubernetes/client/models/v1alpha1_role_ref.py index eb6c83f360..22d0a30a7f 100644 --- a/kubernetes/client/models/v1alpha1_role_ref.py +++ b/kubernetes/client/models/v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1alpha1_subject.py b/kubernetes/client/models/v1alpha1_subject.py index 823637e89f..df6c16d988 100644 --- a/kubernetes/client/models/v1alpha1_subject.py +++ b/kubernetes/client/models/v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_api_version.py b/kubernetes/client/models/v1beta1_api_version.py index 8b3c50271f..bdee853420 100644 --- a/kubernetes/client/models/v1beta1_api_version.py +++ b/kubernetes/client/models/v1beta1_api_version.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_cpu_target_utilization.py b/kubernetes/client/models/v1beta1_cpu_target_utilization.py index 3a45129a1c..7054108316 100644 --- a/kubernetes/client/models/v1beta1_cpu_target_utilization.py +++ b/kubernetes/client/models/v1beta1_cpu_target_utilization.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_daemon_set.py b/kubernetes/client/models/v1beta1_daemon_set.py index 40e637fa0c..ff2c40fd54 100644 --- a/kubernetes/client/models/v1beta1_daemon_set.py +++ b/kubernetes/client/models/v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1DaemonSet(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1DaemonSet - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1DaemonSetSpec', 'status': 'V1beta1DaemonSetStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1DaemonSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1DaemonSet. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1DaemonSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1DaemonSet. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1DaemonSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1DaemonSet. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1DaemonSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1DaemonSet. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_list.py b/kubernetes/client/models/v1beta1_daemon_set_list.py index d901703f61..17f8af5da6 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_list.py +++ b/kubernetes/client/models/v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1DaemonSetList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1DaemonSetList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1DaemonSet]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1DaemonSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1DaemonSetList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1DaemonSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1DaemonSetList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1DaemonSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1DaemonSetList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1DaemonSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1DaemonSetList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_spec.py b/kubernetes/client/models/v1beta1_daemon_set_spec.py index 74ca75f57d..47bc20b685 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_daemon_set_status.py b/kubernetes/client/models/v1beta1_daemon_set_status.py index 5a4ab48549..e75362b08a 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_status.py +++ b/kubernetes/client/models/v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_deployment.py b/kubernetes/client/models/v1beta1_deployment.py index 7387673ded..08d17193b4 100644 --- a/kubernetes/client/models/v1beta1_deployment.py +++ b/kubernetes/client/models/v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1Deployment(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1Deployment - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1DeploymentSpec', 'status': 'V1beta1DeploymentStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1Deployment. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1Deployment. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1Deployment. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1Deployment. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1Deployment. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1Deployment. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1Deployment. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1Deployment. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_condition.py b/kubernetes/client/models/v1beta1_deployment_condition.py index 2bfc99df57..fdde133937 100644 --- a/kubernetes/client/models/v1beta1_deployment_condition.py +++ b/kubernetes/client/models/v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_deployment_list.py b/kubernetes/client/models/v1beta1_deployment_list.py index 9ca400e39d..b47e7076c4 100644 --- a/kubernetes/client/models/v1beta1_deployment_list.py +++ b/kubernetes/client/models/v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1DeploymentList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1DeploymentList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1Deployment]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1DeploymentList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1DeploymentList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1DeploymentList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1DeploymentList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1DeploymentList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1DeploymentList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1DeploymentList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1DeploymentList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_rollback.py b/kubernetes/client/models/v1beta1_deployment_rollback.py index 15689fabfe..c33d131d43 100644 --- a/kubernetes/client/models/v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1DeploymentRollback(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, name=None, rollback_to=None, updated_annotations=None): + def __init__(self, api_version=None, kind=None, name=None, rollback_to=None, updated_annotations=None): """ V1beta1DeploymentRollback - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, name=None, rollback_to=None, updated_annotations=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'name': 'str', 'rollback_to': 'V1beta1RollbackConfig', 'updated_annotations': 'dict(str, str)' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'name': 'name', 'rollback_to': 'rollbackTo', 'updated_annotations': 'updatedAnnotations' } + self._api_version = api_version + self._kind = kind self._name = name self._rollback_to = rollback_to self._updated_annotations = updated_annotations + @property + def api_version(self): + """ + Gets the api_version of this V1beta1DeploymentRollback. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1DeploymentRollback. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1DeploymentRollback. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1DeploymentRollback. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1DeploymentRollback. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1DeploymentRollback. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1DeploymentRollback. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1DeploymentRollback. + :type: str + """ + + self._kind = kind + @property def name(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_spec.py b/kubernetes/client/models/v1beta1_deployment_spec.py index 04182158e7..0e27b7e3de 100644 --- a/kubernetes/client/models/v1beta1_deployment_spec.py +++ b/kubernetes/client/models/v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_deployment_status.py b/kubernetes/client/models/v1beta1_deployment_status.py index 2127e27755..5b0dc0fd9f 100644 --- a/kubernetes/client/models/v1beta1_deployment_status.py +++ b/kubernetes/client/models/v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_deployment_strategy.py b/kubernetes/client/models/v1beta1_deployment_strategy.py index e2f2d96743..2479584abd 100644 --- a/kubernetes/client/models/v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_eviction.py b/kubernetes/client/models/v1beta1_eviction.py index 2670cbead9..fdc4b285f1 100644 --- a/kubernetes/client/models/v1beta1_eviction.py +++ b/kubernetes/client/models/v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1Eviction(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, delete_options=None, metadata=None): + def __init__(self, api_version=None, delete_options=None, kind=None, metadata=None): """ V1beta1Eviction - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, delete_options=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'delete_options': 'V1DeleteOptions', + 'kind': 'str', 'metadata': 'V1ObjectMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'delete_options': 'deleteOptions', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._delete_options = delete_options + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1Eviction. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1Eviction. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1Eviction. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1Eviction. + :type: str + """ + + self._api_version = api_version + @property def delete_options(self): """ @@ -78,6 +107,29 @@ def delete_options(self, delete_options): self._delete_options = delete_options + @property + def kind(self): + """ + Gets the kind of this V1beta1Eviction. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1Eviction. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1Eviction. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1Eviction. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py index 4e73bfe29d..834274214c 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1HorizontalPodAutoscaler(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1HorizontalPodAutoscaler - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1HorizontalPodAutoscalerSpec', 'status': 'V1beta1HorizontalPodAutoscalerStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1HorizontalPodAutoscaler. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1HorizontalPodAutoscaler. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1HorizontalPodAutoscaler. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1HorizontalPodAutoscaler. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1HorizontalPodAutoscaler. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1HorizontalPodAutoscaler. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1HorizontalPodAutoscaler. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1HorizontalPodAutoscaler. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py index 658f27d8d7..4b957d4277 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1HorizontalPodAutoscalerList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1HorizontalPodAutoscalerList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1HorizontalPodAutoscaler]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1HorizontalPodAutoscalerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1HorizontalPodAutoscalerList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1HorizontalPodAutoscalerList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1HorizontalPodAutoscalerList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1HorizontalPodAutoscalerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1HorizontalPodAutoscalerList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1HorizontalPodAutoscalerList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1HorizontalPodAutoscalerList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py index 92eac0e475..1d3aea5c68 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py index 37f468d34e..97a9b2e398 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_http_ingress_path.py b/kubernetes/client/models/v1beta1_http_ingress_path.py new file mode 100644 index 0000000000..d90c55b7e7 --- /dev/null +++ b/kubernetes/client/models/v1beta1_http_ingress_path.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1HTTPIngressPath(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, backend=None, path=None): + """ + V1beta1HTTPIngressPath - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'backend': 'V1beta1IngressBackend', + 'path': 'str' + } + + self.attribute_map = { + 'backend': 'backend', + 'path': 'path' + } + + self._backend = backend + self._path = path + + + @property + def backend(self): + """ + Gets the backend of this V1beta1HTTPIngressPath. + Backend defines the referenced service endpoint to which the traffic will be forwarded to. + + :return: The backend of this V1beta1HTTPIngressPath. + :rtype: V1beta1IngressBackend + """ + return self._backend + + @backend.setter + def backend(self, backend): + """ + Sets the backend of this V1beta1HTTPIngressPath. + Backend defines the referenced service endpoint to which the traffic will be forwarded to. + + :param backend: The backend of this V1beta1HTTPIngressPath. + :type: V1beta1IngressBackend + """ + if backend is None: + raise ValueError("Invalid value for `backend`, must not be `None`") + + self._backend = backend + + @property + def path(self): + """ + Gets the path of this V1beta1HTTPIngressPath. + Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. + + :return: The path of this V1beta1HTTPIngressPath. + :rtype: str + """ + return self._path + + @path.setter + def path(self, path): + """ + Sets the path of this V1beta1HTTPIngressPath. + Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. + + :param path: The path of this V1beta1HTTPIngressPath. + :type: str + """ + + self._path = path + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py new file mode 100644 index 0000000000..713e416b0a --- /dev/null +++ b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from pprint import pformat +from six import iteritems +import re + + +class V1beta1HTTPIngressRuleValue(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + def __init__(self, paths=None): + """ + V1beta1HTTPIngressRuleValue - a model defined in Swagger + + :param dict swaggerTypes: The key is attribute name + and the value is attribute type. + :param dict attributeMap: The key is attribute name + and the value is json key in definition. + """ + self.swagger_types = { + 'paths': 'list[V1beta1HTTPIngressPath]' + } + + self.attribute_map = { + 'paths': 'paths' + } + + self._paths = paths + + + @property + def paths(self): + """ + Gets the paths of this V1beta1HTTPIngressRuleValue. + A collection of paths that map requests to backends. + + :return: The paths of this V1beta1HTTPIngressRuleValue. + :rtype: list[V1beta1HTTPIngressPath] + """ + return self._paths + + @paths.setter + def paths(self, paths): + """ + Sets the paths of this V1beta1HTTPIngressRuleValue. + A collection of paths that map requests to backends. + + :param paths: The paths of this V1beta1HTTPIngressRuleValue. + :type: list[V1beta1HTTPIngressPath] + """ + if paths is None: + raise ValueError("Invalid value for `paths`, must not be `None`") + + self._paths = paths + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/kubernetes/client/models/v1beta1_ingress.py b/kubernetes/client/models/v1beta1_ingress.py index 9a2bace4a4..dfe24a622f 100644 --- a/kubernetes/client/models/v1beta1_ingress.py +++ b/kubernetes/client/models/v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1Ingress(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1Ingress - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1IngressSpec', 'status': 'V1beta1IngressStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1Ingress. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1Ingress. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1Ingress. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1Ingress. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1Ingress. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1Ingress. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1Ingress. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1Ingress. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_backend.py b/kubernetes/client/models/v1beta1_ingress_backend.py index 5847a58152..84f0bd3823 100644 --- a/kubernetes/client/models/v1beta1_ingress_backend.py +++ b/kubernetes/client/models/v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_ingress_list.py b/kubernetes/client/models/v1beta1_ingress_list.py index acfbf7c0ce..f07394300c 100644 --- a/kubernetes/client/models/v1beta1_ingress_list.py +++ b/kubernetes/client/models/v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1IngressList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1IngressList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1Ingress]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1IngressList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1IngressList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1IngressList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1IngressList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1IngressList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1IngressList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1IngressList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1IngressList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_rule.py b/kubernetes/client/models/v1beta1_ingress_rule.py index fa26c054f4..be95df715e 100644 --- a/kubernetes/client/models/v1beta1_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1IngressRule(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, host=None): + def __init__(self, host=None, http=None): """ V1beta1IngressRule - a model defined in Swagger @@ -42,14 +42,17 @@ def __init__(self, host=None): and the value is json key in definition. """ self.swagger_types = { - 'host': 'str' + 'host': 'str', + 'http': 'V1beta1HTTPIngressRuleValue' } self.attribute_map = { - 'host': 'host' + 'host': 'host', + 'http': 'http' } self._host = host + self._http = http @property @@ -75,6 +78,29 @@ def host(self, host): self._host = host + @property + def http(self): + """ + Gets the http of this V1beta1IngressRule. + + + :return: The http of this V1beta1IngressRule. + :rtype: V1beta1HTTPIngressRuleValue + """ + return self._http + + @http.setter + def http(self, http): + """ + Sets the http of this V1beta1IngressRule. + + + :param http: The http of this V1beta1IngressRule. + :type: V1beta1HTTPIngressRuleValue + """ + + self._http = http + def to_dict(self): """ Returns the model properties as a dict diff --git a/kubernetes/client/models/v1beta1_ingress_spec.py b/kubernetes/client/models/v1beta1_ingress_spec.py index 21a35ae52d..b462c4ddde 100644 --- a/kubernetes/client/models/v1beta1_ingress_spec.py +++ b/kubernetes/client/models/v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_ingress_status.py b/kubernetes/client/models/v1beta1_ingress_status.py index 46df185bf4..b3fafa4fef 100644 --- a/kubernetes/client/models/v1beta1_ingress_status.py +++ b/kubernetes/client/models/v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_ingress_tls.py b/kubernetes/client/models/v1beta1_ingress_tls.py index c7369c73ff..d2bcf013b2 100644 --- a/kubernetes/client/models/v1beta1_ingress_tls.py +++ b/kubernetes/client/models/v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_job.py b/kubernetes/client/models/v1beta1_job.py index 03536149f3..e36ca9f8a7 100644 --- a/kubernetes/client/models/v1beta1_job.py +++ b/kubernetes/client/models/v1beta1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1Job(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1Job - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1JobSpec', 'status': 'V1beta1JobStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1Job. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1Job. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1Job. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1Job. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_job_condition.py b/kubernetes/client/models/v1beta1_job_condition.py index 3cc3b09db6..3c108987ca 100644 --- a/kubernetes/client/models/v1beta1_job_condition.py +++ b/kubernetes/client/models/v1beta1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_job_list.py b/kubernetes/client/models/v1beta1_job_list.py index 9b81f9a342..d859fe7b5b 100644 --- a/kubernetes/client/models/v1beta1_job_list.py +++ b/kubernetes/client/models/v1beta1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1JobList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1JobList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1Job]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1JobList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1JobList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1JobList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1JobList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_job_spec.py b/kubernetes/client/models/v1beta1_job_spec.py index d32db61548..41965bc6e5 100644 --- a/kubernetes/client/models/v1beta1_job_spec.py +++ b/kubernetes/client/models/v1beta1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_job_status.py b/kubernetes/client/models/v1beta1_job_status.py index 95e6a711eb..5597945f0e 100644 --- a/kubernetes/client/models/v1beta1_job_status.py +++ b/kubernetes/client/models/v1beta1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_local_subject_access_review.py b/kubernetes/client/models/v1beta1_local_subject_access_review.py index ce0878481d..f0d5ad6db9 100644 --- a/kubernetes/client/models/v1beta1_local_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1LocalSubjectAccessReview(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1LocalSubjectAccessReview - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1SubjectAccessReviewSpec', 'status': 'V1beta1SubjectAccessReviewStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1LocalSubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1LocalSubjectAccessReview. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1LocalSubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1LocalSubjectAccessReview. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1LocalSubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1LocalSubjectAccessReview. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1LocalSubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1LocalSubjectAccessReview. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy.py b/kubernetes/client/models/v1beta1_network_policy.py index 9262683f4c..8181b69c69 100644 --- a/kubernetes/client/models/v1beta1_network_policy.py +++ b/kubernetes/client/models/v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1NetworkPolicy(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None): """ V1beta1NetworkPolicy - a model defined in Swagger @@ -42,19 +42,71 @@ def __init__(self, metadata=None, spec=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1NetworkPolicySpec' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec + @property + def api_version(self): + """ + Gets the api_version of this V1beta1NetworkPolicy. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1NetworkPolicy. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1NetworkPolicy. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1NetworkPolicy. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1NetworkPolicy. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1NetworkPolicy. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1NetworkPolicy. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1NetworkPolicy. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py index 803aa579b1..927d8ee0c6 100644 --- a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_network_policy_list.py b/kubernetes/client/models/v1beta1_network_policy_list.py index bac0b6e8b2..cffd518333 100644 --- a/kubernetes/client/models/v1beta1_network_policy_list.py +++ b/kubernetes/client/models/v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1NetworkPolicyList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1NetworkPolicyList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1NetworkPolicy]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1NetworkPolicyList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1NetworkPolicyList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1NetworkPolicyList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1NetworkPolicyList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1NetworkPolicyList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1NetworkPolicyList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1NetworkPolicyList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1NetworkPolicyList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_peer.py b/kubernetes/client/models/v1beta1_network_policy_peer.py index 5846d105e0..eaff846287 100644 --- a/kubernetes/client/models/v1beta1_network_policy_peer.py +++ b/kubernetes/client/models/v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_network_policy_port.py b/kubernetes/client/models/v1beta1_network_policy_port.py index 471d0ad5b0..b789596539 100644 --- a/kubernetes/client/models/v1beta1_network_policy_port.py +++ b/kubernetes/client/models/v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_network_policy_spec.py b/kubernetes/client/models/v1beta1_network_policy_spec.py index a3d5503355..b862a5a1da 100644 --- a/kubernetes/client/models/v1beta1_network_policy_spec.py +++ b/kubernetes/client/models/v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_non_resource_attributes.py b/kubernetes/client/models/v1beta1_non_resource_attributes.py index 30ce6e1676..3b26bcda29 100644 --- a/kubernetes/client/models/v1beta1_non_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget.py b/kubernetes/client/models/v1beta1_pod_disruption_budget.py index 0a684dd715..e09b98a797 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1PodDisruptionBudget(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1PodDisruptionBudget - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1PodDisruptionBudgetSpec', 'status': 'V1beta1PodDisruptionBudgetStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1PodDisruptionBudget. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1PodDisruptionBudget. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1PodDisruptionBudget. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1PodDisruptionBudget. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1PodDisruptionBudget. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1PodDisruptionBudget. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1PodDisruptionBudget. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1PodDisruptionBudget. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py index 4f2cbb23ad..61e2e99ca9 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1PodDisruptionBudgetList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1PodDisruptionBudgetList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1PodDisruptionBudget]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1PodDisruptionBudgetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1PodDisruptionBudgetList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1PodDisruptionBudgetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1PodDisruptionBudgetList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1PodDisruptionBudgetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1PodDisruptionBudgetList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1PodDisruptionBudgetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1PodDisruptionBudgetList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py index cd231b65b0..fef2d6064c 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py index 2e9a12acf4..84b98bb2d3 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_replica_set.py b/kubernetes/client/models/v1beta1_replica_set.py index 6301c384c7..3f283a762c 100644 --- a/kubernetes/client/models/v1beta1_replica_set.py +++ b/kubernetes/client/models/v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1ReplicaSet(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1ReplicaSet - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1ReplicaSetSpec', 'status': 'V1beta1ReplicaSetStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1ReplicaSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1ReplicaSet. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1ReplicaSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1ReplicaSet. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1ReplicaSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1ReplicaSet. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1ReplicaSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1ReplicaSet. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_condition.py b/kubernetes/client/models/v1beta1_replica_set_condition.py index 613204e018..bd9d6bbe9f 100644 --- a/kubernetes/client/models/v1beta1_replica_set_condition.py +++ b/kubernetes/client/models/v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_replica_set_list.py b/kubernetes/client/models/v1beta1_replica_set_list.py index ad69be3819..2890b30a9a 100644 --- a/kubernetes/client/models/v1beta1_replica_set_list.py +++ b/kubernetes/client/models/v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1ReplicaSetList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1ReplicaSetList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1ReplicaSet]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1ReplicaSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1ReplicaSetList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1ReplicaSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1ReplicaSetList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1ReplicaSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1ReplicaSetList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1ReplicaSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1ReplicaSetList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_spec.py b/kubernetes/client/models/v1beta1_replica_set_spec.py index 8dcc69b73a..0a5934c700 100644 --- a/kubernetes/client/models/v1beta1_replica_set_spec.py +++ b/kubernetes/client/models/v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_replica_set_status.py b/kubernetes/client/models/v1beta1_replica_set_status.py index 1fa1732065..fd78192db7 100644 --- a/kubernetes/client/models/v1beta1_replica_set_status.py +++ b/kubernetes/client/models/v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_resource_attributes.py b/kubernetes/client/models/v1beta1_resource_attributes.py index b1681e2a87..71f77054f8 100644 --- a/kubernetes/client/models/v1beta1_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_rollback_config.py b/kubernetes/client/models/v1beta1_rollback_config.py index acad0ae961..ed3c3a910d 100644 --- a/kubernetes/client/models/v1beta1_rollback_config.py +++ b/kubernetes/client/models/v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_rolling_update_deployment.py b/kubernetes/client/models/v1beta1_rolling_update_deployment.py index 239d35799a..ab7cd7c8b5 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_scale.py b/kubernetes/client/models/v1beta1_scale.py index 652b6f468b..1d0e8eaaab 100644 --- a/kubernetes/client/models/v1beta1_scale.py +++ b/kubernetes/client/models/v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1Scale(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1Scale - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1ScaleSpec', 'status': 'V1beta1ScaleStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1Scale. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1Scale. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1Scale. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1Scale. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1Scale. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1Scale. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1Scale. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1Scale. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_scale_spec.py b/kubernetes/client/models/v1beta1_scale_spec.py index 271e6cf366..3dda9adbbc 100644 --- a/kubernetes/client/models/v1beta1_scale_spec.py +++ b/kubernetes/client/models/v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_scale_status.py b/kubernetes/client/models/v1beta1_scale_status.py index 04ceb561ac..c85830b604 100644 --- a/kubernetes/client/models/v1beta1_scale_status.py +++ b/kubernetes/client/models/v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review.py b/kubernetes/client/models/v1beta1_self_subject_access_review.py index b75e08ab9b..d8fefb88db 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1SelfSubjectAccessReview(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1SelfSubjectAccessReview - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1SelfSubjectAccessReviewSpec', 'status': 'V1beta1SubjectAccessReviewStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1SelfSubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1SelfSubjectAccessReview. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1SelfSubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1SelfSubjectAccessReview. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1SelfSubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1SelfSubjectAccessReview. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1SelfSubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1SelfSubjectAccessReview. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py index 1acf2dd27e..41ace76b9e 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_stateful_set.py b/kubernetes/client/models/v1beta1_stateful_set.py index 9599f3bb9a..7f3d51a9e8 100644 --- a/kubernetes/client/models/v1beta1_stateful_set.py +++ b/kubernetes/client/models/v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1StatefulSet(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1StatefulSet - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1StatefulSetSpec', 'status': 'V1beta1StatefulSetStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1StatefulSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1StatefulSet. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1StatefulSet. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1StatefulSet. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1StatefulSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1StatefulSet. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1StatefulSet. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1StatefulSet. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_list.py b/kubernetes/client/models/v1beta1_stateful_set_list.py index 096f337af2..a6a5b51f8a 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_list.py +++ b/kubernetes/client/models/v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1StatefulSetList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1StatefulSetList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1StatefulSet]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1StatefulSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1StatefulSetList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1StatefulSetList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1StatefulSetList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1StatefulSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1StatefulSetList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1StatefulSetList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1StatefulSetList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_spec.py b/kubernetes/client/models/v1beta1_stateful_set_spec.py index 151ab21766..5a2dc13007 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_stateful_set_status.py b/kubernetes/client/models/v1beta1_stateful_set_status.py index fdd773ee18..4ca2b3f984 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_status.py +++ b/kubernetes/client/models/v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_storage_class.py b/kubernetes/client/models/v1beta1_storage_class.py index 57a8d44616..680d8b74e5 100644 --- a/kubernetes/client/models/v1beta1_storage_class.py +++ b/kubernetes/client/models/v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1StorageClass(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, parameters=None, provisioner=None): + def __init__(self, api_version=None, kind=None, metadata=None, parameters=None, provisioner=None): """ V1beta1StorageClass - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, parameters=None, provisioner=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'parameters': 'dict(str, str)', 'provisioner': 'str' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'parameters': 'parameters', 'provisioner': 'provisioner' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._parameters = parameters self._provisioner = provisioner + @property + def api_version(self): + """ + Gets the api_version of this V1beta1StorageClass. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1StorageClass. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1StorageClass. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1StorageClass. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1StorageClass. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1StorageClass. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1StorageClass. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1StorageClass. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_storage_class_list.py b/kubernetes/client/models/v1beta1_storage_class_list.py index 6b521a0650..2245b2743c 100644 --- a/kubernetes/client/models/v1beta1_storage_class_list.py +++ b/kubernetes/client/models/v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1StorageClassList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1StorageClassList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1StorageClass]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1StorageClassList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1StorageClassList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1StorageClassList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1StorageClassList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1StorageClassList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1StorageClassList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1StorageClassList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1StorageClassList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review.py b/kubernetes/client/models/v1beta1_subject_access_review.py index 27a78d68c5..0cfccdbfdc 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1SubjectAccessReview(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1SubjectAccessReview - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1SubjectAccessReviewSpec', 'status': 'V1beta1SubjectAccessReviewStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1SubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1SubjectAccessReview. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1SubjectAccessReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1SubjectAccessReview. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1SubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1SubjectAccessReview. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1SubjectAccessReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1SubjectAccessReview. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_subject_access_review_spec.py index 710c581365..a0eaa55006 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_subject_access_review_status.py b/kubernetes/client/models/v1beta1_subject_access_review_status.py index 70fd33337f..88ade63f1b 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_subresource_reference.py b/kubernetes/client/models/v1beta1_subresource_reference.py index be0d85f67a..3ef2b86628 100644 --- a/kubernetes/client/models/v1beta1_subresource_reference.py +++ b/kubernetes/client/models/v1beta1_subresource_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_third_party_resource.py b/kubernetes/client/models/v1beta1_third_party_resource.py index 2f2b1d9b70..641a4f35ca 100644 --- a/kubernetes/client/models/v1beta1_third_party_resource.py +++ b/kubernetes/client/models/v1beta1_third_party_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1ThirdPartyResource(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, description=None, metadata=None, versions=None): + def __init__(self, api_version=None, description=None, kind=None, metadata=None, versions=None): """ V1beta1ThirdPartyResource - a model defined in Swagger @@ -42,22 +42,51 @@ def __init__(self, description=None, metadata=None, versions=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'description': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'versions': 'list[V1beta1APIVersion]' } self.attribute_map = { + 'api_version': 'apiVersion', 'description': 'description', + 'kind': 'kind', 'metadata': 'metadata', 'versions': 'versions' } + self._api_version = api_version self._description = description + self._kind = kind self._metadata = metadata self._versions = versions + @property + def api_version(self): + """ + Gets the api_version of this V1beta1ThirdPartyResource. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1ThirdPartyResource. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1ThirdPartyResource. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1ThirdPartyResource. + :type: str + """ + + self._api_version = api_version + @property def description(self): """ @@ -81,6 +110,29 @@ def description(self, description): self._description = description + @property + def kind(self): + """ + Gets the kind of this V1beta1ThirdPartyResource. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1ThirdPartyResource. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1ThirdPartyResource. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1ThirdPartyResource. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_third_party_resource_list.py b/kubernetes/client/models/v1beta1_third_party_resource_list.py index d07b589a66..33eac7b398 100644 --- a/kubernetes/client/models/v1beta1_third_party_resource_list.py +++ b/kubernetes/client/models/v1beta1_third_party_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1ThirdPartyResourceList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V1beta1ThirdPartyResourceList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V1beta1ThirdPartyResource]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V1beta1ThirdPartyResourceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1ThirdPartyResourceList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1ThirdPartyResourceList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1ThirdPartyResourceList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V1beta1ThirdPartyResourceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1ThirdPartyResourceList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1ThirdPartyResourceList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1ThirdPartyResourceList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_token_review.py b/kubernetes/client/models/v1beta1_token_review.py index 1151d4b7cc..088ca7c397 100644 --- a/kubernetes/client/models/v1beta1_token_review.py +++ b/kubernetes/client/models/v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V1beta1TokenReview(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V1beta1TokenReview - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V1beta1TokenReviewSpec', 'status': 'V1beta1TokenReviewStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V1beta1TokenReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V1beta1TokenReview. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V1beta1TokenReview. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V1beta1TokenReview. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V1beta1TokenReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V1beta1TokenReview. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V1beta1TokenReview. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V1beta1TokenReview. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v1beta1_token_review_spec.py b/kubernetes/client/models/v1beta1_token_review_spec.py index f7c5715f9f..d8553e4013 100644 --- a/kubernetes/client/models/v1beta1_token_review_spec.py +++ b/kubernetes/client/models/v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_token_review_status.py b/kubernetes/client/models/v1beta1_token_review_status.py index 35f447481c..726efafa0a 100644 --- a/kubernetes/client/models/v1beta1_token_review_status.py +++ b/kubernetes/client/models/v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v1beta1_user_info.py b/kubernetes/client/models/v1beta1_user_info.py index 9c8b47e272..18e39f50b3 100644 --- a/kubernetes/client/models/v1beta1_user_info.py +++ b/kubernetes/client/models/v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_cron_job.py b/kubernetes/client/models/v2alpha1_cron_job.py index 3af5e24d5b..5a7b178560 100644 --- a/kubernetes/client/models/v2alpha1_cron_job.py +++ b/kubernetes/client/models/v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V2alpha1CronJob(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V2alpha1CronJob - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V2alpha1CronJobSpec', 'status': 'V2alpha1CronJobStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V2alpha1CronJob. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V2alpha1CronJob. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V2alpha1CronJob. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V2alpha1CronJob. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V2alpha1CronJob. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V2alpha1CronJob. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V2alpha1CronJob. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V2alpha1CronJob. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_list.py b/kubernetes/client/models/v2alpha1_cron_job_list.py index 7324879f9b..382b01cf2d 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_list.py +++ b/kubernetes/client/models/v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V2alpha1CronJobList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V2alpha1CronJobList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V2alpha1CronJob]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V2alpha1CronJobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V2alpha1CronJobList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V2alpha1CronJobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V2alpha1CronJobList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V2alpha1CronJobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V2alpha1CronJobList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V2alpha1CronJobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V2alpha1CronJobList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_spec.py b/kubernetes/client/models/v2alpha1_cron_job_spec.py index cfa567bb42..95a0eb8bef 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_spec.py +++ b/kubernetes/client/models/v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_cron_job_status.py b/kubernetes/client/models/v2alpha1_cron_job_status.py index 40d574efb0..10fa4522b0 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_status.py +++ b/kubernetes/client/models/v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_job.py b/kubernetes/client/models/v2alpha1_job.py index b37314cb58..0a4da7aaf2 100644 --- a/kubernetes/client/models/v2alpha1_job.py +++ b/kubernetes/client/models/v2alpha1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V2alpha1Job(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, metadata=None, spec=None, status=None): + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None): """ V2alpha1Job - a model defined in Swagger @@ -42,22 +42,74 @@ def __init__(self, metadata=None, spec=None, status=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', + 'kind': 'str', 'metadata': 'V1ObjectMeta', 'spec': 'V2alpha1JobSpec', 'status': 'V2alpha1JobStatus' } self.attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', 'metadata': 'metadata', 'spec': 'spec', 'status': 'status' } + self._api_version = api_version + self._kind = kind self._metadata = metadata self._spec = spec self._status = status + @property + def api_version(self): + """ + Gets the api_version of this V2alpha1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V2alpha1Job. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V2alpha1Job. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V2alpha1Job. + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """ + Gets the kind of this V2alpha1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V2alpha1Job. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V2alpha1Job. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V2alpha1Job. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_condition.py b/kubernetes/client/models/v2alpha1_job_condition.py index 4d3b935de8..dfedd95c1d 100644 --- a/kubernetes/client/models/v2alpha1_job_condition.py +++ b/kubernetes/client/models/v2alpha1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_job_list.py b/kubernetes/client/models/v2alpha1_job_list.py index d9f87d41d3..dc730fb1bd 100644 --- a/kubernetes/client/models/v2alpha1_job_list.py +++ b/kubernetes/client/models/v2alpha1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git @@ -32,7 +32,7 @@ class V2alpha1JobList(object): NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. """ - def __init__(self, items=None, metadata=None): + def __init__(self, api_version=None, items=None, kind=None, metadata=None): """ V2alpha1JobList - a model defined in Swagger @@ -42,19 +42,48 @@ def __init__(self, items=None, metadata=None): and the value is json key in definition. """ self.swagger_types = { + 'api_version': 'str', 'items': 'list[V2alpha1Job]', + 'kind': 'str', 'metadata': 'UnversionedListMeta' } self.attribute_map = { + 'api_version': 'apiVersion', 'items': 'items', + 'kind': 'kind', 'metadata': 'metadata' } + self._api_version = api_version self._items = items + self._kind = kind self._metadata = metadata + @property + def api_version(self): + """ + Gets the api_version of this V2alpha1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :return: The api_version of this V2alpha1JobList. + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """ + Sets the api_version of this V2alpha1JobList. + APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources + + :param api_version: The api_version of this V2alpha1JobList. + :type: str + """ + + self._api_version = api_version + @property def items(self): """ @@ -80,6 +109,29 @@ def items(self, items): self._items = items + @property + def kind(self): + """ + Gets the kind of this V2alpha1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :return: The kind of this V2alpha1JobList. + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """ + Sets the kind of this V2alpha1JobList. + Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds + + :param kind: The kind of this V2alpha1JobList. + :type: str + """ + + self._kind = kind + @property def metadata(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_spec.py b/kubernetes/client/models/v2alpha1_job_spec.py index 6f1bd38f37..c78606eb11 100644 --- a/kubernetes/client/models/v2alpha1_job_spec.py +++ b/kubernetes/client/models/v2alpha1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_job_status.py b/kubernetes/client/models/v2alpha1_job_status.py index 39f75953f3..270e6aa142 100644 --- a/kubernetes/client/models/v2alpha1_job_status.py +++ b/kubernetes/client/models/v2alpha1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/v2alpha1_job_template_spec.py b/kubernetes/client/models/v2alpha1_job_template_spec.py index 410f57a279..b640817577 100644 --- a/kubernetes/client/models/v2alpha1_job_template_spec.py +++ b/kubernetes/client/models/v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index f0baa8e015..297ce8e1fb 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/client/models/versioned_event.py b/kubernetes/client/models/versioned_event.py index 8fcad1c7f9..4a649b2456 100644 --- a/kubernetes/client/models/versioned_event.py +++ b/kubernetes/client/models/versioned_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/docs/UnversionedAPIGroup.md b/kubernetes/docs/UnversionedAPIGroup.md index b854a46ea6..b62de6d344 100644 --- a/kubernetes/docs/UnversionedAPIGroup.md +++ b/kubernetes/docs/UnversionedAPIGroup.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **name** | **str** | name is the name of the group. | **preferred_version** | [**UnversionedGroupVersionForDiscovery**](UnversionedGroupVersionForDiscovery.md) | preferredVersion is the version preferred by the API server, which probably is the storage version. | [optional] **server_address_by_client_cid_rs** | [**list[UnversionedServerAddressByClientCIDR]**](UnversionedServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. | diff --git a/kubernetes/docs/UnversionedAPIGroupList.md b/kubernetes/docs/UnversionedAPIGroupList.md index a21edf998c..d854a146f2 100644 --- a/kubernetes/docs/UnversionedAPIGroupList.md +++ b/kubernetes/docs/UnversionedAPIGroupList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **groups** | [**list[UnversionedAPIGroup]**](UnversionedAPIGroup.md) | groups is a list of APIGroup. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/UnversionedAPIResourceList.md b/kubernetes/docs/UnversionedAPIResourceList.md index 8af4e63ad5..1ce2b12848 100644 --- a/kubernetes/docs/UnversionedAPIResourceList.md +++ b/kubernetes/docs/UnversionedAPIResourceList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **group_version** | **str** | groupVersion is the group and version this APIResourceList is for. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **resources** | [**list[UnversionedAPIResource]**](UnversionedAPIResource.md) | resources contains the name of the resources and if they are namespaced. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/UnversionedAPIVersions.md b/kubernetes/docs/UnversionedAPIVersions.md index 2f4aa17b1a..2db4eff049 100644 --- a/kubernetes/docs/UnversionedAPIVersions.md +++ b/kubernetes/docs/UnversionedAPIVersions.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **server_address_by_client_cid_rs** | [**list[UnversionedServerAddressByClientCIDR]**](UnversionedServerAddressByClientCIDR.md) | a map of kubernetes.client CIDR to server address that is serving this group. This is to help kubernetes.clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, kubernetes.clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the kubernetes.client can match. For example: the master will return an internal IP CIDR only, if the kubernetes.client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the kubernetes.client IP. | **versions** | **list[str]** | versions are the api versions that are available. | diff --git a/kubernetes/docs/UnversionedStatus.md b/kubernetes/docs/UnversionedStatus.md index 6a82427775..695436c9c8 100644 --- a/kubernetes/docs/UnversionedStatus.md +++ b/kubernetes/docs/UnversionedStatus.md @@ -3,8 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **code** | **int** | Suggested HTTP return code for this status, 0 if not set. | [optional] **details** | [**UnversionedStatusDetails**](UnversionedStatusDetails.md) | Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **message** | **str** | A human-readable description of the status of this operation. | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **reason** | **str** | A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it. | [optional] diff --git a/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md b/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md new file mode 100644 index 0000000000..e64a043277 --- /dev/null +++ b/kubernetes/docs/V1AWSElasticBlockStoreVolumeSource.md @@ -0,0 +1,13 @@ +# V1AWSElasticBlockStoreVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**partition** | **int** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). | [optional] +**read_only** | **bool** | Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**volume_id** | **str** | Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1AzureDiskVolumeSource.md b/kubernetes/docs/V1AzureDiskVolumeSource.md new file mode 100644 index 0000000000..1d39289b9d --- /dev/null +++ b/kubernetes/docs/V1AzureDiskVolumeSource.md @@ -0,0 +1,14 @@ +# V1AzureDiskVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**caching_mode** | **str** | Host Caching mode: None, Read Only, Read Write. | [optional] +**disk_name** | **str** | The Name of the data disk in the blob storage | +**disk_uri** | **str** | The URI the data disk in the blob storage | +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**read_only** | **bool** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [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) + + diff --git a/kubernetes/docs/V1AzureFileVolumeSource.md b/kubernetes/docs/V1AzureFileVolumeSource.md new file mode 100644 index 0000000000..d07de5346d --- /dev/null +++ b/kubernetes/docs/V1AzureFileVolumeSource.md @@ -0,0 +1,12 @@ +# V1AzureFileVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**read_only** | **bool** | Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_name** | **str** | the name of secret that contains Azure Storage Account Name and Key | +**share_name** | **str** | Share Name | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1Binding.md b/kubernetes/docs/V1Binding.md index a5f37f2ce7..ec8598ace2 100644 --- a/kubernetes/docs/V1Binding.md +++ b/kubernetes/docs/V1Binding.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **target** | [**V1ObjectReference**](V1ObjectReference.md) | The target object that you want to bind to the standard object. | diff --git a/kubernetes/docs/V1CephFSVolumeSource.md b/kubernetes/docs/V1CephFSVolumeSource.md new file mode 100644 index 0000000000..25529610cd --- /dev/null +++ b/kubernetes/docs/V1CephFSVolumeSource.md @@ -0,0 +1,15 @@ +# V1CephFSVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**monitors** | **list[str]** | Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | +**path** | **str** | Optional: Used as the mounted root, rather than the full Ceph tree, default is / | [optional] +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secret_file** | **str** | Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [optional] +**user** | **str** | Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it | [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) + + diff --git a/kubernetes/docs/V1CinderVolumeSource.md b/kubernetes/docs/V1CinderVolumeSource.md new file mode 100644 index 0000000000..af097e2426 --- /dev/null +++ b/kubernetes/docs/V1CinderVolumeSource.md @@ -0,0 +1,12 @@ +# V1CinderVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**volume_id** | **str** | volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1ComponentStatus.md b/kubernetes/docs/V1ComponentStatus.md index 1c7b5700f9..3733c28b71 100644 --- a/kubernetes/docs/V1ComponentStatus.md +++ b/kubernetes/docs/V1ComponentStatus.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **conditions** | [**list[V1ComponentCondition]**](V1ComponentCondition.md) | List of component conditions observed | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1ComponentStatusList.md b/kubernetes/docs/V1ComponentStatusList.md index c4252bf5ee..9c7102390c 100644 --- a/kubernetes/docs/V1ComponentStatusList.md +++ b/kubernetes/docs/V1ComponentStatusList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ComponentStatus]**](V1ComponentStatus.md) | List of ComponentStatus objects. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1ConfigMap.md b/kubernetes/docs/V1ConfigMap.md index 6bbced44a9..bc9547fdc9 100644 --- a/kubernetes/docs/V1ConfigMap.md +++ b/kubernetes/docs/V1ConfigMap.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **data** | **dict(str, str)** | Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1ConfigMapKeySelector.md b/kubernetes/docs/V1ConfigMapKeySelector.md index 577d8a552c..1983b68526 100644 --- a/kubernetes/docs/V1ConfigMapKeySelector.md +++ b/kubernetes/docs/V1ConfigMapKeySelector.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **key** | **str** | The key to select. | +**name** | **str** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [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) diff --git a/kubernetes/docs/V1ConfigMapList.md b/kubernetes/docs/V1ConfigMapList.md index 3ea3965c62..aa7f3f80da 100644 --- a/kubernetes/docs/V1ConfigMapList.md +++ b/kubernetes/docs/V1ConfigMapList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ConfigMap]**](V1ConfigMap.md) | Items is the list of ConfigMaps. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1ConfigMapVolumeSource.md b/kubernetes/docs/V1ConfigMapVolumeSource.md new file mode 100644 index 0000000000..7cadfedf59 --- /dev/null +++ b/kubernetes/docs/V1ConfigMapVolumeSource.md @@ -0,0 +1,12 @@ +# V1ConfigMapVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_mode** | **int** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] +**items** | [**list[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] +**name** | **str** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [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) + + diff --git a/kubernetes/docs/V1DeleteOptions.md b/kubernetes/docs/V1DeleteOptions.md index 44e40b7b76..1f3ee9ce5c 100644 --- a/kubernetes/docs/V1DeleteOptions.md +++ b/kubernetes/docs/V1DeleteOptions.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **grace_period_seconds** | **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] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **orphan_dependents** | **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] **preconditions** | [**V1Preconditions**](V1Preconditions.md) | Must be fulfilled before a deletion is carried out. If not possible, a 409 Conflict status will be returned. | [optional] diff --git a/kubernetes/docs/V1DownwardAPIVolumeFile.md b/kubernetes/docs/V1DownwardAPIVolumeFile.md new file mode 100644 index 0000000000..b82c019dcd --- /dev/null +++ b/kubernetes/docs/V1DownwardAPIVolumeFile.md @@ -0,0 +1,13 @@ +# V1DownwardAPIVolumeFile + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**field_ref** | [**V1ObjectFieldSelector**](V1ObjectFieldSelector.md) | Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. | [optional] +**mode** | **int** | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] +**path** | **str** | Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' | +**resource_field_ref** | [**V1ResourceFieldSelector**](V1ResourceFieldSelector.md) | Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. | [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) + + diff --git a/kubernetes/docs/V1DownwardAPIVolumeSource.md b/kubernetes/docs/V1DownwardAPIVolumeSource.md new file mode 100644 index 0000000000..39866b186a --- /dev/null +++ b/kubernetes/docs/V1DownwardAPIVolumeSource.md @@ -0,0 +1,11 @@ +# V1DownwardAPIVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_mode** | **int** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] +**items** | [**list[V1DownwardAPIVolumeFile]**](V1DownwardAPIVolumeFile.md) | Items is a list of downward API volume file | [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) + + diff --git a/kubernetes/docs/V1EmptyDirVolumeSource.md b/kubernetes/docs/V1EmptyDirVolumeSource.md new file mode 100644 index 0000000000..57cc9f7275 --- /dev/null +++ b/kubernetes/docs/V1EmptyDirVolumeSource.md @@ -0,0 +1,10 @@ +# V1EmptyDirVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**medium** | **str** | What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [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) + + diff --git a/kubernetes/docs/V1Endpoints.md b/kubernetes/docs/V1Endpoints.md index 69aca30af1..3e05d60b6c 100644 --- a/kubernetes/docs/V1Endpoints.md +++ b/kubernetes/docs/V1Endpoints.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **subsets** | [**list[V1EndpointSubset]**](V1EndpointSubset.md) | The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service. | diff --git a/kubernetes/docs/V1EndpointsList.md b/kubernetes/docs/V1EndpointsList.md index 20fa1ee3f3..9ca43ef423 100644 --- a/kubernetes/docs/V1EndpointsList.md +++ b/kubernetes/docs/V1EndpointsList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Endpoints]**](V1Endpoints.md) | List of endpoints. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1Event.md b/kubernetes/docs/V1Event.md index 855e6034c3..bcb8e2671f 100644 --- a/kubernetes/docs/V1Event.md +++ b/kubernetes/docs/V1Event.md @@ -3,9 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **count** | **int** | The number of times this event has occurred. | [optional] **first_timestamp** | [**UnversionedTime**](UnversionedTime.md) | The time at which the event was first recorded. (Time of server receipt is in TypeMeta.) | [optional] **involved_object** | [**V1ObjectReference**](V1ObjectReference.md) | The object that this event is about. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **last_timestamp** | [**UnversionedTime**](UnversionedTime.md) | The time at which the most recent occurrence of this event was recorded. | [optional] **message** | **str** | A human-readable description of the status of this operation. | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | diff --git a/kubernetes/docs/V1EventList.md b/kubernetes/docs/V1EventList.md index 16b78ef666..16574820ee 100644 --- a/kubernetes/docs/V1EventList.md +++ b/kubernetes/docs/V1EventList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Event]**](V1Event.md) | List of events | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1FCVolumeSource.md b/kubernetes/docs/V1FCVolumeSource.md new file mode 100644 index 0000000000..917b67673e --- /dev/null +++ b/kubernetes/docs/V1FCVolumeSource.md @@ -0,0 +1,13 @@ +# V1FCVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**lun** | **int** | Required: FC target lun number | +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**target_ww_ns** | **list[str]** | Required: FC target worldwide names (WWNs) | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1FlexVolumeSource.md b/kubernetes/docs/V1FlexVolumeSource.md new file mode 100644 index 0000000000..5dde69d8e2 --- /dev/null +++ b/kubernetes/docs/V1FlexVolumeSource.md @@ -0,0 +1,14 @@ +# V1FlexVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**driver** | **str** | Driver is the name of the driver to use for this volume. | +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script. | [optional] +**options** | **dict(str, str)** | Optional: Extra command options if any. | [optional] +**read_only** | **bool** | Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. | [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) + + diff --git a/kubernetes/docs/V1FlockerVolumeSource.md b/kubernetes/docs/V1FlockerVolumeSource.md new file mode 100644 index 0000000000..7af9a9e77c --- /dev/null +++ b/kubernetes/docs/V1FlockerVolumeSource.md @@ -0,0 +1,11 @@ +# V1FlockerVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dataset_name** | **str** | Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated | [optional] +**dataset_uuid** | **str** | UUID of the dataset. This is unique identifier of a Flocker dataset | [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) + + diff --git a/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md b/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md new file mode 100644 index 0000000000..13b9e575f2 --- /dev/null +++ b/kubernetes/docs/V1GCEPersistentDiskVolumeSource.md @@ -0,0 +1,13 @@ +# V1GCEPersistentDiskVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**partition** | **int** | The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**pd_name** | **str** | Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | +**read_only** | **bool** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [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) + + diff --git a/kubernetes/docs/V1GitRepoVolumeSource.md b/kubernetes/docs/V1GitRepoVolumeSource.md new file mode 100644 index 0000000000..9932bca14d --- /dev/null +++ b/kubernetes/docs/V1GitRepoVolumeSource.md @@ -0,0 +1,12 @@ +# V1GitRepoVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**directory** | **str** | Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. | [optional] +**repository** | **str** | Repository URL | +**revision** | **str** | Commit hash for the specified revision. | [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) + + diff --git a/kubernetes/docs/V1GlusterfsVolumeSource.md b/kubernetes/docs/V1GlusterfsVolumeSource.md new file mode 100644 index 0000000000..3dad5d2a2b --- /dev/null +++ b/kubernetes/docs/V1GlusterfsVolumeSource.md @@ -0,0 +1,12 @@ +# V1GlusterfsVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**endpoints** | **str** | EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**path** | **str** | Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | +**read_only** | **bool** | ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod | [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) + + diff --git a/kubernetes/docs/V1HorizontalPodAutoscaler.md b/kubernetes/docs/V1HorizontalPodAutoscaler.md index 1530d44c76..1030b5841e 100644 --- a/kubernetes/docs/V1HorizontalPodAutoscaler.md +++ b/kubernetes/docs/V1HorizontalPodAutoscaler.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1HorizontalPodAutoscalerSpec**](V1HorizontalPodAutoscalerSpec.md) | behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] **status** | [**V1HorizontalPodAutoscalerStatus**](V1HorizontalPodAutoscalerStatus.md) | current information about the autoscaler. | [optional] diff --git a/kubernetes/docs/V1HorizontalPodAutoscalerList.md b/kubernetes/docs/V1HorizontalPodAutoscalerList.md index 6339bced85..8aaf8ee10e 100644 --- a/kubernetes/docs/V1HorizontalPodAutoscalerList.md +++ b/kubernetes/docs/V1HorizontalPodAutoscalerList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1HorizontalPodAutoscaler]**](V1HorizontalPodAutoscaler.md) | list of horizontal pod autoscaler objects. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. | [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) diff --git a/kubernetes/docs/V1HostPathVolumeSource.md b/kubernetes/docs/V1HostPathVolumeSource.md new file mode 100644 index 0000000000..74280b48d7 --- /dev/null +++ b/kubernetes/docs/V1HostPathVolumeSource.md @@ -0,0 +1,10 @@ +# V1HostPathVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **str** | Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1ISCSIVolumeSource.md b/kubernetes/docs/V1ISCSIVolumeSource.md new file mode 100644 index 0000000000..dd3b74b852 --- /dev/null +++ b/kubernetes/docs/V1ISCSIVolumeSource.md @@ -0,0 +1,15 @@ +# V1ISCSIVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi | [optional] +**iqn** | **str** | Target iSCSI Qualified Name. | +**iscsi_interface** | **str** | Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport. | [optional] +**lun** | **int** | iSCSI target lun number. | +**read_only** | **bool** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. | [optional] +**target_portal** | **str** | iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260). | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1Job.md b/kubernetes/docs/V1Job.md index 8a758d9697..8bbaed8a73 100644 --- a/kubernetes/docs/V1Job.md +++ b/kubernetes/docs/V1Job.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1JobSpec**](V1JobSpec.md) | Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1JobStatus**](V1JobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1JobList.md b/kubernetes/docs/V1JobList.md index 4d68482be7..9268e0909c 100644 --- a/kubernetes/docs/V1JobList.md +++ b/kubernetes/docs/V1JobList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Job]**](V1Job.md) | Items is the list of Job. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1KeyToPath.md b/kubernetes/docs/V1KeyToPath.md new file mode 100644 index 0000000000..0affd944a3 --- /dev/null +++ b/kubernetes/docs/V1KeyToPath.md @@ -0,0 +1,12 @@ +# V1KeyToPath + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key** | **str** | The key to project. | +**mode** | **int** | Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] +**path** | **str** | The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1LimitRange.md b/kubernetes/docs/V1LimitRange.md index 5fba5a773d..3392ec3f18 100644 --- a/kubernetes/docs/V1LimitRange.md +++ b/kubernetes/docs/V1LimitRange.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1LimitRangeSpec**](V1LimitRangeSpec.md) | Spec defines the limits enforced. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1LimitRangeList.md b/kubernetes/docs/V1LimitRangeList.md index 4905ee8fcd..6c9dd311ad 100644 --- a/kubernetes/docs/V1LimitRangeList.md +++ b/kubernetes/docs/V1LimitRangeList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1LimitRange]**](V1LimitRange.md) | Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1NFSVolumeSource.md b/kubernetes/docs/V1NFSVolumeSource.md new file mode 100644 index 0000000000..153fbe9253 --- /dev/null +++ b/kubernetes/docs/V1NFSVolumeSource.md @@ -0,0 +1,12 @@ +# V1NFSVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**path** | **str** | Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | +**read_only** | **bool** | ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] +**server** | **str** | Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1Namespace.md b/kubernetes/docs/V1Namespace.md index fde5ff029d..10085b338a 100644 --- a/kubernetes/docs/V1Namespace.md +++ b/kubernetes/docs/V1Namespace.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1NamespaceSpec**](V1NamespaceSpec.md) | Spec defines the behavior of the Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1NamespaceStatus**](V1NamespaceStatus.md) | Status describes the current status of a Namespace. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1NamespaceList.md b/kubernetes/docs/V1NamespaceList.md index c7c1486117..f48ebd54b7 100644 --- a/kubernetes/docs/V1NamespaceList.md +++ b/kubernetes/docs/V1NamespaceList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Namespace]**](V1Namespace.md) | Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1Node.md b/kubernetes/docs/V1Node.md index 6e6c2afff2..71895b0d68 100644 --- a/kubernetes/docs/V1Node.md +++ b/kubernetes/docs/V1Node.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1NodeSpec**](V1NodeSpec.md) | Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1NodeStatus**](V1NodeStatus.md) | Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1NodeList.md b/kubernetes/docs/V1NodeList.md index 8eb63ab0a1..e959267c48 100644 --- a/kubernetes/docs/V1NodeList.md +++ b/kubernetes/docs/V1NodeList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Node]**](V1Node.md) | List of nodes | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1PersistentVolume.md b/kubernetes/docs/V1PersistentVolume.md index 2812b35ce5..58b7b4a204 100644 --- a/kubernetes/docs/V1PersistentVolume.md +++ b/kubernetes/docs/V1PersistentVolume.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1PersistentVolumeSpec**](V1PersistentVolumeSpec.md) | Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional] **status** | [**V1PersistentVolumeStatus**](V1PersistentVolumeStatus.md) | Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaim.md b/kubernetes/docs/V1PersistentVolumeClaim.md index aff0da863f..84647adaa9 100644 --- a/kubernetes/docs/V1PersistentVolumeClaim.md +++ b/kubernetes/docs/V1PersistentVolumeClaim.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1PersistentVolumeClaimSpec**](V1PersistentVolumeClaimSpec.md) | Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] **status** | [**V1PersistentVolumeClaimStatus**](V1PersistentVolumeClaimStatus.md) | Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] diff --git a/kubernetes/docs/V1PersistentVolumeClaimList.md b/kubernetes/docs/V1PersistentVolumeClaimList.md index 711a6a01ab..5365a34a33 100644 --- a/kubernetes/docs/V1PersistentVolumeClaimList.md +++ b/kubernetes/docs/V1PersistentVolumeClaimList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1PersistentVolumeClaim]**](V1PersistentVolumeClaim.md) | A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md b/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md new file mode 100644 index 0000000000..f6a9199a40 --- /dev/null +++ b/kubernetes/docs/V1PersistentVolumeClaimVolumeSource.md @@ -0,0 +1,11 @@ +# V1PersistentVolumeClaimVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**claim_name** | **str** | ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | +**read_only** | **bool** | Will force the ReadOnly setting in VolumeMounts. Default false. | [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) + + diff --git a/kubernetes/docs/V1PersistentVolumeList.md b/kubernetes/docs/V1PersistentVolumeList.md index 8e990f4fcf..674f3be98a 100644 --- a/kubernetes/docs/V1PersistentVolumeList.md +++ b/kubernetes/docs/V1PersistentVolumeList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1PersistentVolume]**](V1PersistentVolume.md) | List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1PersistentVolumeSpec.md b/kubernetes/docs/V1PersistentVolumeSpec.md index c2380ef1ba..0359439d62 100644 --- a/kubernetes/docs/V1PersistentVolumeSpec.md +++ b/kubernetes/docs/V1PersistentVolumeSpec.md @@ -4,9 +4,26 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_modes** | **list[str]** | AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes | [optional] +**aws_elastic_block_store** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**azure_disk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional] +**azure_file** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] **capacity** | [**dict(str, ResourceQuantity)**](ResourceQuantity.md) | A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity | [optional] +**cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] +**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] **claim_ref** | [**V1ObjectReference**](V1ObjectReference.md) | ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding | [optional] +**fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] +**flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] +**flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running | [optional] +**gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional] +**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. | [optional] +**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] **persistent_volume_reclaim_policy** | **str** | What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy | [optional] +**photon_persistent_disk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional] +**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional] +**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] +**vsphere_volume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [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) diff --git a/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md b/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md new file mode 100644 index 0000000000..9442165cf2 --- /dev/null +++ b/kubernetes/docs/V1PhotonPersistentDiskVolumeSource.md @@ -0,0 +1,11 @@ +# V1PhotonPersistentDiskVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**pd_id** | **str** | ID that identifies Photon Controller persistent disk | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1Pod.md b/kubernetes/docs/V1Pod.md index 8083e1c568..142febf5c7 100644 --- a/kubernetes/docs/V1Pod.md +++ b/kubernetes/docs/V1Pod.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1PodSpec**](V1PodSpec.md) | Specification of the desired behavior of the pod. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1PodStatus**](V1PodStatus.md) | Most recently observed status of the pod. This data may not be up to date. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1PodList.md b/kubernetes/docs/V1PodList.md index ab3f438601..3a5b708ef0 100644 --- a/kubernetes/docs/V1PodList.md +++ b/kubernetes/docs/V1PodList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Pod]**](V1Pod.md) | List of pods. More info: http://kubernetes.io/docs/user-guide/pods | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1PodTemplate.md b/kubernetes/docs/V1PodTemplate.md index 550b0276a4..d39ccb8017 100644 --- a/kubernetes/docs/V1PodTemplate.md +++ b/kubernetes/docs/V1PodTemplate.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **template** | [**V1PodTemplateSpec**](V1PodTemplateSpec.md) | Template defines the pods that will be created from this pod template. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1PodTemplateList.md b/kubernetes/docs/V1PodTemplateList.md index 1b28f3b049..1809758680 100644 --- a/kubernetes/docs/V1PodTemplateList.md +++ b/kubernetes/docs/V1PodTemplateList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1PodTemplate]**](V1PodTemplate.md) | List of pod templates | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1Probe.md b/kubernetes/docs/V1Probe.md index cdd40575a8..1913248ce5 100644 --- a/kubernetes/docs/V1Probe.md +++ b/kubernetes/docs/V1Probe.md @@ -3,10 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**_exec** | [**V1ExecAction**](V1ExecAction.md) | One and only one of the following should be specified. Exec specifies the action to take. | [optional] **failure_threshold** | **int** | Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. | [optional] +**http_get** | [**V1HTTPGetAction**](V1HTTPGetAction.md) | HTTPGet specifies the http request to perform. | [optional] **initial_delay_seconds** | **int** | Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [optional] **period_seconds** | **int** | How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. | [optional] **success_threshold** | **int** | Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. | [optional] +**tcp_socket** | [**V1TCPSocketAction**](V1TCPSocketAction.md) | TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported | [optional] **timeout_seconds** | **int** | Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes | [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) diff --git a/kubernetes/docs/V1QuobyteVolumeSource.md b/kubernetes/docs/V1QuobyteVolumeSource.md new file mode 100644 index 0000000000..c92056fc49 --- /dev/null +++ b/kubernetes/docs/V1QuobyteVolumeSource.md @@ -0,0 +1,14 @@ +# V1QuobyteVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group** | **str** | Group to map volume access to Default is no group | [optional] +**read_only** | **bool** | ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false. | [optional] +**registry** | **str** | Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes | +**user** | **str** | User to map volume access to Defaults to serivceaccount user | [optional] +**volume** | **str** | Volume is a string that references an already created Quobyte volume by name. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1RBDVolumeSource.md b/kubernetes/docs/V1RBDVolumeSource.md new file mode 100644 index 0000000000..47f4b03738 --- /dev/null +++ b/kubernetes/docs/V1RBDVolumeSource.md @@ -0,0 +1,17 @@ +# V1RBDVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd | [optional] +**image** | **str** | The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**keyring** | **str** | Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**monitors** | **list[str]** | A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | +**pool** | **str** | The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it. | [optional] +**read_only** | **bool** | ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**secret_ref** | [**V1LocalObjectReference**](V1LocalObjectReference.md) | SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [optional] +**user** | **str** | The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it | [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) + + diff --git a/kubernetes/docs/V1ReplicationController.md b/kubernetes/docs/V1ReplicationController.md index 2c13ad1e55..6af9d6f5e8 100644 --- a/kubernetes/docs/V1ReplicationController.md +++ b/kubernetes/docs/V1ReplicationController.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1ReplicationControllerSpec**](V1ReplicationControllerSpec.md) | Spec defines the specification of the desired behavior of the replication controller. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1ReplicationControllerStatus**](V1ReplicationControllerStatus.md) | Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ReplicationControllerList.md b/kubernetes/docs/V1ReplicationControllerList.md index 49caf1956c..49f062e505 100644 --- a/kubernetes/docs/V1ReplicationControllerList.md +++ b/kubernetes/docs/V1ReplicationControllerList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ReplicationController]**](V1ReplicationController.md) | List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1ResourceQuota.md b/kubernetes/docs/V1ResourceQuota.md index 9d9c073ac2..696f5ae4d1 100644 --- a/kubernetes/docs/V1ResourceQuota.md +++ b/kubernetes/docs/V1ResourceQuota.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1ResourceQuotaSpec**](V1ResourceQuotaSpec.md) | Spec defines the desired quota. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1ResourceQuotaStatus**](V1ResourceQuotaStatus.md) | Status defines the actual enforced quota and its current usage. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ResourceQuotaList.md b/kubernetes/docs/V1ResourceQuotaList.md index 4f3654509c..3684a77590 100644 --- a/kubernetes/docs/V1ResourceQuotaList.md +++ b/kubernetes/docs/V1ResourceQuotaList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ResourceQuota]**](V1ResourceQuota.md) | Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1Scale.md b/kubernetes/docs/V1Scale.md index bd1a101c1b..bd1875f2a2 100644 --- a/kubernetes/docs/V1Scale.md +++ b/kubernetes/docs/V1Scale.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional] **spec** | [**V1ScaleSpec**](V1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] **status** | [**V1ScaleStatus**](V1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional] diff --git a/kubernetes/docs/V1Secret.md b/kubernetes/docs/V1Secret.md index fcb3cd8da8..c22e252940 100644 --- a/kubernetes/docs/V1Secret.md +++ b/kubernetes/docs/V1Secret.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **data** | **dict(str, str)** | Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4 | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **string_data** | **dict(str, str)** | stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. | [optional] **type** | **str** | Used to facilitate programmatic handling of secret data. | [optional] diff --git a/kubernetes/docs/V1SecretKeySelector.md b/kubernetes/docs/V1SecretKeySelector.md index ca66e4cd94..ef697d2149 100644 --- a/kubernetes/docs/V1SecretKeySelector.md +++ b/kubernetes/docs/V1SecretKeySelector.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **key** | **str** | The key of the secret to select from. Must be a valid secret key. | +**name** | **str** | Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names | [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) diff --git a/kubernetes/docs/V1SecretList.md b/kubernetes/docs/V1SecretList.md index f77d94a1ab..6d5889fb20 100644 --- a/kubernetes/docs/V1SecretList.md +++ b/kubernetes/docs/V1SecretList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Secret]**](V1Secret.md) | Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1SecretVolumeSource.md b/kubernetes/docs/V1SecretVolumeSource.md new file mode 100644 index 0000000000..e7bb6294be --- /dev/null +++ b/kubernetes/docs/V1SecretVolumeSource.md @@ -0,0 +1,12 @@ +# V1SecretVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**default_mode** | **int** | Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. | [optional] +**items** | [**list[V1KeyToPath]**](V1KeyToPath.md) | If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'. | [optional] +**secret_name** | **str** | Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [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) + + diff --git a/kubernetes/docs/V1Service.md b/kubernetes/docs/V1Service.md index bf48eaee7b..0a4081156f 100644 --- a/kubernetes/docs/V1Service.md +++ b/kubernetes/docs/V1Service.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1ServiceSpec**](V1ServiceSpec.md) | Spec defines the behavior of a service. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1ServiceStatus**](V1ServiceStatus.md) | Most recently observed status of the service. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1ServiceAccount.md b/kubernetes/docs/V1ServiceAccount.md index b915ec0104..7952a35148 100644 --- a/kubernetes/docs/V1ServiceAccount.md +++ b/kubernetes/docs/V1ServiceAccount.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **image_pull_secrets** | [**list[V1LocalObjectReference]**](V1LocalObjectReference.md) | ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **secrets** | [**list[V1ObjectReference]**](V1ObjectReference.md) | Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://kubernetes.io/docs/user-guide/secrets | [optional] diff --git a/kubernetes/docs/V1ServiceAccountList.md b/kubernetes/docs/V1ServiceAccountList.md index c287455e5d..8e3f806cf0 100644 --- a/kubernetes/docs/V1ServiceAccountList.md +++ b/kubernetes/docs/V1ServiceAccountList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1ServiceAccount]**](V1ServiceAccount.md) | List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1ServiceList.md b/kubernetes/docs/V1ServiceList.md index c01d21185d..b34c9c30a2 100644 --- a/kubernetes/docs/V1ServiceList.md +++ b/kubernetes/docs/V1ServiceList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1Service]**](V1Service.md) | List of services | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1Volume.md b/kubernetes/docs/V1Volume.md index 6ada6a5d9c..84bce8f82b 100644 --- a/kubernetes/docs/V1Volume.md +++ b/kubernetes/docs/V1Volume.md @@ -3,7 +3,30 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**aws_elastic_block_store** | [**V1AWSElasticBlockStoreVolumeSource**](V1AWSElasticBlockStoreVolumeSource.md) | AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore | [optional] +**azure_disk** | [**V1AzureDiskVolumeSource**](V1AzureDiskVolumeSource.md) | AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. | [optional] +**azure_file** | [**V1AzureFileVolumeSource**](V1AzureFileVolumeSource.md) | AzureFile represents an Azure File Service mount on the host and bind mount to the pod. | [optional] +**cephfs** | [**V1CephFSVolumeSource**](V1CephFSVolumeSource.md) | CephFS represents a Ceph FS mount on the host that shares a pod's lifetime | [optional] +**cinder** | [**V1CinderVolumeSource**](V1CinderVolumeSource.md) | Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md | [optional] +**config_map** | [**V1ConfigMapVolumeSource**](V1ConfigMapVolumeSource.md) | ConfigMap represents a configMap that should populate this volume | [optional] +**downward_api** | [**V1DownwardAPIVolumeSource**](V1DownwardAPIVolumeSource.md) | DownwardAPI represents downward API about the pod that should populate this volume | [optional] +**empty_dir** | [**V1EmptyDirVolumeSource**](V1EmptyDirVolumeSource.md) | EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir | [optional] +**fc** | [**V1FCVolumeSource**](V1FCVolumeSource.md) | FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod. | [optional] +**flex_volume** | [**V1FlexVolumeSource**](V1FlexVolumeSource.md) | FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future. | [optional] +**flocker** | [**V1FlockerVolumeSource**](V1FlockerVolumeSource.md) | Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running | [optional] +**gce_persistent_disk** | [**V1GCEPersistentDiskVolumeSource**](V1GCEPersistentDiskVolumeSource.md) | GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk | [optional] +**git_repo** | [**V1GitRepoVolumeSource**](V1GitRepoVolumeSource.md) | GitRepo represents a git repository at a particular revision. | [optional] +**glusterfs** | [**V1GlusterfsVolumeSource**](V1GlusterfsVolumeSource.md) | Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md | [optional] +**host_path** | [**V1HostPathVolumeSource**](V1HostPathVolumeSource.md) | HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath | [optional] +**iscsi** | [**V1ISCSIVolumeSource**](V1ISCSIVolumeSource.md) | ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md | [optional] **name** | **str** | Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names | +**nfs** | [**V1NFSVolumeSource**](V1NFSVolumeSource.md) | NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs | [optional] +**persistent_volume_claim** | [**V1PersistentVolumeClaimVolumeSource**](V1PersistentVolumeClaimVolumeSource.md) | PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims | [optional] +**photon_persistent_disk** | [**V1PhotonPersistentDiskVolumeSource**](V1PhotonPersistentDiskVolumeSource.md) | PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine | [optional] +**quobyte** | [**V1QuobyteVolumeSource**](V1QuobyteVolumeSource.md) | Quobyte represents a Quobyte mount on the host that shares a pod's lifetime | [optional] +**rbd** | [**V1RBDVolumeSource**](V1RBDVolumeSource.md) | RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md | [optional] +**secret** | [**V1SecretVolumeSource**](V1SecretVolumeSource.md) | Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets | [optional] +**vsphere_volume** | [**V1VsphereVirtualDiskVolumeSource**](V1VsphereVirtualDiskVolumeSource.md) | VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine | [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) diff --git a/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md b/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md new file mode 100644 index 0000000000..891a246a80 --- /dev/null +++ b/kubernetes/docs/V1VsphereVirtualDiskVolumeSource.md @@ -0,0 +1,11 @@ +# V1VsphereVirtualDiskVolumeSource + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fs_type** | **str** | Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. | [optional] +**volume_path** | **str** | Path that identifies vSphere volume vmdk | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1CertificateSigningRequest.md b/kubernetes/docs/V1alpha1CertificateSigningRequest.md index 859cd7d024..a80df7c9e5 100644 --- a/kubernetes/docs/V1alpha1CertificateSigningRequest.md +++ b/kubernetes/docs/V1alpha1CertificateSigningRequest.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1alpha1CertificateSigningRequestSpec**](V1alpha1CertificateSigningRequestSpec.md) | The certificate request itself and any additional information. | [optional] **status** | [**V1alpha1CertificateSigningRequestStatus**](V1alpha1CertificateSigningRequestStatus.md) | Derived information about the request. | [optional] diff --git a/kubernetes/docs/V1alpha1CertificateSigningRequestList.md b/kubernetes/docs/V1alpha1CertificateSigningRequestList.md index 63c44b6943..b2366c235b 100644 --- a/kubernetes/docs/V1alpha1CertificateSigningRequestList.md +++ b/kubernetes/docs/V1alpha1CertificateSigningRequestList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1CertificateSigningRequest]**](V1alpha1CertificateSigningRequest.md) | | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **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) diff --git a/kubernetes/docs/V1alpha1ClusterRole.md b/kubernetes/docs/V1alpha1ClusterRole.md index 5d2f19ec17..23921d5f08 100644 --- a/kubernetes/docs/V1alpha1ClusterRole.md +++ b/kubernetes/docs/V1alpha1ClusterRole.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**list[V1alpha1PolicyRule]**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this ClusterRole | diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md index 1c7b513e83..1611b38a70 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBinding.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can only reference a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md index bc03ffa151..947afcc558 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1ClusterRoleBinding]**](V1alpha1ClusterRoleBinding.md) | Items is a list of ClusterRoleBindings | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard object's metadata. | [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) diff --git a/kubernetes/docs/V1alpha1ClusterRoleList.md b/kubernetes/docs/V1alpha1ClusterRoleList.md index 55caf8c6f3..38d322bd74 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1ClusterRole]**](V1alpha1ClusterRole.md) | Items is a list of ClusterRoles | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard object's metadata. | [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) diff --git a/kubernetes/docs/V1alpha1Role.md b/kubernetes/docs/V1alpha1Role.md index eb1948ba0d..f08d9f1fd1 100644 --- a/kubernetes/docs/V1alpha1Role.md +++ b/kubernetes/docs/V1alpha1Role.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **rules** | [**list[V1alpha1PolicyRule]**](V1alpha1PolicyRule.md) | Rules holds all the PolicyRules for this Role | diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md index d66e61d9c3..c2e438ce77 100644 --- a/kubernetes/docs/V1alpha1RoleBinding.md +++ b/kubernetes/docs/V1alpha1RoleBinding.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error. | **subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | diff --git a/kubernetes/docs/V1alpha1RoleBindingList.md b/kubernetes/docs/V1alpha1RoleBindingList.md index c74463f058..1f0a15ce3b 100644 --- a/kubernetes/docs/V1alpha1RoleBindingList.md +++ b/kubernetes/docs/V1alpha1RoleBindingList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1RoleBinding]**](V1alpha1RoleBinding.md) | Items is a list of RoleBindings | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard object's metadata. | [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) diff --git a/kubernetes/docs/V1alpha1RoleList.md b/kubernetes/docs/V1alpha1RoleList.md index a1ffbacbf7..69c04e108d 100644 --- a/kubernetes/docs/V1alpha1RoleList.md +++ b/kubernetes/docs/V1alpha1RoleList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1alpha1Role]**](V1alpha1Role.md) | Items is a list of Roles | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard object's metadata. | [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) diff --git a/kubernetes/docs/V1beta1DaemonSet.md b/kubernetes/docs/V1beta1DaemonSet.md index 58de1ef134..b8726309e9 100644 --- a/kubernetes/docs/V1beta1DaemonSet.md +++ b/kubernetes/docs/V1beta1DaemonSet.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1DaemonSetSpec**](V1beta1DaemonSetSpec.md) | Spec defines the desired behavior of this daemon set. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1beta1DaemonSetStatus**](V1beta1DaemonSetStatus.md) | Status is the current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1DaemonSetList.md b/kubernetes/docs/V1beta1DaemonSetList.md index 2060d373e0..4d211ea31b 100644 --- a/kubernetes/docs/V1beta1DaemonSetList.md +++ b/kubernetes/docs/V1beta1DaemonSetList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1DaemonSet]**](V1beta1DaemonSet.md) | Items is a list of daemon sets. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1beta1Deployment.md b/kubernetes/docs/V1beta1Deployment.md index 8a9187321f..ec05e4c50a 100644 --- a/kubernetes/docs/V1beta1Deployment.md +++ b/kubernetes/docs/V1beta1Deployment.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. | [optional] **spec** | [**V1beta1DeploymentSpec**](V1beta1DeploymentSpec.md) | Specification of the desired behavior of the Deployment. | [optional] **status** | [**V1beta1DeploymentStatus**](V1beta1DeploymentStatus.md) | Most recently observed status of the Deployment. | [optional] diff --git a/kubernetes/docs/V1beta1DeploymentList.md b/kubernetes/docs/V1beta1DeploymentList.md index 212b76004a..276a9f74e6 100644 --- a/kubernetes/docs/V1beta1DeploymentList.md +++ b/kubernetes/docs/V1beta1DeploymentList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1Deployment]**](V1beta1Deployment.md) | Items is the list of Deployments. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. | [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) diff --git a/kubernetes/docs/V1beta1DeploymentRollback.md b/kubernetes/docs/V1beta1DeploymentRollback.md index 1b007bda8e..9b91983328 100644 --- a/kubernetes/docs/V1beta1DeploymentRollback.md +++ b/kubernetes/docs/V1beta1DeploymentRollback.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **name** | **str** | Required: This must match the Name of a deployment. | **rollback_to** | [**V1beta1RollbackConfig**](V1beta1RollbackConfig.md) | The config of this deployment rollback. | **updated_annotations** | **dict(str, str)** | The annotations to be updated to a deployment | [optional] diff --git a/kubernetes/docs/V1beta1Eviction.md b/kubernetes/docs/V1beta1Eviction.md index 934615dbc6..10faa8f3fe 100644 --- a/kubernetes/docs/V1beta1Eviction.md +++ b/kubernetes/docs/V1beta1Eviction.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **delete_options** | [**V1DeleteOptions**](V1DeleteOptions.md) | DeleteOptions may be provided | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1beta1HTTPIngressPath.md b/kubernetes/docs/V1beta1HTTPIngressPath.md new file mode 100644 index 0000000000..96e073b639 --- /dev/null +++ b/kubernetes/docs/V1beta1HTTPIngressPath.md @@ -0,0 +1,11 @@ +# V1beta1HTTPIngressPath + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**backend** | [**V1beta1IngressBackend**](V1beta1IngressBackend.md) | Backend defines the referenced service endpoint to which the traffic will be forwarded to. | +**path** | **str** | Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend. | [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) + + diff --git a/kubernetes/docs/V1beta1HTTPIngressRuleValue.md b/kubernetes/docs/V1beta1HTTPIngressRuleValue.md new file mode 100644 index 0000000000..60ce108c15 --- /dev/null +++ b/kubernetes/docs/V1beta1HTTPIngressRuleValue.md @@ -0,0 +1,10 @@ +# V1beta1HTTPIngressRuleValue + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**paths** | [**list[V1beta1HTTPIngressPath]**](V1beta1HTTPIngressPath.md) | A collection of paths that map requests to backends. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1HorizontalPodAutoscaler.md b/kubernetes/docs/V1beta1HorizontalPodAutoscaler.md index 0cfb87c8b8..82a1c39ce7 100644 --- a/kubernetes/docs/V1beta1HorizontalPodAutoscaler.md +++ b/kubernetes/docs/V1beta1HorizontalPodAutoscaler.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1HorizontalPodAutoscalerSpec**](V1beta1HorizontalPodAutoscalerSpec.md) | behaviour of autoscaler. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] **status** | [**V1beta1HorizontalPodAutoscalerStatus**](V1beta1HorizontalPodAutoscalerStatus.md) | current information about the autoscaler. | [optional] diff --git a/kubernetes/docs/V1beta1HorizontalPodAutoscalerList.md b/kubernetes/docs/V1beta1HorizontalPodAutoscalerList.md index f80246a37d..d6a486fc9a 100644 --- a/kubernetes/docs/V1beta1HorizontalPodAutoscalerList.md +++ b/kubernetes/docs/V1beta1HorizontalPodAutoscalerList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1HorizontalPodAutoscaler]**](V1beta1HorizontalPodAutoscaler.md) | list of horizontal pod autoscaler objects. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. | [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) diff --git a/kubernetes/docs/V1beta1Ingress.md b/kubernetes/docs/V1beta1Ingress.md index a318fff3dd..84d23b53ee 100644 --- a/kubernetes/docs/V1beta1Ingress.md +++ b/kubernetes/docs/V1beta1Ingress.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1IngressSpec**](V1beta1IngressSpec.md) | Spec is the desired state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1beta1IngressStatus**](V1beta1IngressStatus.md) | Status is the current state of the Ingress. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1IngressList.md b/kubernetes/docs/V1beta1IngressList.md index 6729a30c41..0a0a3eaf7b 100644 --- a/kubernetes/docs/V1beta1IngressList.md +++ b/kubernetes/docs/V1beta1IngressList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1Ingress]**](V1beta1Ingress.md) | Items is the list of Ingress. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1beta1IngressRule.md b/kubernetes/docs/V1beta1IngressRule.md index 48fdd7d90a..a431d1093d 100644 --- a/kubernetes/docs/V1beta1IngressRule.md +++ b/kubernetes/docs/V1beta1IngressRule.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **host** | **str** | Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the IP in the Spec of the parent Ingress. 2. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https. Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue. | [optional] +**http** | [**V1beta1HTTPIngressRuleValue**](V1beta1HTTPIngressRuleValue.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) diff --git a/kubernetes/docs/V1beta1Job.md b/kubernetes/docs/V1beta1Job.md index 21d87993bf..79bfb6aeb9 100644 --- a/kubernetes/docs/V1beta1Job.md +++ b/kubernetes/docs/V1beta1Job.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1JobSpec**](V1beta1JobSpec.md) | Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1beta1JobStatus**](V1beta1JobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1JobList.md b/kubernetes/docs/V1beta1JobList.md index 9afd340693..73b7207e49 100644 --- a/kubernetes/docs/V1beta1JobList.md +++ b/kubernetes/docs/V1beta1JobList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1Job]**](V1beta1Job.md) | Items is the list of Job. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md b/kubernetes/docs/V1beta1LocalSubjectAccessReview.md index 462d3d3293..4f624c23eb 100644 --- a/kubernetes/docs/V1beta1LocalSubjectAccessReview.md +++ b/kubernetes/docs/V1beta1LocalSubjectAccessReview.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted. | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicy.md b/kubernetes/docs/V1beta1NetworkPolicy.md index 9dc5ca5469..c5c1ffddd5 100644 --- a/kubernetes/docs/V1beta1NetworkPolicy.md +++ b/kubernetes/docs/V1beta1NetworkPolicy.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1NetworkPolicySpec**](V1beta1NetworkPolicySpec.md) | Specification of the desired behavior for this NetworkPolicy. | [optional] diff --git a/kubernetes/docs/V1beta1NetworkPolicyList.md b/kubernetes/docs/V1beta1NetworkPolicyList.md index df7e1bf0dd..b2902d94ae 100644 --- a/kubernetes/docs/V1beta1NetworkPolicyList.md +++ b/kubernetes/docs/V1beta1NetworkPolicyList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1NetworkPolicy]**](V1beta1NetworkPolicy.md) | Items is a list of schema objects. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1beta1PodDisruptionBudget.md b/kubernetes/docs/V1beta1PodDisruptionBudget.md index d945d952e7..c82fc6a8e3 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudget.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudget.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **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] diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md b/kubernetes/docs/V1beta1PodDisruptionBudgetList.md index 202eecfbaa..5992128147 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetList.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1PodDisruptionBudget]**](V1beta1PodDisruptionBudget.md) | | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **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) diff --git a/kubernetes/docs/V1beta1ReplicaSet.md b/kubernetes/docs/V1beta1ReplicaSet.md index 0fcefedeee..e33e6044c4 100644 --- a/kubernetes/docs/V1beta1ReplicaSet.md +++ b/kubernetes/docs/V1beta1ReplicaSet.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V1beta1ReplicaSetSpec**](V1beta1ReplicaSetSpec.md) | Spec defines the specification of the desired behavior of the ReplicaSet. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V1beta1ReplicaSetStatus**](V1beta1ReplicaSetStatus.md) | Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V1beta1ReplicaSetList.md b/kubernetes/docs/V1beta1ReplicaSetList.md index eb2239a7cc..c02c862ab8 100644 --- a/kubernetes/docs/V1beta1ReplicaSetList.md +++ b/kubernetes/docs/V1beta1ReplicaSetList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ReplicaSet]**](V1beta1ReplicaSet.md) | List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [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) diff --git a/kubernetes/docs/V1beta1Scale.md b/kubernetes/docs/V1beta1Scale.md index ed00bf2f9e..29bff5306d 100644 --- a/kubernetes/docs/V1beta1Scale.md +++ b/kubernetes/docs/V1beta1Scale.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata. | [optional] **spec** | [**V1beta1ScaleSpec**](V1beta1ScaleSpec.md) | defines the behavior of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. | [optional] **status** | [**V1beta1ScaleStatus**](V1beta1ScaleStatus.md) | current status of the scale. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status. Read-only. | [optional] diff --git a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md b/kubernetes/docs/V1beta1SelfSubjectAccessReview.md index 0040f60ad8..56dff1055d 100644 --- a/kubernetes/docs/V1beta1SelfSubjectAccessReview.md +++ b/kubernetes/docs/V1beta1SelfSubjectAccessReview.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SelfSubjectAccessReviewSpec**](V1beta1SelfSubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated. user and groups must be empty | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSet.md b/kubernetes/docs/V1beta1StatefulSet.md index a925439f34..8cb3e49b7e 100644 --- a/kubernetes/docs/V1beta1StatefulSet.md +++ b/kubernetes/docs/V1beta1StatefulSet.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1StatefulSetSpec**](V1beta1StatefulSetSpec.md) | Spec defines the desired identities of pods in this set. | [optional] **status** | [**V1beta1StatefulSetStatus**](V1beta1StatefulSetStatus.md) | Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time. | [optional] diff --git a/kubernetes/docs/V1beta1StatefulSetList.md b/kubernetes/docs/V1beta1StatefulSetList.md index 1bf904746b..c6ddafaf24 100644 --- a/kubernetes/docs/V1beta1StatefulSetList.md +++ b/kubernetes/docs/V1beta1StatefulSetList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1StatefulSet]**](V1beta1StatefulSet.md) | | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **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) diff --git a/kubernetes/docs/V1beta1StorageClass.md b/kubernetes/docs/V1beta1StorageClass.md index a1f41b305f..bf26d3e1e5 100644 --- a/kubernetes/docs/V1beta1StorageClass.md +++ b/kubernetes/docs/V1beta1StorageClass.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **parameters** | **dict(str, str)** | Parameters holds the parameters for the provisioner that should create volumes of this storage class. | [optional] **provisioner** | **str** | Provisioner indicates the type of the provisioner. | diff --git a/kubernetes/docs/V1beta1StorageClassList.md b/kubernetes/docs/V1beta1StorageClassList.md index a8795819a7..1672e65aeb 100644 --- a/kubernetes/docs/V1beta1StorageClassList.md +++ b/kubernetes/docs/V1beta1StorageClassList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1StorageClass]**](V1beta1StorageClass.md) | Items is the list of StorageClasses | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V1beta1SubjectAccessReview.md b/kubernetes/docs/V1beta1SubjectAccessReview.md index 6d1b950dc0..552b423d1b 100644 --- a/kubernetes/docs/V1beta1SubjectAccessReview.md +++ b/kubernetes/docs/V1beta1SubjectAccessReview.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1SubjectAccessReviewSpec**](V1beta1SubjectAccessReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1beta1SubjectAccessReviewStatus**](V1beta1SubjectAccessReviewStatus.md) | Status is filled in by the server and indicates whether the request is allowed or not | [optional] diff --git a/kubernetes/docs/V1beta1ThirdPartyResource.md b/kubernetes/docs/V1beta1ThirdPartyResource.md index ea8f475d6a..b6b2672c23 100644 --- a/kubernetes/docs/V1beta1ThirdPartyResource.md +++ b/kubernetes/docs/V1beta1ThirdPartyResource.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **description** | **str** | Description is the description of this object. | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object metadata | [optional] **versions** | [**list[V1beta1APIVersion]**](V1beta1APIVersion.md) | Versions are versions for this third party object | [optional] diff --git a/kubernetes/docs/V1beta1ThirdPartyResourceList.md b/kubernetes/docs/V1beta1ThirdPartyResourceList.md index fd0056fe71..7afd5536a5 100644 --- a/kubernetes/docs/V1beta1ThirdPartyResourceList.md +++ b/kubernetes/docs/V1beta1ThirdPartyResourceList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V1beta1ThirdPartyResource]**](V1beta1ThirdPartyResource.md) | Items is the list of ThirdPartyResources. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata. | [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) diff --git a/kubernetes/docs/V1beta1TokenReview.md b/kubernetes/docs/V1beta1TokenReview.md index eb2fd8689b..1a3f27f8d9 100644 --- a/kubernetes/docs/V1beta1TokenReview.md +++ b/kubernetes/docs/V1beta1TokenReview.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **spec** | [**V1beta1TokenReviewSpec**](V1beta1TokenReviewSpec.md) | Spec holds information about the request being evaluated | **status** | [**V1beta1TokenReviewStatus**](V1beta1TokenReviewStatus.md) | Status is filled in by the server and indicates whether the request can be authenticated. | [optional] diff --git a/kubernetes/docs/V2alpha1CronJob.md b/kubernetes/docs/V2alpha1CronJob.md index a827e97ca9..ab8c720d76 100644 --- a/kubernetes/docs/V2alpha1CronJob.md +++ b/kubernetes/docs/V2alpha1CronJob.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V2alpha1CronJobSpec**](V2alpha1CronJobSpec.md) | Spec is a structure defining the expected behavior of a job, including the schedule. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V2alpha1CronJobStatus**](V2alpha1CronJobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V2alpha1CronJobList.md b/kubernetes/docs/V2alpha1CronJobList.md index 04ab530312..dc0f0fbe36 100644 --- a/kubernetes/docs/V2alpha1CronJobList.md +++ b/kubernetes/docs/V2alpha1CronJobList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V2alpha1CronJob]**](V2alpha1CronJob.md) | Items is the list of CronJob. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/docs/V2alpha1Job.md b/kubernetes/docs/V2alpha1Job.md index 49ed9e0181..c06ecb2ad5 100644 --- a/kubernetes/docs/V2alpha1Job.md +++ b/kubernetes/docs/V2alpha1Job.md @@ -3,6 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [optional] **spec** | [**V2alpha1JobSpec**](V2alpha1JobSpec.md) | Spec is a structure defining the expected behavior of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] **status** | [**V2alpha1JobStatus**](V2alpha1JobStatus.md) | Status is a structure describing current status of a job. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status | [optional] diff --git a/kubernetes/docs/V2alpha1JobList.md b/kubernetes/docs/V2alpha1JobList.md index 0624840337..6d88b70e49 100644 --- a/kubernetes/docs/V2alpha1JobList.md +++ b/kubernetes/docs/V2alpha1JobList.md @@ -3,7 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**api_version** | **str** | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources | [optional] **items** | [**list[V2alpha1Job]**](V2alpha1Job.md) | Items is the list of Job. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds | [optional] **metadata** | [**UnversionedListMeta**](UnversionedListMeta.md) | Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata | [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) diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py index 9574b077f3..18f26b408a 100644 --- a/kubernetes/test/test_apis_api.py +++ b/kubernetes/test/test_apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py index a9da492d77..f221208507 100644 --- a/kubernetes/test/test_apps_api.py +++ b/kubernetes/test/test_apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py index a47ecce2f6..ee2cba4a0e 100644 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ b/kubernetes/test/test_apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py index 81913fe44b..a98d9883c7 100644 --- a/kubernetes/test/test_authentication_api.py +++ b/kubernetes/test/test_authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py index e471638b7b..0de32e654b 100644 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ b/kubernetes/test/test_authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py index ddcddc92dc..e2d0528a7b 100644 --- a/kubernetes/test/test_authorization_api.py +++ b/kubernetes/test/test_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py index f799986f53..5ead864377 100644 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ b/kubernetes/test/test_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py index 8099c8cc67..b98bb700b9 100644 --- a/kubernetes/test/test_autoscaling_api.py +++ b/kubernetes/test/test_autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py index 723d0109a3..d56cb4c986 100644 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ b/kubernetes/test/test_autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py index f2d797359b..6edec52ece 100644 --- a/kubernetes/test/test_batch_api.py +++ b/kubernetes/test/test_batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py index 68e4921e35..4d5bac5a09 100644 --- a/kubernetes/test/test_batch_v1_api.py +++ b/kubernetes/test/test_batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py index 66f1363d36..df0c56d634 100644 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ b/kubernetes/test/test_batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py index 8cd49dad2b..1b6cb13a18 100644 --- a/kubernetes/test/test_certificates_api.py +++ b/kubernetes/test/test_certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_certificates_v1alpha1_api.py b/kubernetes/test/test_certificates_v1alpha1_api.py index e0373af422..18a8a16856 100644 --- a/kubernetes/test/test_certificates_v1alpha1_api.py +++ b/kubernetes/test/test_certificates_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py index a68b487ddd..af0d2b01cb 100644 --- a/kubernetes/test/test_core_api.py +++ b/kubernetes/test/test_core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py index ea8b9f775c..e8aafd0f4a 100644 --- a/kubernetes/test/test_core_v1_api.py +++ b/kubernetes/test/test_core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py index 0f043b8ffc..93a908d1a0 100644 --- a/kubernetes/test/test_extensions_api.py +++ b/kubernetes/test/test_extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py index 180b0f16c6..0342ca56af 100644 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ b/kubernetes/test/test_extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_intstr_int_or_string.py b/kubernetes/test/test_intstr_int_or_string.py index e7c780c79f..d79d3eb210 100644 --- a/kubernetes/test/test_intstr_int_or_string.py +++ b/kubernetes/test/test_intstr_int_or_string.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py index 8b4387c463..abd3b0e373 100644 --- a/kubernetes/test/test_logs_api.py +++ b/kubernetes/test/test_logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py index dd6b2cb33c..4a3e56367d 100644 --- a/kubernetes/test/test_policy_api.py +++ b/kubernetes/test/test_policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py index e419ab5e49..528af28128 100644 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ b/kubernetes/test/test_policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py index c511077da0..7ab97974b3 100644 --- a/kubernetes/test/test_rbac_authorization_api.py +++ b/kubernetes/test/test_rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py index 307c82ab06..f5aaa7c79f 100644 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_resource_quantity.py b/kubernetes/test/test_resource_quantity.py index 3d0bfc54bc..e08ac9bebb 100644 --- a/kubernetes/test/test_resource_quantity.py +++ b/kubernetes/test/test_resource_quantity.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_runtime_raw_extension.py b/kubernetes/test/test_runtime_raw_extension.py index cd032512be..72fbffb65c 100644 --- a/kubernetes/test/test_runtime_raw_extension.py +++ b/kubernetes/test/test_runtime_raw_extension.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py index 91826e4009..c99b3f8c9e 100644 --- a/kubernetes/test/test_storage_api.py +++ b/kubernetes/test/test_storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py index 830cef8cff..c1e54bd132 100644 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ b/kubernetes/test/test_storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_api_group.py b/kubernetes/test/test_unversioned_api_group.py index 4ac2879932..b17da77e46 100644 --- a/kubernetes/test/test_unversioned_api_group.py +++ b/kubernetes/test/test_unversioned_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_api_group_list.py b/kubernetes/test/test_unversioned_api_group_list.py index 9ba6831b1e..3a2bdab4ef 100644 --- a/kubernetes/test/test_unversioned_api_group_list.py +++ b/kubernetes/test/test_unversioned_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_api_resource.py b/kubernetes/test/test_unversioned_api_resource.py index 8f9775a38d..26528e0b10 100644 --- a/kubernetes/test/test_unversioned_api_resource.py +++ b/kubernetes/test/test_unversioned_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_api_resource_list.py b/kubernetes/test/test_unversioned_api_resource_list.py index 61d16e5051..135655d10d 100644 --- a/kubernetes/test/test_unversioned_api_resource_list.py +++ b/kubernetes/test/test_unversioned_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_api_versions.py b/kubernetes/test/test_unversioned_api_versions.py index 4d6dcd5183..f3ef9dc598 100644 --- a/kubernetes/test/test_unversioned_api_versions.py +++ b/kubernetes/test/test_unversioned_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_group_version_for_discovery.py b/kubernetes/test/test_unversioned_group_version_for_discovery.py index a3650065df..ca60d7da75 100644 --- a/kubernetes/test/test_unversioned_group_version_for_discovery.py +++ b/kubernetes/test/test_unversioned_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_label_selector.py b/kubernetes/test/test_unversioned_label_selector.py index 8e9442cf8b..07ff3132b6 100644 --- a/kubernetes/test/test_unversioned_label_selector.py +++ b/kubernetes/test/test_unversioned_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_label_selector_requirement.py b/kubernetes/test/test_unversioned_label_selector_requirement.py index ff206e277d..97a6f3bdbc 100644 --- a/kubernetes/test/test_unversioned_label_selector_requirement.py +++ b/kubernetes/test/test_unversioned_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_list_meta.py b/kubernetes/test/test_unversioned_list_meta.py index 117e700dce..6990b6ac54 100644 --- a/kubernetes/test/test_unversioned_list_meta.py +++ b/kubernetes/test/test_unversioned_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_server_address_by_client_cidr.py b/kubernetes/test/test_unversioned_server_address_by_client_cidr.py index c6b717f45c..a1d87a2a2d 100644 --- a/kubernetes/test/test_unversioned_server_address_by_client_cidr.py +++ b/kubernetes/test/test_unversioned_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_status.py b/kubernetes/test/test_unversioned_status.py index 4589fa9913..0a99ac5a10 100644 --- a/kubernetes/test/test_unversioned_status.py +++ b/kubernetes/test/test_unversioned_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_status_cause.py b/kubernetes/test/test_unversioned_status_cause.py index dfe79c112d..c09a5a7f26 100644 --- a/kubernetes/test/test_unversioned_status_cause.py +++ b/kubernetes/test/test_unversioned_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_status_details.py b/kubernetes/test/test_unversioned_status_details.py index 09c47dd702..b56b565653 100644 --- a/kubernetes/test/test_unversioned_status_details.py +++ b/kubernetes/test/test_unversioned_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_unversioned_time.py b/kubernetes/test/test_unversioned_time.py index 57eb232f50..62e880a3e9 100644 --- a/kubernetes/test/test_unversioned_time.py +++ b/kubernetes/test/test_unversioned_time.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py index 470ba8423a..d4f156484a 100644 --- a/kubernetes/test/test_v1_attached_volume.py +++ b/kubernetes/test/test_v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py new file mode 100644 index 0000000000..ea69a56702 --- /dev/null +++ b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource + + +class TestV1AWSElasticBlockStoreVolumeSource(unittest.TestCase): + """ V1AWSElasticBlockStoreVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1AWSElasticBlockStoreVolumeSource(self): + """ + Test V1AWSElasticBlockStoreVolumeSource + """ + model = kubernetes.client.models.v1_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py new file mode 100644 index 0000000000..ee9c55d732 --- /dev/null +++ b/kubernetes/test/test_v1_azure_disk_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource + + +class TestV1AzureDiskVolumeSource(unittest.TestCase): + """ V1AzureDiskVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1AzureDiskVolumeSource(self): + """ + Test V1AzureDiskVolumeSource + """ + model = kubernetes.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py new file mode 100644 index 0000000000..9cc3fcfac8 --- /dev/null +++ b/kubernetes/test/test_v1_azure_file_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource + + +class TestV1AzureFileVolumeSource(unittest.TestCase): + """ V1AzureFileVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1AzureFileVolumeSource(self): + """ + Test V1AzureFileVolumeSource + """ + model = kubernetes.client.models.v1_azure_file_volume_source.V1AzureFileVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py index 96a55d4986..27c976465e 100644 --- a/kubernetes/test/test_v1_binding.py +++ b/kubernetes/test/test_v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py index 528096302f..ade4d3ed19 100644 --- a/kubernetes/test/test_v1_capabilities.py +++ b/kubernetes/test/test_v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py new file mode 100644 index 0000000000..47b4783d69 --- /dev/null +++ b/kubernetes/test/test_v1_ceph_fs_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource + + +class TestV1CephFSVolumeSource(unittest.TestCase): + """ V1CephFSVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1CephFSVolumeSource(self): + """ + Test V1CephFSVolumeSource + """ + model = kubernetes.client.models.v1_ceph_fs_volume_source.V1CephFSVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py new file mode 100644 index 0000000000..c6a080f28f --- /dev/null +++ b/kubernetes/test/test_v1_cinder_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource + + +class TestV1CinderVolumeSource(unittest.TestCase): + """ V1CinderVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1CinderVolumeSource(self): + """ + Test V1CinderVolumeSource + """ + model = kubernetes.client.models.v1_cinder_volume_source.V1CinderVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py index 63f6693d02..63091a7cbb 100644 --- a/kubernetes/test/test_v1_component_condition.py +++ b/kubernetes/test/test_v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py index d44b9267cb..97fd2d4a9f 100644 --- a/kubernetes/test/test_v1_component_status.py +++ b/kubernetes/test/test_v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py index 7538c526ee..dcfc85bf96 100644 --- a/kubernetes/test/test_v1_component_status_list.py +++ b/kubernetes/test/test_v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py index db56eb507d..dbf79f0516 100644 --- a/kubernetes/test/test_v1_config_map.py +++ b/kubernetes/test/test_v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py index b6fe791e74..cbeeb8eefa 100644 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ b/kubernetes/test/test_v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py index 06b22b3c8f..54b8bb8f80 100644 --- a/kubernetes/test/test_v1_config_map_list.py +++ b/kubernetes/test/test_v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py new file mode 100644 index 0000000000..28e5d1fd52 --- /dev/null +++ b/kubernetes/test/test_v1_config_map_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource + + +class TestV1ConfigMapVolumeSource(unittest.TestCase): + """ V1ConfigMapVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1ConfigMapVolumeSource(self): + """ + Test V1ConfigMapVolumeSource + """ + model = kubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py index feecfd70b2..f30cf587f6 100644 --- a/kubernetes/test/test_v1_container.py +++ b/kubernetes/test/test_v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py index 9b1dc601d7..46d70f0628 100644 --- a/kubernetes/test/test_v1_container_image.py +++ b/kubernetes/test/test_v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py index 106317c9a8..6fdf9b713e 100644 --- a/kubernetes/test/test_v1_container_port.py +++ b/kubernetes/test/test_v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py index 2fd2229127..eb58afdd76 100644 --- a/kubernetes/test/test_v1_container_state.py +++ b/kubernetes/test/test_v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py index a2776a018a..fdf8d99319 100644 --- a/kubernetes/test/test_v1_container_state_running.py +++ b/kubernetes/test/test_v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py index 8aab249cf1..e3aa970f74 100644 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ b/kubernetes/test/test_v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py index a07d3739c5..9ce1534310 100644 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ b/kubernetes/test/test_v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py index 81d5efe752..7de5383b69 100644 --- a/kubernetes/test/test_v1_container_status.py +++ b/kubernetes/test/test_v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py index 0e926da182..9ad909d6fb 100644 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ b/kubernetes/test/test_v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py index 0e13350b3f..3f69a142d5 100644 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ b/kubernetes/test/test_v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py index 6117d84a6c..28fcde4a8d 100644 --- a/kubernetes/test/test_v1_delete_options.py +++ b/kubernetes/test/test_v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py new file mode 100644 index 0000000000..1232da7401 --- /dev/null +++ b/kubernetes/test/test_v1_downward_api_volume_file.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile + + +class TestV1DownwardAPIVolumeFile(unittest.TestCase): + """ V1DownwardAPIVolumeFile unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1DownwardAPIVolumeFile(self): + """ + Test V1DownwardAPIVolumeFile + """ + model = kubernetes.client.models.v1_downward_api_volume_file.V1DownwardAPIVolumeFile() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py new file mode 100644 index 0000000000..6a627d933d --- /dev/null +++ b/kubernetes/test/test_v1_downward_api_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource + + +class TestV1DownwardAPIVolumeSource(unittest.TestCase): + """ V1DownwardAPIVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1DownwardAPIVolumeSource(self): + """ + Test V1DownwardAPIVolumeSource + """ + model = kubernetes.client.models.v1_downward_api_volume_source.V1DownwardAPIVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py new file mode 100644 index 0000000000..dba4bef628 --- /dev/null +++ b/kubernetes/test/test_v1_empty_dir_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource + + +class TestV1EmptyDirVolumeSource(unittest.TestCase): + """ V1EmptyDirVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1EmptyDirVolumeSource(self): + """ + Test V1EmptyDirVolumeSource + """ + model = kubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py index 2e1e48952f..94b1902ab2 100644 --- a/kubernetes/test/test_v1_endpoint_address.py +++ b/kubernetes/test/test_v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py index 8f9a824c26..38a2a3a79d 100644 --- a/kubernetes/test/test_v1_endpoint_port.py +++ b/kubernetes/test/test_v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py index 738f6ede3e..c5dc3808b5 100644 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ b/kubernetes/test/test_v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py index d5239f5e1a..1213edf66b 100644 --- a/kubernetes/test/test_v1_endpoints.py +++ b/kubernetes/test/test_v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py index 86b06f1adc..13f561345b 100644 --- a/kubernetes/test/test_v1_endpoints_list.py +++ b/kubernetes/test/test_v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py index 449b5b3999..ad5fb48375 100644 --- a/kubernetes/test/test_v1_env_var.py +++ b/kubernetes/test/test_v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py index 29d463fa66..13dd646a79 100644 --- a/kubernetes/test/test_v1_env_var_source.py +++ b/kubernetes/test/test_v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py index d81740ae06..bdba8e0c68 100644 --- a/kubernetes/test/test_v1_event.py +++ b/kubernetes/test/test_v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py index 684e7fc5b1..42811d2ef5 100644 --- a/kubernetes/test/test_v1_event_list.py +++ b/kubernetes/test/test_v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py index 013242178a..9888c2a4c3 100644 --- a/kubernetes/test/test_v1_event_source.py +++ b/kubernetes/test/test_v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py index 36f41070f0..f3217418ec 100644 --- a/kubernetes/test/test_v1_exec_action.py +++ b/kubernetes/test/test_v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py new file mode 100644 index 0000000000..697c38e0f5 --- /dev/null +++ b/kubernetes/test/test_v1_fc_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource + + +class TestV1FCVolumeSource(unittest.TestCase): + """ V1FCVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1FCVolumeSource(self): + """ + Test V1FCVolumeSource + """ + model = kubernetes.client.models.v1_fc_volume_source.V1FCVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py new file mode 100644 index 0000000000..976be6b299 --- /dev/null +++ b/kubernetes/test/test_v1_flex_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource + + +class TestV1FlexVolumeSource(unittest.TestCase): + """ V1FlexVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1FlexVolumeSource(self): + """ + Test V1FlexVolumeSource + """ + model = kubernetes.client.models.v1_flex_volume_source.V1FlexVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py new file mode 100644 index 0000000000..d8e893fcff --- /dev/null +++ b/kubernetes/test/test_v1_flocker_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource + + +class TestV1FlockerVolumeSource(unittest.TestCase): + """ V1FlockerVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1FlockerVolumeSource(self): + """ + Test V1FlockerVolumeSource + """ + model = kubernetes.client.models.v1_flocker_volume_source.V1FlockerVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py new file mode 100644 index 0000000000..740b1f4b92 --- /dev/null +++ b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource + + +class TestV1GCEPersistentDiskVolumeSource(unittest.TestCase): + """ V1GCEPersistentDiskVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1GCEPersistentDiskVolumeSource(self): + """ + Test V1GCEPersistentDiskVolumeSource + """ + model = kubernetes.client.models.v1_gce_persistent_disk_volume_source.V1GCEPersistentDiskVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py new file mode 100644 index 0000000000..68604f4f9e --- /dev/null +++ b/kubernetes/test/test_v1_git_repo_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource + + +class TestV1GitRepoVolumeSource(unittest.TestCase): + """ V1GitRepoVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1GitRepoVolumeSource(self): + """ + Test V1GitRepoVolumeSource + """ + model = kubernetes.client.models.v1_git_repo_volume_source.V1GitRepoVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py new file mode 100644 index 0000000000..85ed89667f --- /dev/null +++ b/kubernetes/test/test_v1_glusterfs_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource + + +class TestV1GlusterfsVolumeSource(unittest.TestCase): + """ V1GlusterfsVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1GlusterfsVolumeSource(self): + """ + Test V1GlusterfsVolumeSource + """ + model = kubernetes.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py index 48ef2a4711..5964553815 100644 --- a/kubernetes/test/test_v1_handler.py +++ b/kubernetes/test/test_v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py index de073aadc8..920ac241ce 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py index 7b9ea137be..c1a0b2aae7 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py index b8427ffa9f..f79f9c9216 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py index 95ca1d5506..b22734e746 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py new file mode 100644 index 0000000000..a2b14ddeea --- /dev/null +++ b/kubernetes/test/test_v1_host_path_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource + + +class TestV1HostPathVolumeSource(unittest.TestCase): + """ V1HostPathVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1HostPathVolumeSource(self): + """ + Test V1HostPathVolumeSource + """ + model = kubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py index a053db41bc..59f701031a 100644 --- a/kubernetes/test/test_v1_http_get_action.py +++ b/kubernetes/test/test_v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py index 7a0f6d3cd5..cce479cc89 100644 --- a/kubernetes/test/test_v1_http_header.py +++ b/kubernetes/test/test_v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py new file mode 100644 index 0000000000..975693c29d --- /dev/null +++ b/kubernetes/test/test_v1_iscsi_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource + + +class TestV1ISCSIVolumeSource(unittest.TestCase): + """ V1ISCSIVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1ISCSIVolumeSource(self): + """ + Test V1ISCSIVolumeSource + """ + model = kubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py index 0b10d09bf9..4028d408ab 100644 --- a/kubernetes/test/test_v1_job.py +++ b/kubernetes/test/test_v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py index d518e82dcd..85409f1c4c 100644 --- a/kubernetes/test/test_v1_job_condition.py +++ b/kubernetes/test/test_v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py index fcf43105dd..dd4438e7bf 100644 --- a/kubernetes/test/test_v1_job_list.py +++ b/kubernetes/test/test_v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py index 22e6f64a33..a455d55929 100644 --- a/kubernetes/test/test_v1_job_spec.py +++ b/kubernetes/test/test_v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py index 6a4fbc1071..dcf760707b 100644 --- a/kubernetes/test/test_v1_job_status.py +++ b/kubernetes/test/test_v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py new file mode 100644 index 0000000000..f4df6c52da --- /dev/null +++ b/kubernetes/test/test_v1_key_to_path.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_key_to_path import V1KeyToPath + + +class TestV1KeyToPath(unittest.TestCase): + """ V1KeyToPath unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1KeyToPath(self): + """ + Test V1KeyToPath + """ + model = kubernetes.client.models.v1_key_to_path.V1KeyToPath() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py index 07db5a4f13..57d00f168e 100644 --- a/kubernetes/test/test_v1_lifecycle.py +++ b/kubernetes/test/test_v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py index bd2d844705..fed3199680 100644 --- a/kubernetes/test/test_v1_limit_range.py +++ b/kubernetes/test/test_v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py index 96a88c3365..66d04224b1 100644 --- a/kubernetes/test/test_v1_limit_range_item.py +++ b/kubernetes/test/test_v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py index 8edfcf378f..cfda878bd6 100644 --- a/kubernetes/test/test_v1_limit_range_list.py +++ b/kubernetes/test/test_v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py index 5d539d3b6f..c086b9d94b 100644 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ b/kubernetes/test/test_v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py index 3c24286e35..755d80677a 100644 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ b/kubernetes/test/test_v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py index c1696c69dc..af03ed2d12 100644 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ b/kubernetes/test/test_v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py index 6b23005bea..f2bb0ecb35 100644 --- a/kubernetes/test/test_v1_local_object_reference.py +++ b/kubernetes/test/test_v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py index 22eedfa6ef..c5c8607f9c 100644 --- a/kubernetes/test/test_v1_namespace.py +++ b/kubernetes/test/test_v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py index 5170ae8e15..775dc65f7a 100644 --- a/kubernetes/test/test_v1_namespace_list.py +++ b/kubernetes/test/test_v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py index 48a3c23167..7b41f170ee 100644 --- a/kubernetes/test/test_v1_namespace_spec.py +++ b/kubernetes/test/test_v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py index e962239a46..5722e419bb 100644 --- a/kubernetes/test/test_v1_namespace_status.py +++ b/kubernetes/test/test_v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py new file mode 100644 index 0000000000..d9254d78ee --- /dev/null +++ b/kubernetes/test/test_v1_nfs_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource + + +class TestV1NFSVolumeSource(unittest.TestCase): + """ V1NFSVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1NFSVolumeSource(self): + """ + Test V1NFSVolumeSource + """ + model = kubernetes.client.models.v1_nfs_volume_source.V1NFSVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py index 4c1fbfa184..67143b4f08 100644 --- a/kubernetes/test/test_v1_node.py +++ b/kubernetes/test/test_v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py index 578145ad8f..002084431c 100644 --- a/kubernetes/test/test_v1_node_address.py +++ b/kubernetes/test/test_v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py index 83f6aa5aa1..43e95c6db1 100644 --- a/kubernetes/test/test_v1_node_condition.py +++ b/kubernetes/test/test_v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py index 7747ed5fb8..1d9b7c29ab 100644 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ b/kubernetes/test/test_v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py index 3b61c61312..7eddfa9733 100644 --- a/kubernetes/test/test_v1_node_list.py +++ b/kubernetes/test/test_v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py index a2915f6535..7997647454 100644 --- a/kubernetes/test/test_v1_node_spec.py +++ b/kubernetes/test/test_v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py index 5bf6edd486..e438b5ce6e 100644 --- a/kubernetes/test/test_v1_node_status.py +++ b/kubernetes/test/test_v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py index 248a906549..4ae7374f63 100644 --- a/kubernetes/test/test_v1_node_system_info.py +++ b/kubernetes/test/test_v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py index 72ca1e2f3e..f32c201616 100644 --- a/kubernetes/test/test_v1_object_field_selector.py +++ b/kubernetes/test/test_v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py index fc0c0e3ee1..0d9240fa13 100644 --- a/kubernetes/test/test_v1_object_meta.py +++ b/kubernetes/test/test_v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py index b647c9c55d..dd74c323f6 100644 --- a/kubernetes/test/test_v1_object_reference.py +++ b/kubernetes/test/test_v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py index 872c3e979b..ffe494831b 100644 --- a/kubernetes/test/test_v1_owner_reference.py +++ b/kubernetes/test/test_v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py index 3a4052a5b7..d3878a35ba 100644 --- a/kubernetes/test/test_v1_persistent_volume.py +++ b/kubernetes/test/test_v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py index c46b090012..2cc92152a3 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ b/kubernetes/test/test_v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py index e81bf8153c..9e51840f4f 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py index 693fee8d32..4f669091d1 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py index 708a75d696..885a637278 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py new file mode 100644 index 0000000000..0edf92690d --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource + + +class TestV1PersistentVolumeClaimVolumeSource(unittest.TestCase): + """ V1PersistentVolumeClaimVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1PersistentVolumeClaimVolumeSource(self): + """ + Test V1PersistentVolumeClaimVolumeSource + """ + model = kubernetes.client.models.v1_persistent_volume_claim_volume_source.V1PersistentVolumeClaimVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py index 5f6b75936b..be1993b4d2 100644 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ b/kubernetes/test/test_v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py index 42775b91be..953b2952b3 100644 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py index 251bddc48d..592bfc5539 100644 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ b/kubernetes/test/test_v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py new file mode 100644 index 0000000000..87078f54bc --- /dev/null +++ b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource + + +class TestV1PhotonPersistentDiskVolumeSource(unittest.TestCase): + """ V1PhotonPersistentDiskVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1PhotonPersistentDiskVolumeSource(self): + """ + Test V1PhotonPersistentDiskVolumeSource + """ + model = kubernetes.client.models.v1_photon_persistent_disk_volume_source.V1PhotonPersistentDiskVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py index fbd735fdc8..95f066aa4a 100644 --- a/kubernetes/test/test_v1_pod.py +++ b/kubernetes/test/test_v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py index 89ba3dac29..19cf986736 100644 --- a/kubernetes/test/test_v1_pod_condition.py +++ b/kubernetes/test/test_v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py index 6a63be1847..c49a24305c 100644 --- a/kubernetes/test/test_v1_pod_list.py +++ b/kubernetes/test/test_v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py index b87571df62..fb11502e47 100644 --- a/kubernetes/test/test_v1_pod_security_context.py +++ b/kubernetes/test/test_v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py index e71c52b03e..8568f0719f 100644 --- a/kubernetes/test/test_v1_pod_spec.py +++ b/kubernetes/test/test_v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py index 2c5b665115..8cdf14fbba 100644 --- a/kubernetes/test/test_v1_pod_status.py +++ b/kubernetes/test/test_v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py index 33dd71f946..1081b13001 100644 --- a/kubernetes/test/test_v1_pod_template.py +++ b/kubernetes/test/test_v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py index 699f9f1077..621e11604c 100644 --- a/kubernetes/test/test_v1_pod_template_list.py +++ b/kubernetes/test/test_v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py index a02c3f604a..96b57a6670 100644 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ b/kubernetes/test/test_v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py index c5a6e182fc..ddc8e990e2 100644 --- a/kubernetes/test/test_v1_preconditions.py +++ b/kubernetes/test/test_v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py index ba08dde8fb..e90ec940d4 100644 --- a/kubernetes/test/test_v1_probe.py +++ b/kubernetes/test/test_v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py new file mode 100644 index 0000000000..d636141bc4 --- /dev/null +++ b/kubernetes/test/test_v1_quobyte_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource + + +class TestV1QuobyteVolumeSource(unittest.TestCase): + """ V1QuobyteVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1QuobyteVolumeSource(self): + """ + Test V1QuobyteVolumeSource + """ + model = kubernetes.client.models.v1_quobyte_volume_source.V1QuobyteVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py new file mode 100644 index 0000000000..cfd9265c84 --- /dev/null +++ b/kubernetes/test/test_v1_rbd_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_rbd_volume_source import V1RBDVolumeSource + + +class TestV1RBDVolumeSource(unittest.TestCase): + """ V1RBDVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1RBDVolumeSource(self): + """ + Test V1RBDVolumeSource + """ + model = kubernetes.client.models.v1_rbd_volume_source.V1RBDVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py index 146eede174..9554955f34 100644 --- a/kubernetes/test/test_v1_replication_controller.py +++ b/kubernetes/test/test_v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py index 064bebe8bc..5000ef18c5 100644 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ b/kubernetes/test/test_v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py index 8b9d1c0d6f..2fd1f81660 100644 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ b/kubernetes/test/test_v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py index d78355e2ee..e85418f5df 100644 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ b/kubernetes/test/test_v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py index 4cab7098a9..431890ce71 100644 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ b/kubernetes/test/test_v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py index 143aff39f6..9b34bd8b58 100644 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ b/kubernetes/test/test_v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py index 4cf177b9ec..c2e0c7f8e4 100644 --- a/kubernetes/test/test_v1_resource_quota.py +++ b/kubernetes/test/test_v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py index da0ff0b709..daefb3fc3b 100644 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ b/kubernetes/test/test_v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py index 12c141ae2a..9112aaa837 100644 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ b/kubernetes/test/test_v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py index 5a1409c091..8c2b67aa77 100644 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ b/kubernetes/test/test_v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py index 145a43fe7f..00870512e5 100644 --- a/kubernetes/test/test_v1_resource_requirements.py +++ b/kubernetes/test/test_v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py index 351347d1f7..83e4aad04a 100644 --- a/kubernetes/test/test_v1_scale.py +++ b/kubernetes/test/test_v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py index 5a9cd934a2..2abd3556d1 100644 --- a/kubernetes/test/test_v1_scale_spec.py +++ b/kubernetes/test/test_v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py index 5575b624fd..236b721357 100644 --- a/kubernetes/test/test_v1_scale_status.py +++ b/kubernetes/test/test_v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py index 9151f0f1a9..99e5196558 100644 --- a/kubernetes/test/test_v1_se_linux_options.py +++ b/kubernetes/test/test_v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py index 1826907d05..4f07bd0702 100644 --- a/kubernetes/test/test_v1_secret.py +++ b/kubernetes/test/test_v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py index 63d7903af3..17f250363d 100644 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ b/kubernetes/test/test_v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py index 15028623d8..b778bd32f4 100644 --- a/kubernetes/test/test_v1_secret_list.py +++ b/kubernetes/test/test_v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py new file mode 100644 index 0000000000..e591d6f580 --- /dev/null +++ b/kubernetes/test/test_v1_secret_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_secret_volume_source import V1SecretVolumeSource + + +class TestV1SecretVolumeSource(unittest.TestCase): + """ V1SecretVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1SecretVolumeSource(self): + """ + Test V1SecretVolumeSource + """ + model = kubernetes.client.models.v1_secret_volume_source.V1SecretVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py index ede5d39a34..4fc872eaa5 100644 --- a/kubernetes/test/test_v1_security_context.py +++ b/kubernetes/test/test_v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py index 45cc73ce06..3c2cd13e29 100644 --- a/kubernetes/test/test_v1_service.py +++ b/kubernetes/test/test_v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py index 85cee112a4..4a625497c5 100644 --- a/kubernetes/test/test_v1_service_account.py +++ b/kubernetes/test/test_v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py index 053fb90941..087a5a80b9 100644 --- a/kubernetes/test/test_v1_service_account_list.py +++ b/kubernetes/test/test_v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py index f92f266b7b..47e311900b 100644 --- a/kubernetes/test/test_v1_service_list.py +++ b/kubernetes/test/test_v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py index 651865075a..f254ed3055 100644 --- a/kubernetes/test/test_v1_service_port.py +++ b/kubernetes/test/test_v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py index 1d1ca04045..b21b451aba 100644 --- a/kubernetes/test/test_v1_service_spec.py +++ b/kubernetes/test/test_v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py index 272721d0b8..782e4fcb0e 100644 --- a/kubernetes/test/test_v1_service_status.py +++ b/kubernetes/test/test_v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py index 4aca301348..f3b8a4f47b 100644 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ b/kubernetes/test/test_v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py index 449d587d00..7e21d3f98d 100644 --- a/kubernetes/test/test_v1_volume.py +++ b/kubernetes/test/test_v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py index 4d020377fc..3e4b644eb4 100644 --- a/kubernetes/test/test_v1_volume_mount.py +++ b/kubernetes/test/test_v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py new file mode 100644 index 0000000000..10bb5c95d7 --- /dev/null +++ b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource + + +class TestV1VsphereVirtualDiskVolumeSource(unittest.TestCase): + """ V1VsphereVirtualDiskVolumeSource unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1VsphereVirtualDiskVolumeSource(self): + """ + Test V1VsphereVirtualDiskVolumeSource + """ + model = kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.V1VsphereVirtualDiskVolumeSource() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request.py b/kubernetes/test/test_v1alpha1_certificate_signing_request.py index 0a462a6a11..2eee342bb6 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py index 70035556eb..eb4360fe42 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py index 9e3d974f9b..bf500c9b46 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py index 153466c60f..eaee48a661 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py index a339ea49e1..318771bcae 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py index 50e2ea082f..d1d6204394 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ b/kubernetes/test/test_v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py index 692dd151da..a333384b1b 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py index 7280b1f767..69d9155496 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py index d509bec2bf..2a3686d188 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py index 1129bdd01d..01a6b25860 100644 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ b/kubernetes/test/test_v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py index 7468e4fa59..ad56a9242b 100644 --- a/kubernetes/test/test_v1alpha1_role.py +++ b/kubernetes/test/test_v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py index d2fc978dfd..e74221e9c0 100644 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ b/kubernetes/test/test_v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py index b02172f0a9..09498654d7 100644 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py index 215132cd4a..4936453c96 100644 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ b/kubernetes/test/test_v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py index 5ff0d4881b..99424870b2 100644 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ b/kubernetes/test/test_v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1alpha1_subject.py b/kubernetes/test/test_v1alpha1_subject.py index 042464a4e3..434c3c31a4 100644 --- a/kubernetes/test/test_v1alpha1_subject.py +++ b/kubernetes/test/test_v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_api_version.py b/kubernetes/test/test_v1beta1_api_version.py index 0b5d4bcd2a..a5b3262432 100644 --- a/kubernetes/test/test_v1beta1_api_version.py +++ b/kubernetes/test/test_v1beta1_api_version.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_cpu_target_utilization.py b/kubernetes/test/test_v1beta1_cpu_target_utilization.py index d88e30f4d5..cdde28681b 100644 --- a/kubernetes/test/test_v1beta1_cpu_target_utilization.py +++ b/kubernetes/test/test_v1beta1_cpu_target_utilization.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py index eb866b0df4..5a68509cea 100644 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ b/kubernetes/test/test_v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py index 86e5e3e78e..2f6377e2c3 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ b/kubernetes/test/test_v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py index 3a26b9248f..e0955e8836 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py index 33b7116c7a..c5a881fe67 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ b/kubernetes/test/test_v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment.py b/kubernetes/test/test_v1beta1_deployment.py index e02dd8b3da..544e23f86f 100644 --- a/kubernetes/test/test_v1beta1_deployment.py +++ b/kubernetes/test/test_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_condition.py b/kubernetes/test/test_v1beta1_deployment_condition.py index f9c92caa99..7d76a79cee 100644 --- a/kubernetes/test/test_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_list.py b/kubernetes/test/test_v1beta1_deployment_list.py index 8d699b816d..1097919921 100644 --- a/kubernetes/test/test_v1beta1_deployment_list.py +++ b/kubernetes/test/test_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_rollback.py b/kubernetes/test/test_v1beta1_deployment_rollback.py index 6daba383aa..115dbdb3d9 100644 --- a/kubernetes/test/test_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_spec.py b/kubernetes/test/test_v1beta1_deployment_spec.py index 5762fc1a1f..e818e0f121 100644 --- a/kubernetes/test/test_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_status.py b/kubernetes/test/test_v1beta1_deployment_status.py index e4465fd5cd..419404fccf 100644 --- a/kubernetes/test/test_v1beta1_deployment_status.py +++ b/kubernetes/test/test_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_deployment_strategy.py b/kubernetes/test/test_v1beta1_deployment_strategy.py index dfd2a438fe..81a9e5677a 100644 --- a/kubernetes/test/test_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py index 4b1cb4ee95..274a803d56 100644 --- a/kubernetes/test/test_v1beta1_eviction.py +++ b/kubernetes/test/test_v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py index 0337a167e7..4d23fe4543 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py index 737fb802cf..97703dad2b 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py index 3c2be9ff2f..3c0e27854a 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py index 11da144b50..f90710eebb 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_http_ingress_path.py b/kubernetes/test/test_v1beta1_http_ingress_path.py new file mode 100644 index 0000000000..93ae7ad92e --- /dev/null +++ b/kubernetes/test/test_v1beta1_http_ingress_path.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_http_ingress_path import V1beta1HTTPIngressPath + + +class TestV1beta1HTTPIngressPath(unittest.TestCase): + """ V1beta1HTTPIngressPath unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1HTTPIngressPath(self): + """ + Test V1beta1HTTPIngressPath + """ + model = kubernetes.client.models.v1beta1_http_ingress_path.V1beta1HTTPIngressPath() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py new file mode 100644 index 0000000000..ed0820d6c6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) + + OpenAPI spec version: v1.5.1-660c2a2 + + Generated by: https://github.com/swagger-api/swagger-codegen.git + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +""" + +from __future__ import absolute_import + +import os +import sys +import unittest + +import kubernetes.client +from kubernetes.client.rest import ApiException +from kubernetes.client.models.v1beta1_http_ingress_rule_value import V1beta1HTTPIngressRuleValue + + +class TestV1beta1HTTPIngressRuleValue(unittest.TestCase): + """ V1beta1HTTPIngressRuleValue unit test stubs """ + + def setUp(self): + pass + + def tearDown(self): + pass + + def testV1beta1HTTPIngressRuleValue(self): + """ + Test V1beta1HTTPIngressRuleValue + """ + model = kubernetes.client.models.v1beta1_http_ingress_rule_value.V1beta1HTTPIngressRuleValue() + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_ingress.py b/kubernetes/test/test_v1beta1_ingress.py index 63ec353a99..3352f0fc07 100644 --- a/kubernetes/test/test_v1beta1_ingress.py +++ b/kubernetes/test/test_v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_backend.py b/kubernetes/test/test_v1beta1_ingress_backend.py index fd971a276c..fbb2cdfa88 100644 --- a/kubernetes/test/test_v1beta1_ingress_backend.py +++ b/kubernetes/test/test_v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_list.py b/kubernetes/test/test_v1beta1_ingress_list.py index b73c3fcfaf..2a9ee08818 100644 --- a/kubernetes/test/test_v1beta1_ingress_list.py +++ b/kubernetes/test/test_v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_rule.py b/kubernetes/test/test_v1beta1_ingress_rule.py index af0e4b90f7..ab0d8b287f 100644 --- a/kubernetes/test/test_v1beta1_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_spec.py b/kubernetes/test/test_v1beta1_ingress_spec.py index 46aabb43c4..a57d54e023 100644 --- a/kubernetes/test/test_v1beta1_ingress_spec.py +++ b/kubernetes/test/test_v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_status.py b/kubernetes/test/test_v1beta1_ingress_status.py index 7d7d2bd914..14c98312e1 100644 --- a/kubernetes/test/test_v1beta1_ingress_status.py +++ b/kubernetes/test/test_v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_ingress_tls.py b/kubernetes/test/test_v1beta1_ingress_tls.py index 67a1157b9d..555e1373b6 100644 --- a/kubernetes/test/test_v1beta1_ingress_tls.py +++ b/kubernetes/test/test_v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_job.py b/kubernetes/test/test_v1beta1_job.py index 07c930f71f..3054c88db9 100644 --- a/kubernetes/test/test_v1beta1_job.py +++ b/kubernetes/test/test_v1beta1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_job_condition.py b/kubernetes/test/test_v1beta1_job_condition.py index 2574eaa90b..ad9f6ca9d9 100644 --- a/kubernetes/test/test_v1beta1_job_condition.py +++ b/kubernetes/test/test_v1beta1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_job_list.py b/kubernetes/test/test_v1beta1_job_list.py index 0c1f325671..4e0dad3103 100644 --- a/kubernetes/test/test_v1beta1_job_list.py +++ b/kubernetes/test/test_v1beta1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_job_spec.py b/kubernetes/test/test_v1beta1_job_spec.py index f0fa3d0f14..936aa3e4b3 100644 --- a/kubernetes/test/test_v1beta1_job_spec.py +++ b/kubernetes/test/test_v1beta1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_job_status.py b/kubernetes/test/test_v1beta1_job_status.py index cfc5fd57f8..f4ee282c05 100644 --- a/kubernetes/test/test_v1beta1_job_status.py +++ b/kubernetes/test/test_v1beta1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py index de69c15828..0306e6574b 100644 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py index 0ea25dddff..378edbf686 100644 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ b/kubernetes/test/test_v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py index 6c9a997ae3..dcafb92977 100644 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py index 3718551682..0e244a538a 100644 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ b/kubernetes/test/test_v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py index 097a85be47..9b44587d60 100644 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ b/kubernetes/test/test_v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py index 735f4d19b5..4118445b6c 100644 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ b/kubernetes/test/test_v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py index 06bcdb6639..0cf1dc7878 100644 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ b/kubernetes/test/test_v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py index e7b385cf91..5ef3e8becf 100644 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py index 23443dd3bc..c2ea77524e 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py index 43dbae0c2f..b3ba4c5218 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py index a3103b2f78..6f777e54f7 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py index 046377c057..7035cf4f1d 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py index 9f650d5a39..857006bb28 100644 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ b/kubernetes/test/test_v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py index 10b24bbb93..fa0b07d7f8 100644 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ b/kubernetes/test/test_v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py index b761d25c68..77219d4bd1 100644 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ b/kubernetes/test/test_v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py index 439718a0be..355078867e 100644 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ b/kubernetes/test/test_v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py index 7f4bcb0f58..b82cdf9cc1 100644 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ b/kubernetes/test/test_v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py index f85f99ff8b..decc2b3038 100644 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_rollback_config.py b/kubernetes/test/test_v1beta1_rollback_config.py index 2e31309577..a42c90f77a 100644 --- a/kubernetes/test/test_v1beta1_rollback_config.py +++ b/kubernetes/test/test_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_v1beta1_rolling_update_deployment.py index 511e3d6beb..3072e5ae6b 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_scale.py b/kubernetes/test/test_v1beta1_scale.py index 769387bd38..8fa65d7f8c 100644 --- a/kubernetes/test/test_v1beta1_scale.py +++ b/kubernetes/test/test_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_scale_spec.py b/kubernetes/test/test_v1beta1_scale_spec.py index 63f8f89869..ed805404b0 100644 --- a/kubernetes/test/test_v1beta1_scale_spec.py +++ b/kubernetes/test/test_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_scale_status.py b/kubernetes/test/test_v1beta1_scale_status.py index d10447f174..b835bbb33c 100644 --- a/kubernetes/test/test_v1beta1_scale_status.py +++ b/kubernetes/test/test_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py index c309415582..da7abaac92 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py index 140265c702..ee8a63087a 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py index 36ba0f5b4d..3c21afd2c8 100644 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ b/kubernetes/test/test_v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py index e2f9d09219..c8a4306faa 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ b/kubernetes/test/test_v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py index d1b7cca8d7..6fa6f8de1d 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py index a1b1f12d08..5013055228 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ b/kubernetes/test/test_v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py index fce2c2a5e0..0c04197a3a 100644 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ b/kubernetes/test/test_v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py index 88347c26f2..638bc5673b 100644 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ b/kubernetes/test/test_v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py index 8a3f24c1c6..1c5a274085 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py index f33f3cd5a6..fdd3b72d13 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py index 0d68422c81..d963a17022 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_subresource_reference.py b/kubernetes/test/test_v1beta1_subresource_reference.py index 7e465e35de..4e71c27707 100644 --- a/kubernetes/test/test_v1beta1_subresource_reference.py +++ b/kubernetes/test/test_v1beta1_subresource_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_third_party_resource.py b/kubernetes/test/test_v1beta1_third_party_resource.py index f38f37307f..9c2aa32c5a 100644 --- a/kubernetes/test/test_v1beta1_third_party_resource.py +++ b/kubernetes/test/test_v1beta1_third_party_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_third_party_resource_list.py b/kubernetes/test/test_v1beta1_third_party_resource_list.py index b4e23473b6..58404af0eb 100644 --- a/kubernetes/test/test_v1beta1_third_party_resource_list.py +++ b/kubernetes/test/test_v1beta1_third_party_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py index 9bb6d032aa..dbca1c5d92 100644 --- a/kubernetes/test/test_v1beta1_token_review.py +++ b/kubernetes/test/test_v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py index e5fe597f04..ec4028c0e1 100644 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ b/kubernetes/test/test_v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py index 743f7a226f..7eb14ca637 100644 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ b/kubernetes/test/test_v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py index 0e168364bc..91f3c795a3 100644 --- a/kubernetes/test/test_v1beta1_user_info.py +++ b/kubernetes/test/test_v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py index 36ca9e3329..dd18ed96a4 100644 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ b/kubernetes/test/test_v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py index cc81719af2..5e5a5c0843 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ b/kubernetes/test/test_v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py index acf17204d6..4a0ff00afe 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ b/kubernetes/test/test_v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py index 778541ccac..3ffb7bed15 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ b/kubernetes/test/test_v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job.py b/kubernetes/test/test_v2alpha1_job.py index da758c7eb6..68d6caed06 100644 --- a/kubernetes/test/test_v2alpha1_job.py +++ b/kubernetes/test/test_v2alpha1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job_condition.py b/kubernetes/test/test_v2alpha1_job_condition.py index 8086286466..de66194386 100644 --- a/kubernetes/test/test_v2alpha1_job_condition.py +++ b/kubernetes/test/test_v2alpha1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job_list.py b/kubernetes/test/test_v2alpha1_job_list.py index 6f7f9d0b89..6f5d98fb01 100644 --- a/kubernetes/test/test_v2alpha1_job_list.py +++ b/kubernetes/test/test_v2alpha1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job_spec.py b/kubernetes/test/test_v2alpha1_job_spec.py index 0c597c61de..3312c26a55 100644 --- a/kubernetes/test/test_v2alpha1_job_spec.py +++ b/kubernetes/test/test_v2alpha1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job_status.py b/kubernetes/test/test_v2alpha1_job_status.py index 9002e865a4..cc68aa5737 100644 --- a/kubernetes/test/test_v2alpha1_job_status.py +++ b/kubernetes/test/test_v2alpha1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py index a811d3f6ca..421c0e2144 100644 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ b/kubernetes/test/test_v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py index 2963dded39..54b05977fc 100644 --- a/kubernetes/test/test_version_api.py +++ b/kubernetes/test/test_version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py index c9e7cc1b82..25935bbf85 100644 --- a/kubernetes/test/test_version_info.py +++ b/kubernetes/test/test_version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/kubernetes/test/test_versioned_event.py b/kubernetes/test/test_versioned_event.py index 72df6ab432..50e2cc86e5 100644 --- a/kubernetes/test/test_versioned_event.py +++ b/kubernetes/test/test_versioned_event.py @@ -5,7 +5,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git diff --git a/scripts/swagger.json b/scripts/swagger.json index 8464dcdb1b..f445ce5c92 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Kubernetes", - "version": "v1.5.0-snapshot" + "version": "v1.5.1-660c2a2" }, "paths": { "/api/": { @@ -29171,6 +29171,14 @@ "serverAddressByClientCIDRs" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "name": { "description": "name is the name of the group.", "type": "string" @@ -29201,12 +29209,20 @@ "groups" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "groups": { "description": "groups is a list of APIGroup.", "type": "array", "items": { "$ref": "#/definitions/unversioned.APIGroup" } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" } } }, @@ -29239,10 +29255,18 @@ "resources" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "groupVersion": { "description": "groupVersion is the group and version this APIResourceList is for.", "type": "string" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "resources": { "description": "resources contains the name of the resources and if they are namespaced.", "type": "array", @@ -29259,6 +29283,14 @@ "serverAddressByClientCIDRs" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "serverAddressByClientCIDRs": { "description": "a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP.", "type": "array", @@ -29371,6 +29403,10 @@ "unversioned.Status": { "description": "Status is a return value for calls that don't return other objects.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "code": { "description": "Suggested HTTP return code for this status, 0 if not set.", "type": "integer", @@ -29380,6 +29416,10 @@ "description": "Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.", "$ref": "#/definitions/unversioned.StatusDetails" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "message": { "description": "A human-readable description of the status of this operation.", "type": "string" @@ -29448,6 +29488,31 @@ "type": "string", "format": "date-time" }, + "v1.AWSElasticBlockStoreVolumeSource": { + "description": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "type": "string" + }, + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty).", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "type": "boolean" + }, + "volumeID": { + "description": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "type": "string" + } + } + }, "v1.AttachedVolume": { "description": "AttachedVolume describes a volume attached to a node", "required": [ @@ -29465,12 +29530,70 @@ } } }, + "v1.AzureDiskVolumeSource": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "required": [ + "diskName", + "diskURI" + ], + "properties": { + "cachingMode": { + "description": "Host Caching mode: None, Read Only, Read Write.", + "type": "string" + }, + "diskName": { + "description": "The Name of the data disk in the blob storage", + "type": "string" + }, + "diskURI": { + "description": "The URI the data disk in the blob storage", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + } + } + }, + "v1.AzureFileVolumeSource": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "required": [ + "secretName", + "shareName" + ], + "properties": { + "readOnly": { + "description": "Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretName": { + "description": "the name of secret that contains Azure Storage Account Name and Key", + "type": "string" + }, + "shareName": { + "description": "Share Name", + "type": "string" + } + } + }, "v1.Binding": { "description": "Binding ties one object to another. For example, a pod is bound to a node by a scheduler.", "required": [ "target" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -29500,6 +29623,61 @@ } } }, + "v1.CephFSVolumeSource": { + "description": "Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "monitors" + ], + "properties": { + "monitors": { + "description": "Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "path": { + "description": "Optional: Used as the mounted root, rather than the full Ceph tree, default is /", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "boolean" + }, + "secretFile": { + "description": "Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "user": { + "description": "Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it", + "type": "string" + } + } + }, + "v1.CinderVolumeSource": { + "description": "Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.", + "required": [ + "volumeID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "boolean" + }, + "volumeID": { + "description": "volume id used to identify the volume in cinder More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "type": "string" + } + } + }, "v1.ComponentCondition": { "description": "Information about the condition of a component.", "required": [ @@ -29528,6 +29706,10 @@ "v1.ComponentStatus": { "description": "ComponentStatus (and ComponentStatusList) holds the cluster validation info.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "conditions": { "description": "List of component conditions observed", "type": "array", @@ -29535,6 +29717,10 @@ "$ref": "#/definitions/v1.ComponentCondition" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -29547,6 +29733,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of ComponentStatus objects.", "type": "array", @@ -29554,6 +29744,10 @@ "$ref": "#/definitions/v1.ComponentStatus" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -29563,6 +29757,10 @@ "v1.ConfigMap": { "description": "ConfigMap holds configuration data for pods to consume.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "data": { "description": "Data contains the configuration data. Each key must be a valid DNS_SUBDOMAIN with an optional leading dot.", "type": "object", @@ -29570,6 +29768,10 @@ "type": "string" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -29585,6 +29787,10 @@ "key": { "description": "The key to select.", "type": "string" + }, + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" } } }, @@ -29594,6 +29800,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of ConfigMaps.", "type": "array", @@ -29601,12 +29811,37 @@ "$ref": "#/definitions/v1.ConfigMap" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" } } }, + "v1.ConfigMapVolumeSource": { + "description": "Adapts a ConfigMap into a volume.\n\nThe contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.KeyToPath" + } + }, + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + } + }, "v1.Container": { "description": "A single application container that you want to run within a pod.", "required": [ @@ -29911,11 +30146,19 @@ "v1.DeleteOptions": { "description": "DeleteOptions may be provided when deleting an API object", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "gracePeriodSeconds": { "description": "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.", "type": "integer", "format": "int64" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "orphanDependents": { "description": "Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list.", "type": "boolean" @@ -29926,6 +30169,57 @@ } } }, + "v1.DownwardAPIVolumeFile": { + "description": "DownwardAPIVolumeFile represents information to create the file containing the pod field", + "required": [ + "path" + ], + "properties": { + "fieldRef": { + "description": "Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.", + "$ref": "#/definitions/v1.ObjectFieldSelector" + }, + "mode": { + "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'", + "type": "string" + }, + "resourceFieldRef": { + "description": "Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.", + "$ref": "#/definitions/v1.ResourceFieldSelector" + } + } + }, + "v1.DownwardAPIVolumeSource": { + "description": "DownwardAPIVolumeSource represents a volume containing downward API info. Downward API volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "Items is a list of downward API volume file", + "type": "array", + "items": { + "$ref": "#/definitions/v1.DownwardAPIVolumeFile" + } + } + } + }, + "v1.EmptyDirVolumeSource": { + "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", + "properties": { + "medium": { + "description": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", + "type": "string" + } + } + }, "v1.EndpointAddress": { "description": "EndpointAddress is a tuple that describes single IP address.", "required": [ @@ -30003,6 +30297,14 @@ "subsets" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30022,6 +30324,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of endpoints.", "type": "array", @@ -30029,6 +30335,10 @@ "$ref": "#/definitions/v1.Endpoints" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -30083,6 +30393,10 @@ "involvedObject" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "count": { "description": "The number of times this event has occurred.", "type": "integer", @@ -30096,6 +30410,10 @@ "description": "The object that this event is about.", "$ref": "#/definitions/v1.ObjectReference" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "lastTimestamp": { "description": "The time at which the most recent occurrence of this event was recorded.", "$ref": "#/definitions/unversioned.Time" @@ -30128,6 +30446,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of events", "type": "array", @@ -30135,6 +30457,10 @@ "$ref": "#/definitions/v1.Event" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -30166,6 +30492,145 @@ } } }, + "v1.FCVolumeSource": { + "description": "Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.", + "required": [ + "targetWWNs", + "lun" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "lun": { + "description": "Required: FC target lun number", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "targetWWNs": { + "description": "Required: FC target worldwide names (WWNs)", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "v1.FlexVolumeSource": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "required": [ + "driver" + ], + "properties": { + "driver": { + "description": "Driver is the name of the driver to use for this volume.", + "type": "string" + }, + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". The default filesystem depends on FlexVolume script.", + "type": "string" + }, + "options": { + "description": "Optional: Extra command options if any.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": { + "description": "Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.", + "type": "boolean" + }, + "secretRef": { + "description": "Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.", + "$ref": "#/definitions/v1.LocalObjectReference" + } + } + }, + "v1.FlockerVolumeSource": { + "description": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "properties": { + "datasetName": { + "description": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "type": "string" + }, + "datasetUUID": { + "description": "UUID of the dataset. This is unique identifier of a Flocker dataset", + "type": "string" + } + } + }, + "v1.GCEPersistentDiskVolumeSource": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "required": [ + "pdName" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "type": "string" + }, + "partition": { + "description": "The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as \"1\". Similarly, the volume partition for /dev/sda is \"0\" (or you can leave the property empty). More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "type": "integer", + "format": "int32" + }, + "pdName": { + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "type": "boolean" + } + } + }, + "v1.GitRepoVolumeSource": { + "description": "Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.", + "required": [ + "repository" + ], + "properties": { + "directory": { + "description": "Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.", + "type": "string" + }, + "repository": { + "description": "Repository URL", + "type": "string" + }, + "revision": { + "description": "Commit hash for the specified revision.", + "type": "string" + } + } + }, + "v1.GlusterfsVolumeSource": { + "description": "Represents a Glusterfs mount that lasts the lifetime of a pod. Glusterfs volumes do not support ownership management or SELinux relabeling.", + "required": [ + "endpoints", + "path" + ], + "properties": { + "endpoints": { + "description": "EndpointsName is the endpoint name that details Glusterfs topology. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "path": { + "description": "Path is the Glusterfs volume path. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod", + "type": "boolean" + } + } + }, "v1.HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "required": [ @@ -30234,6 +30699,14 @@ "v1.HorizontalPodAutoscaler": { "description": "configuration of a horizontal pod autoscaler.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30254,6 +30727,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "list of horizontal pod autoscaler objects.", "type": "array", @@ -30261,6 +30738,10 @@ "$ref": "#/definitions/v1.HorizontalPodAutoscaler" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -30328,9 +30809,64 @@ } } }, + "v1.HostPathVolumeSource": { + "description": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", + "required": [ + "path" + ], + "properties": { + "path": { + "description": "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", + "type": "string" + } + } + }, + "v1.ISCSIVolumeSource": { + "description": "Represents an ISCSI disk. ISCSI volumes can only be mounted as read/write once. ISCSI volumes support ownership management and SELinux relabeling.", + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#iscsi", + "type": "string" + }, + "iqn": { + "description": "Target iSCSI Qualified Name.", + "type": "string" + }, + "iscsiInterface": { + "description": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", + "type": "string" + }, + "lun": { + "description": "iSCSI target lun number.", + "type": "integer", + "format": "int32" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "targetPortal": { + "description": "iSCSI target portal. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).", + "type": "string" + } + } + }, "v1.Job": { "description": "Job represents the configuration of a single job.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30384,6 +30920,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Job.", "type": "array", @@ -30391,6 +30931,10 @@ "$ref": "#/definitions/v1.Job" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -30467,6 +31011,28 @@ } } }, + "v1.KeyToPath": { + "description": "Maps a string key to a path within a volume.", + "required": [ + "key", + "path" + ], + "properties": { + "key": { + "description": "The key to project.", + "type": "string" + }, + "mode": { + "description": "Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "path": { + "description": "The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.", + "type": "string" + } + } + }, "v1.Lifecycle": { "description": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", "properties": { @@ -30483,6 +31049,14 @@ "v1.LimitRange": { "description": "LimitRange sets resource usage limits for each kind of resource in a Namespace.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30543,6 +31117,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of LimitRange objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_limit_range.md", "type": "array", @@ -30550,6 +31128,10 @@ "$ref": "#/definitions/v1.LimitRange" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -30605,9 +31187,38 @@ } } }, + "v1.NFSVolumeSource": { + "description": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", + "required": [ + "server", + "path" + ], + "properties": { + "path": { + "description": "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "type": "boolean" + }, + "server": { + "description": "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "type": "string" + } + } + }, "v1.Namespace": { "description": "Namespace provides a scope for Names. Use of multiple namespaces is optional.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30628,6 +31239,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces", "type": "array", @@ -30635,6 +31250,10 @@ "$ref": "#/definitions/v1.Namespace" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -30665,6 +31284,14 @@ "v1.Node": { "description": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -30744,6 +31371,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of nodes", "type": "array", @@ -30751,6 +31382,10 @@ "$ref": "#/definitions/v1.Node" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31063,6 +31698,14 @@ "v1.PersistentVolume": { "description": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31080,6 +31723,14 @@ "v1.PersistentVolumeClaim": { "description": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31100,6 +31751,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", "type": "array", @@ -31107,6 +31762,10 @@ "$ref": "#/definitions/v1.PersistentVolumeClaim" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31160,12 +31819,32 @@ } } }, + "v1.PersistentVolumeClaimVolumeSource": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "required": [ + "claimName" + ], + "properties": { + "claimName": { + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + } + }, "v1.PersistentVolumeList": { "description": "PersistentVolumeList is a list of PersistentVolume items.", "required": [ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", "type": "array", @@ -31173,6 +31852,10 @@ "$ref": "#/definitions/v1.PersistentVolume" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31189,6 +31872,18 @@ "type": "string" } }, + "awsElasticBlockStore": { + "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureFileVolumeSource" + }, "capacity": { "description": "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity", "type": "object", @@ -31196,13 +31891,69 @@ "$ref": "#/definitions/resource.Quantity" } }, + "cephfs": { + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.CephFSVolumeSource" + }, + "cinder": { + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "$ref": "#/definitions/v1.CinderVolumeSource" + }, "claimRef": { "description": "ClaimRef is part of a bi-directional binding between PersistentVolume and PersistentVolumeClaim. Expected to be non-nil when bound. claim.VolumeName is the authoritative bind between PV and PVC. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding", "$ref": "#/definitions/v1.ObjectReference" }, + "fc": { + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/v1.FCVolumeSource" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "$ref": "#/definitions/v1.FlexVolumeSource" + }, + "flocker": { + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine and exposed to the pod for its usage. This depends on the Flocker control service being running", + "$ref": "#/definitions/v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" + }, + "glusterfs": { + "description": "Glusterfs represents a Glusterfs volume that is attached to a host and exposed to the pod. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", + "$ref": "#/definitions/v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "HostPath represents a directory on the host. Provisioned by a developer or tester. This is useful for single-node development and testing only! On-host storage is not supported in any way and WILL NOT WORK in a multi-node cluster. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", + "$ref": "#/definitions/v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. Provisioned by an admin.", + "$ref": "#/definitions/v1.ISCSIVolumeSource" + }, + "nfs": { + "description": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "$ref": "#/definitions/v1.NFSVolumeSource" + }, "persistentVolumeReclaimPolicy": { "description": "What happens to a persistent volume when released from its claim. Valid options are Retain (default) and Recycle. Recycling must be supported by the volume plugin underlying this persistent volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy", "type": "string" + }, + "photonPersistentDisk": { + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" + }, + "quobyte": { + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", + "$ref": "#/definitions/v1.RBDVolumeSource" + }, + "vsphereVolume": { + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" } } }, @@ -31223,9 +31974,33 @@ } } }, + "v1.PhotonPersistentDiskVolumeSource": { + "description": "Represents a Photon Controller persistent disk resource.", + "required": [ + "pdID" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "pdID": { + "description": "ID that identifies Photon Controller persistent disk", + "type": "string" + } + } + }, "v1.Pod": { "description": "Pod is a collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31279,6 +32054,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of pods. More info: http://kubernetes.io/docs/user-guide/pods", "type": "array", @@ -31286,6 +32065,10 @@ "$ref": "#/definitions/v1.Pod" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31459,6 +32242,14 @@ "v1.PodTemplate": { "description": "PodTemplate describes a template for creating copies of a predefined pod.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31475,6 +32266,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of pod templates", "type": "array", @@ -31482,6 +32277,10 @@ "$ref": "#/definitions/v1.PodTemplate" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31513,11 +32312,19 @@ "v1.Probe": { "description": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", "properties": { + "exec": { + "description": "One and only one of the following should be specified. Exec specifies the action to take.", + "$ref": "#/definitions/v1.ExecAction" + }, "failureThreshold": { "description": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", "type": "integer", "format": "int32" }, + "httpGet": { + "description": "HTTPGet specifies the http request to perform.", + "$ref": "#/definitions/v1.HTTPGetAction" + }, "initialDelaySeconds": { "description": "Number of seconds after the container has started before liveness probes are initiated. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", "type": "integer", @@ -31533,6 +32340,10 @@ "type": "integer", "format": "int32" }, + "tcpSocket": { + "description": "TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported", + "$ref": "#/definitions/v1.TCPSocketAction" + }, "timeoutSeconds": { "description": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes", "type": "integer", @@ -31540,9 +32351,90 @@ } } }, + "v1.QuobyteVolumeSource": { + "description": "Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.", + "required": [ + "registry", + "volume" + ], + "properties": { + "group": { + "description": "Group to map volume access to Default is no group", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.", + "type": "boolean" + }, + "registry": { + "description": "Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes", + "type": "string" + }, + "user": { + "description": "User to map volume access to Defaults to serivceaccount user", + "type": "string" + }, + "volume": { + "description": "Volume is a string that references an already created Quobyte volume by name.", + "type": "string" + } + } + }, + "v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "required": [ + "monitors", + "image" + ], + "properties": { + "fsType": { + "description": "Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified. More info: http://kubernetes.io/docs/user-guide/volumes#rbd", + "type": "string" + }, + "image": { + "description": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "array", + "items": { + "type": "string" + } + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "$ref": "#/definitions/v1.LocalObjectReference" + }, + "user": { + "description": "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", + "type": "string" + } + } + }, "v1.ReplicationController": { "description": "ReplicationController represents the configuration of a replication controller.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31592,6 +32484,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller", "type": "array", @@ -31599,6 +32495,10 @@ "$ref": "#/definitions/v1.ReplicationController" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31694,6 +32594,14 @@ "v1.ResourceQuota": { "description": "ResourceQuota sets aggregate quota restrictions enforced per namespace", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31714,6 +32622,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of ResourceQuota objects. More info: http://releases.k8s.io/HEAD/docs/design/admission_control_resource_quota.md#admissioncontrol-plugin-resourcequota", "type": "array", @@ -31721,6 +32633,10 @@ "$ref": "#/definitions/v1.ResourceQuota" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -31808,6 +32724,14 @@ "v1.Scale": { "description": "Scale represents a scaling request for a resource.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -31852,6 +32776,10 @@ "v1.Secret": { "description": "Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "data": { "description": "Data contains the secret data. Each key must be a valid DNS_SUBDOMAIN or leading dot followed by valid DNS_SUBDOMAIN. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4", "type": "object", @@ -31860,6 +32788,10 @@ "format": "byte" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31886,6 +32818,10 @@ "key": { "description": "The key of the secret to select from. Must be a valid secret key.", "type": "string" + }, + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" } } }, @@ -31895,6 +32831,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets", "type": "array", @@ -31902,12 +32842,37 @@ "$ref": "#/definitions/v1.Secret" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" } } }, + "v1.SecretVolumeSource": { + "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", + "properties": { + "defaultMode": { + "description": "Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.", + "type": "integer", + "format": "int32" + }, + "items": { + "description": "If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error. Paths must be relative and may not contain the '..' path or start with '..'.", + "type": "array", + "items": { + "$ref": "#/definitions/v1.KeyToPath" + } + }, + "secretName": { + "description": "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", + "type": "string" + } + } + }, "v1.SecurityContext": { "description": "SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.", "properties": { @@ -31941,6 +32906,14 @@ "v1.Service": { "description": "Service is a named abstraction of software service (for example, mysql) consisting of local port (for example 3306) that the proxy listens on, and the selector that determines which pods will answer requests sent through the proxy.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31958,6 +32931,10 @@ "v1.ServiceAccount": { "description": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "imagePullSecrets": { "description": "ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret", "type": "array", @@ -31965,6 +32942,10 @@ "$ref": "#/definitions/v1.LocalObjectReference" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -31984,6 +32965,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of ServiceAccounts. More info: http://releases.k8s.io/HEAD/docs/design/service_accounts.md#service-accounts", "type": "array", @@ -31991,6 +32976,10 @@ "$ref": "#/definitions/v1.ServiceAccount" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -32003,6 +32992,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of services", "type": "array", @@ -32010,6 +33003,10 @@ "$ref": "#/definitions/v1.Service" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -32136,9 +33133,101 @@ "name" ], "properties": { + "awsElasticBlockStore": { + "description": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "$ref": "#/definitions/v1.AWSElasticBlockStoreVolumeSource" + }, + "azureDisk": { + "description": "AzureDisk represents an Azure Data Disk mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureDiskVolumeSource" + }, + "azureFile": { + "description": "AzureFile represents an Azure File Service mount on the host and bind mount to the pod.", + "$ref": "#/definitions/v1.AzureFileVolumeSource" + }, + "cephfs": { + "description": "CephFS represents a Ceph FS mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.CephFSVolumeSource" + }, + "cinder": { + "description": "Cinder represents a cinder volume attached and mounted on kubelets host machine More info: http://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md", + "$ref": "#/definitions/v1.CinderVolumeSource" + }, + "configMap": { + "description": "ConfigMap represents a configMap that should populate this volume", + "$ref": "#/definitions/v1.ConfigMapVolumeSource" + }, + "downwardAPI": { + "description": "DownwardAPI represents downward API about the pod that should populate this volume", + "$ref": "#/definitions/v1.DownwardAPIVolumeSource" + }, + "emptyDir": { + "description": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", + "$ref": "#/definitions/v1.EmptyDirVolumeSource" + }, + "fc": { + "description": "FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.", + "$ref": "#/definitions/v1.FCVolumeSource" + }, + "flexVolume": { + "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin. This is an alpha feature and may change in future.", + "$ref": "#/definitions/v1.FlexVolumeSource" + }, + "flocker": { + "description": "Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running", + "$ref": "#/definitions/v1.FlockerVolumeSource" + }, + "gcePersistentDisk": { + "description": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "$ref": "#/definitions/v1.GCEPersistentDiskVolumeSource" + }, + "gitRepo": { + "description": "GitRepo represents a git repository at a particular revision.", + "$ref": "#/definitions/v1.GitRepoVolumeSource" + }, + "glusterfs": { + "description": "Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md", + "$ref": "#/definitions/v1.GlusterfsVolumeSource" + }, + "hostPath": { + "description": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", + "$ref": "#/definitions/v1.HostPathVolumeSource" + }, + "iscsi": { + "description": "ISCSI represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md", + "$ref": "#/definitions/v1.ISCSIVolumeSource" + }, "name": { "description": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "type": "string" + }, + "nfs": { + "description": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "$ref": "#/definitions/v1.NFSVolumeSource" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", + "$ref": "#/definitions/v1.PersistentVolumeClaimVolumeSource" + }, + "photonPersistentDisk": { + "description": "PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.PhotonPersistentDiskVolumeSource" + }, + "quobyte": { + "description": "Quobyte represents a Quobyte mount on the host that shares a pod's lifetime", + "$ref": "#/definitions/v1.QuobyteVolumeSource" + }, + "rbd": { + "description": "RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md", + "$ref": "#/definitions/v1.RBDVolumeSource" + }, + "secret": { + "description": "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", + "$ref": "#/definitions/v1.SecretVolumeSource" + }, + "vsphereVolume": { + "description": "VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine", + "$ref": "#/definitions/v1.VsphereVirtualDiskVolumeSource" } } }, @@ -32167,9 +33256,33 @@ } } }, + "v1.VsphereVirtualDiskVolumeSource": { + "description": "Represents a vSphere volume resource.", + "required": [ + "volumePath" + ], + "properties": { + "fsType": { + "description": "Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. \"ext4\", \"xfs\", \"ntfs\". Implicitly inferred to be \"ext4\" if unspecified.", + "type": "string" + }, + "volumePath": { + "description": "Path that identifies vSphere volume vmdk", + "type": "string" + } + } + }, "v1alpha1.CertificateSigningRequest": { "description": "Describes a certificate signing request", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -32211,12 +33324,20 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "type": "array", "items": { "$ref": "#/definitions/v1alpha1.CertificateSigningRequest" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/unversioned.ListMeta" } @@ -32270,6 +33391,14 @@ "rules" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -32290,6 +33419,14 @@ "roleRef" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -32313,6 +33450,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of ClusterRoleBindings", "type": "array", @@ -32320,6 +33461,10 @@ "$ref": "#/definitions/v1alpha1.ClusterRoleBinding" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32332,6 +33477,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of ClusterRoles", "type": "array", @@ -32339,6 +33488,10 @@ "$ref": "#/definitions/v1alpha1.ClusterRole" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32398,6 +33551,14 @@ "rules" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -32418,6 +33579,14 @@ "roleRef" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -32441,6 +33610,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of RoleBindings", "type": "array", @@ -32448,6 +33621,10 @@ "$ref": "#/definitions/v1alpha1.RoleBinding" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32460,6 +33637,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of Roles", "type": "array", @@ -32467,6 +33648,10 @@ "$ref": "#/definitions/v1alpha1.Role" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32544,6 +33729,14 @@ "v1beta1.DaemonSet": { "description": "DaemonSet represents the configuration of a daemon set.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -32564,6 +33757,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of daemon sets.", "type": "array", @@ -32571,6 +33768,10 @@ "$ref": "#/definitions/v1beta1.DaemonSet" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -32627,6 +33828,14 @@ "v1beta1.Deployment": { "description": "Deployment enables declarative updates for Pods and ReplicaSets.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -32680,6 +33889,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Deployments.", "type": "array", @@ -32687,6 +33900,10 @@ "$ref": "#/definitions/v1beta1.Deployment" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32700,6 +33917,14 @@ "rollbackTo" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "name": { "description": "Required: This must match the Name of a deployment.", "type": "string" @@ -32818,19 +34043,66 @@ "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//evictions.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "deleteOptions": { "description": "DeleteOptions may be provided", "$ref": "#/definitions/v1.DeleteOptions" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "ObjectMeta describes the pod that is being evicted.", "$ref": "#/definitions/v1.ObjectMeta" } } }, + "v1beta1.HTTPIngressPath": { + "description": "HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.", + "required": [ + "backend" + ], + "properties": { + "backend": { + "description": "Backend defines the referenced service endpoint to which the traffic will be forwarded to.", + "$ref": "#/definitions/v1beta1.IngressBackend" + }, + "path": { + "description": "Path is an extended POSIX regex as defined by IEEE Std 1003.1, (i.e this follows the egrep/unix syntax, not the perl syntax) matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional \"path\" part of a URL as defined by RFC 3986. Paths must begin with a '/'. If unspecified, the path defaults to a catch all sending traffic to the backend.", + "type": "string" + } + } + }, + "v1beta1.HTTPIngressRuleValue": { + "description": "HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http:///? -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.", + "required": [ + "paths" + ], + "properties": { + "paths": { + "description": "A collection of paths that map requests to backends.", + "type": "array", + "items": { + "$ref": "#/definitions/v1beta1.HTTPIngressPath" + } + } + } + }, "v1beta1.HorizontalPodAutoscaler": { "description": "configuration of a horizontal pod autoscaler.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -32851,6 +34123,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "list of horizontal pod autoscaler objects.", "type": "array", @@ -32858,6 +34134,10 @@ "$ref": "#/definitions/v1beta1.HorizontalPodAutoscaler" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -32927,6 +34207,14 @@ "v1beta1.Ingress": { "description": "Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -32964,6 +34252,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Ingress.", "type": "array", @@ -32971,6 +34263,10 @@ "$ref": "#/definitions/v1beta1.Ingress" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -32983,6 +34279,9 @@ "host": { "description": "Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the \"host\" part of the URI as defined in the RFC: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to the\n\t IP in the Spec of the parent Ingress.\n2. The `:` delimiter is not respected because ports are not allowed.\n\t Currently the port of an Ingress is implicitly :80 for http and\n\t :443 for https.\nBoth these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.", "type": "string" + }, + "http": { + "$ref": "#/definitions/v1beta1.HTTPIngressRuleValue" } } }, @@ -33037,6 +34336,14 @@ "v1beta1.Job": { "description": "Job represents the configuration of a single job. DEPRECATED: extensions/v1beta1.Job is deprecated, use batch/v1.Job instead.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -33090,6 +34397,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Job.", "type": "array", @@ -33097,6 +34408,10 @@ "$ref": "#/definitions/v1beta1.Job" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -33179,6 +34494,14 @@ "spec" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33194,6 +34517,14 @@ }, "v1beta1.NetworkPolicy": { "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -33229,6 +34560,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is a list of schema objects.", "type": "array", @@ -33236,6 +34571,10 @@ "$ref": "#/definitions/v1beta1.NetworkPolicy" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -33300,6 +34639,14 @@ "v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33319,12 +34666,20 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "type": "array", "items": { "$ref": "#/definitions/v1beta1.PodDisruptionBudget" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/unversioned.ListMeta" } @@ -33390,6 +34745,14 @@ "v1beta1.ReplicaSet": { "description": "ReplicaSet represents the configuration of a ReplicaSet.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -33439,6 +34802,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller", "type": "array", @@ -33446,6 +34813,10 @@ "$ref": "#/definitions/v1beta1.ReplicaSet" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", "$ref": "#/definitions/unversioned.ListMeta" @@ -33573,6 +34944,14 @@ "v1beta1.Scale": { "description": "represents a scaling request for a resource.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata.", "$ref": "#/definitions/v1.ObjectMeta" @@ -33627,6 +35006,14 @@ "spec" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33656,6 +35043,14 @@ "v1beta1.StatefulSet": { "description": "StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33675,12 +35070,20 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "type": "array", "items": { "$ref": "#/definitions/v1beta1.StatefulSet" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/unversioned.ListMeta" } @@ -33743,6 +35146,14 @@ "provisioner" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -33766,6 +35177,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of StorageClasses", "type": "array", @@ -33773,6 +35188,10 @@ "$ref": "#/definitions/v1beta1.StorageClass" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -33785,6 +35204,14 @@ "spec" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33876,10 +35303,18 @@ "v1beta1.ThirdPartyResource": { "description": "A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource types to the API. It consists of one or more Versions of the api.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "description": { "description": "Description is the description of this object.", "type": "string" }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -33899,6 +35334,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of ThirdPartyResources.", "type": "array", @@ -33906,6 +35345,10 @@ "$ref": "#/definitions/v1beta1.ThirdPartyResource" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata.", "$ref": "#/definitions/unversioned.ListMeta" @@ -33918,6 +35361,14 @@ "spec" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "$ref": "#/definitions/v1.ObjectMeta" }, @@ -33990,6 +35441,14 @@ "v2alpha1.CronJob": { "description": "CronJob represents the configuration of a single cron job.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -34010,6 +35469,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of CronJob.", "type": "array", @@ -34017,6 +35480,10 @@ "$ref": "#/definitions/v2alpha1.CronJob" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" @@ -34072,6 +35539,14 @@ "v2alpha1.Job": { "description": "Job represents the configuration of a single job.", "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/v1.ObjectMeta" @@ -34125,6 +35600,10 @@ "items" ], "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources", + "type": "string" + }, "items": { "description": "Items is the list of Job.", "type": "array", @@ -34132,6 +35611,10 @@ "$ref": "#/definitions/v2alpha1.Job" } }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", + "type": "string" + }, "metadata": { "description": "Standard list metadata More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "$ref": "#/definitions/unversioned.ListMeta" diff --git a/setup.py b/setup.py index cb9e630346..dd9cd1017a 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ # by scripts/update-client.sh. CLIENT_VERSION = "1.0.0-snapshot" PACKAGE_NAME = "kubernetes" -DEVELOPMENT_STATUS = "snapshot" +DEVELOPMENT_STATUS = "3 - Alpha" # To install the library, run the following #